SalesATPCalculation.calculatePlannedOrders Method [AX 2012]
Calculates the total quantity of all planned demand orders and the total quantity of all planned supply orders for every record in a SalesTmpATP table.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
protected void calculatePlannedOrders(
SalesTmpATP _salesTmpATP,
InventTransId _inventTransId,
InventDim _inventDimCriteria,
InventDimParm _inventDimParm)
Microsoft Dynamics AX 2012 R2 (SYS)
protected void calculatePlannedOrders(
SalesTmpATP _salesTmpATP,
InventTransId _inventTransId,
InventDim _inventDimCriteria,
InventDimParm _inventDimParm)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
protected void calculatePlannedOrders(
SalesTmpATP _salesTmpATP,
InventTransId _inventTransId,
InventDim _inventDim,
InventDim _inventDimCriteria,
InventDimParm _inventDimParm)
Microsoft Dynamics AX 2012 (FPK)
protected void calculatePlannedOrders(
SalesTmpATP _salesTmpATP,
InventTransId _inventTransId,
InventDim _inventDim,
InventDim _inventDimCriteria,
InventDimParm _inventDimParm)
Microsoft Dynamics AX 2012 (SYS)
protected void calculatePlannedOrders(
SalesTmpATP _salesTmpATP,
InventTransId _inventTransId,
InventDim _inventDim,
InventDim _inventDimCriteria,
InventDimParm _inventDimParm)
Run On
Server
Parameters
- _salesTmpATP
Type: SalesTmpATP Table
A record for which planned demand and supply quantities will be calculated.
- _inventTransId
Type: InventTransId Extended Data Type
A transaction which is excluded from calculation.
- _inventDimCriteria
Type: InventDim Table
The inventory dimensions criteria that is used to calculate the planned demand and supply quantities.
- _inventDimParm
Type: InventDimParm Table
The inventory dimension parameters that are used to calculate the planned demand and supply quantities.
Remarks
This method should be typically called if planned orders have to be included into calculation according to ATP parameters.