Share via


ReqItemJournalCreate.calcAvgDemandPerMonth Method [AX 2012]

Calculates the average demand per month.

Syntax

protected InventQty calcAvgDemandPerMonth([Map _mapDemandPerMonth, InventQty _demandTotal])

Run On

Called

Parameters

  • _mapDemandPerMonth
    Type: Map Class
    A map that contains demand per month; optional.

Return Value

Type: InventQty Extended Data Type
The average demand per month based on the period.

Remarks

This method calculates the average demand per month. The calculation requires either a map that contains the demand per month, or the total demand for the whole period.

See Also

Reference

ReqItemJournalCreate Class