Services routines for Item by warehouse |
|
Gets the column length for itemcode. Gets the QuantityAvailableToInclude parameter. |
| LOCAL cMainTable$="IM_ItemWarehouse" |
[constant, string] Used by service object. Sets the main table name that will be opened on cFH |
| LOCAL cIsSysDB |
[constant, boolean] Used by service object. Set to false because this is not a system database |
| FUNCTION AdjustQuantity(item$, whse$, record$, iolist$) | ||||||||||
Checks to see if item exists in other warehouses than that passed in | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION CalcQuantityAvailable(item$, whse$) | ||||||||||
Calculates an item's quantity available for a given warehouse | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION CalcQuantityOnHand(itemCode$) | ||||||||||
Calculates an item's quantity on hand from the qtys in all warehouses. | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION CheckAlternateWarehouses(item$, whse$) | ||||||||||
Checks to see if item exists in other warehouses than that passed in | ||||||||||
| ||||||||||
| ||||||||||
| FUNCTION CheckNonDefaultQuantities() | ||||||||||
Checks to see if there are any quantities belonging to any warehouses other than '000'. | ||||||||||
|
|
BOF, CurrentBrowseIndex$, CurrentIndex$, EOF, SecurityAccess |
|
BindVariable(), CheckMainTable(), Clear(), Find(), FindById(), GetChildHandle(), GetChildKeyReference$(), GetColumns$(), GetDataSources$(), GetDataSourcesAddl$(), GetJson$(), GetKey$(), GetKeyColumns$(), GetKeyPadded$(), GetPartialRecord(), GetRecord(), GetRecordCount(), GetRecordEx(), GetResultSets(), GetTable$(), GetTablePath$(), GetValue(), GetValues(), IsValid(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ReadAdditional(), SetBrowseFilter(), SetBrowseIndex(), SetCacheMode(), SetIndex(), SetKeyValue(), SetParentColumns(), SetParentHandle(), SetUIHandle(), PERFORM ClearEditRcd(), FormatJson$(), GetAddlDataSources(), GetDateColumns$(), InitChildCollection(), MoveFirstLast(), MoveNextPrevious(), OpenMainTable(), ParseKeyDef(), PrepareKeyDef(), ReadRec(), ResolveColumnList$(), SetControls(), SetCurrentKey(), UseKeyColl() |
|