Share via


ReqForecastReduce.mapPeriodInsertPerCustomer Method [AX 2012]

Inserts reduction periods in the map that contains reduction periods for every customer and customer group based on the forecasts in the reduction period.

Syntax

protected void mapPeriodInsertPerCustomer(
    TransDate _fromDate, 
    TransDate _toDate, 
    real _value, 
    ForecastTableType _forecastType, 
    ReqTransCache _reqTransCache, 
    ReqSetupDim _setupDim)

Run On

Called

Parameters

  • _value
    Type: real
    A real value that contains the reduction value (can be a quantity or percentage depending on the reductio principle).
  • _forecastType
    Type: ForecastTableType Enumeration
    An enumeration value of type ForecastTableType that determines if the forecast reduction is regarding a demand forecast or a supply forecast.
  • _reqTransCache
    Type: ReqTransCache Class
    A ReqTransCache object that contains cached master planning transactions.
  • _setupDim
    Type: ReqSetupDim Class
    A ReqSetupDim object that contains coverage settings for a specific item ID and inventory dimensions.

See Also

Reference

ReqForecastReduce Class