ReqDemPlanImportForecastService.insertDemandForecast Method [AX 2012]
Inserts demand forecast records, based on the given parameters.
Syntax
private void insertDemandForecast(
ForecastModelId _forecastModelId,
ReqDemPlanForecast _forecast,
InventDim _inventDim,
Qty _inventQty,
Qty _salesQty,
UnitOfMeasureSymbol _salesUnitId)
Run On
Server
Parameters
- _forecastModelId
Type: ForecastModelId Extended Data Type
The ID of the forecast model.
- _forecast
Type: ReqDemPlanForecast Table
- _inventDim
Type: InventDim Table
The dimension values of the demand.
- _inventQty
Type: Qty Extended Data Type
The quantity of the demand, in the inventory unit of measure.
- _salesQty
Type: Qty Extended Data Type
The quantity of the demand, in the sales unit of measure.
- _salesUnitId
Type: UnitOfMeasureSymbol Extended Data Type
The symbol of the sales unit of measure for the item.