Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the beginning amounts for a given item and date.
Syntax
server protected static InventCostAmountHandler getBeginningAmounts(
ItemId _itemId,
InventDimId _inventDimId,
InventSiteId _inventSiteId,
InventClosing _inventClosing,
[InventCostTransSum _inventCostTransSum])
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
- _inventDimId
Type: InventDimId Extended Data Type
- _inventSiteId
Type: InventSiteId Extended Data Type
- _inventClosing
Type: InventClosing Table
- _inventCostTransSum
Type: InventCostTransSum Table
Return Value
Type: InventCostAmountHandler Class
The beginning amounts for the given item and date.
Remarks
The inventory closing record prior to the given date is used to get the relevant InventCostTransSum value.
The quantities in InventCostTransSum are distributed according to the cost group rollup that is activated on the date the InventCostTransSum record was written. After the InventCostTransSum amounts and quantities have been found and calculated, the InventCostTrans records between the date of the InventCostTransSum record and the given fromDate are found and added to the amounts.