ReqForecastAggregate.reduceReqTransQty Method [AX 2012]

Reduces the quantity of the ReqTrans table record, based on the aggregated value from the mapPeriod object.

protected void reduceReqTransQty(
    ReqTrans _reqTrans, 
    Map _mapPeriod, 
    ReqPlanData _reqPlanData, 
    boolean _forCustomerGroup, 
   [boolean _validateOnly])

Run On

Called

Parameters

_reqTrans
Type: ReqTrans Table
The ReqTrans object for which the quantity will be updated.
_mapPeriod
Type: Map Class
A Map object that contains aggregated value that should be subtracted from the ReqTrans table record.
_reqPlanData
Type: ReqPlanData Class
A ReqPlanData object that contains master planning run data.
_forCustomerGroup
Type: boolean
A Boolean value: true if the subtracted value should be taken for the customer group; false if the subtracted value should be taken for the overall forecast.
_validateOnly
Type: boolean
A Boolean value that specifies whether validation of the aggregated forecast's quantities should be performed without persisting aggregated values in the database.

Community Additions

ADD
Show: