ReqItemJournalCreate.calcDemandPerMonth Method [AX 2012]

Calculates a map that contains the demand per month.

protected Map calcDemandPerMonth(
    TransDate _fromDate, 
    TransDate _toDate, 
    ItemId _itemId, 
    InventDim _inventDim)

Run On

Called

Parameters

_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.
_itemId
Type: ItemId Extended Data Type
The item number for which the calculation is performed.
_inventDim
Type: InventDim Table
An inventDim record that holds the inventory dimensions for which the calculation is performed.

Return Value

Type: Map Class
A map that contains the first date in the month and the demand for the month.

The map will serve as input in other methods.

Community Additions

ADD
Show: