SalesATPCalculationShelfLife.currentOnHand Method [AX 2012]
Retrieves the current on-hand level for the specified item on the specified dimensions.
Syntax
protected InventQtyPhysicalOnhand currentOnHand(
ItemId _itemId,
InventDim _inventDimCriteria,
InventDimParm _inventDimParm,
date _atpEndDate)
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
An item ID.
- _inventDimCriteria
Type: InventDim Table
An InventDim table buffer that specifies inventory dimension values for the filter criteria.
- _inventDimParm
Type: InventDimParm Table
An InventDimParm table buffer that specifies which inventory dimensions are used in the filter criteria.
- _atpEndDate
Type: date
The last date of the ATP calculation.
Return Value
Type: InventQtyPhysicalOnhand Extended Data Type
The current on-hand level for the specified item on the specified dimensions.