Share via


ReqItemJournalCreate.calcDemandPeriod Method [AX 2012]

Calculates demand for a period.

Syntax

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

Run On

Called

Parameters

  • _inventDimCov
    Type: InventDim Table
    An inventDim record that holds the inventory coverage dimensions for which the calculation is performed.

Return Value

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

Remarks

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.

See Also

Reference

ReqItemJournalCreate Class