SalesATPCalculation.calculateOrders Method [AX 2012]

Calculates the total quantity of all demand orders and the total quantity of all supply orders for every record in the _salesTmpATP table buffer.

NoteNote

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 calculateOrders(
            SalesTmpATP _salesTmpATP, 
            InventTransId _inventTransId, 
            InventDim _inventDimCriteria, 
            InventDimParm _inventDimParm)

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void calculateOrders(
            SalesTmpATP _salesTmpATP, 
            InventTransId _inventTransId, 
            InventDim _inventDimCriteria, 
            InventDimParm _inventDimParm)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void calculateOrders(
            SalesTmpATP _salesTmpATP, 
            InventTransId _inventTransId, 
            InventDim _inventDim, 
            InventDim _inventDimCriteria, 
            InventDimParm _inventDimParm)

  Microsoft Dynamics AX 2012 (FPK)
          protected void calculateOrders(
            SalesTmpATP _salesTmpATP, 
            InventTransId _inventTransId, 
            InventDim _inventDim, 
            InventDim _inventDimCriteria, 
            InventDimParm _inventDimParm)

  Microsoft Dynamics AX 2012 (SYS)
          protected void calculateOrders(
            SalesTmpATP _salesTmpATP, 
            InventTransId _inventTransId, 
            InventDim _inventDim, 
            InventDim _inventDimCriteria, 
            InventDimParm _inventDimParm)

Run On

Server

Parameters

_salesTmpATP
Type: SalesTmpATP Table
A table buffer for which demand and supply quantities are calculated.
_inventTransId
Type: InventTransId Extended Data Type
A transaction that is excluded from calculation. This is typically a transaction from which ATP calculation process is initiated. It is not required to include the initiating transaction into demand or supply quantity.
_inventDimCriteria
Type: InventDim Table
The inventory dimension criteria that are used to calculate demand and supply quantities.
_inventDimParm
Type: InventDimParm Table
The inventory dimension parameters that are used to calculate demand and supply quantities.
Show: