SalesATPCalculation.processPlannedSupply Method [AX 2012]

Iterates through all the planned supply transactions that can affect the ATP calculation.

protected void processPlannedSupply(
    SalesTmpATP _salesTmpATP, 
    ItemId _itemId, 
    ReqPlanVersionRefRecId _reqPlanVersionRefRecId, 
    date _atpEndDate, 
    date _plannedSupplyStartDate, 
    date _atpDateForPastSupply, 
    InventTransOriginId _inventTransOriginId, 
    InventDim _inventDimCriteria, 
    InventDimParm _inventDimParm)

Run On

Server

Parameters

_salesTmpATP
Type: SalesTmpATP Table
A SalesTmpATP table buffer.
_itemId
Type: ItemId Extended Data Type
An item ID.
_reqPlanVersionRefRecId
Type: ReqPlanVersionRefRecId Extended Data Type
A master plan ID.
_atpEndDate
Type: date
The last date of the ATP calculation.
_plannedSupplyStartDate
Type: date
The first date of planned supply consideration.
_atpDateForPastSupply
Type: date
The expected date of overdue supply.
_inventTransOriginId
Type: InventTransOriginId Extended Data Type
An inventory transaction originator 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.
Show: