Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Calculates demand for a period.
Syntax
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.
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.