SalesATPCalculation::newItemCalculation Method [AX 2012]
Creates an instance of the SalesATPCalculation class to calculate the ATP with the item-specific settings.
Syntax
server public static SalesATPCalculation newItemCalculation(ItemId _itemId, InventDimId _inventDimId)
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
The ID of the item for which to calculate the ATP.
- _inventDimId
Type: InventDimId Extended Data Type
The inventory dimensions of the item for which to calculate the ATP.
Return Value
Type: SalesATPCalculation Class
The instance of the SalesATPCalculation class.