ReqForecastReduce Class [AX 2012]
The ReqForecastReduce class handles reduction of demand or supply forecast.
Syntax
class ReqForecastReduce
Run On
Called
Methods
Method | Description | |
---|---|---|
calcForecastQty | Calculates a new forecast quantity for a requirement forecast line. | |
calcNewReqQty | Calculates a new forecast quantity. | |
calcNewReqQtyFromQty | Calculates a new forecast quantity by deduct the original forecast quantity with the specified quantity. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
findReducePeriod | Finds the total time period in which forecast should be reduced. | |
getMapPeriodKey | Returns mapPeriod key. | |
getReqDateFromMapPeriodKey | Returns ReqDate extracted from map key. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
init | Initializes the object. | |
mapPeriodCreate | Builds a map that contains the reduction periods and reduction values. | |
mapPeriodCreateSetKey | Sets the key element in the map that contains the reduction periods. | |
mapPeriodCreateSetKeyFromReduceKey | Sets the key element in the map that contains the reduction periods from the reduction key. | |
mapPeriodCreateSetValue | Sets the value element in the map that contains the reduction periods. | |
mapPeriodCreateSetValueExpectedQty | Sets the key element in the map that contains the reduction periods with expected quantities. | |
mapPeriodInsert | Inserts reduction periods in the map that contains reduction periods. | |
mapPeriodInsertPerCustomer | Inserts reduction periods in the map that contains reduction periods for every customer and customer group based on the forecasts in the reduction period. | |
mapPeriodLookup | Finds the reduction value for a specified date. | |
mapPeriodLookupAndUpdate | Finds the reduction value for a specified date. | |
mapPeriodUpdateBalance | Updates the map that contains the reduction periods. | |
mapPeriodUpdateValue | Updates the map that contains the reduction periods. | |
new | Initializes a new instance of the ReqForecastReduce class. | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
parmDateToday | Gets or sets the DateToday parameter. | |
reset | Resets the internal variables. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::contruct | Creates an instance of the ReqForecastReduce class. | |
::newStandard | Creates an instance of the ReqForecastReduce class and initializes the object. |
Top
Remarks
The class is abstract and contains common logic for the different reduction principles.
Inheritance Hierarchy
Object Class
ReqForecastReduce Class
ReqForecastReduce_Percent Class
ReqForecastReduce_TransDynamic Class
ReqForecastReduce_TransFixed Class