ReqItemJournalCreate.calcDemandPeriod Method [AX 2012]

Calculates demand for a period.

protected InventQty calcDemandPeriod(
    ItemId _itemId, 
    InventDim _inventDimCov, 
    TransDate _fromDate, 
    TransDate _toDate)

Run On

Called

Parameters

_itemId
Type: ItemId Extended Data Type
The item number for which the calculation is performed.
_inventDimCov
Type: InventDim Table
An inventDim record that holds the inventory coverage dimensions for which the calculation is performed.
_fromDate
Type: TransDate Extended Data Type
The first date in the calculation period.
_toDate
Type: TransDate Extended Data Type
The last date in the calculation period.

Return Value

Type: InventQty Extended Data Type
The summarized demand during the specified period and for the specified item number and inventory dimensions.

Demand is calculated as issues in the specified period. Not all issues should be included in the calculation.

Issues that have a corresponding receipt on the same coverage dimension should not be included.

Community Additions

ADD
Show: