ReqDemPlanImportForecastService.cleanupPreviousForecastPerAllocationKey Method [AX 2012]

Deletes the existing forecast records for a given allocation key and date range.

public void cleanupPreviousForecastPerAllocationKey(
    ForecastModelId _forecastModelId, 
    ForecastItemAllocationId _allocationKey, 
    date _forecastStart, 
    date _forecastEnd)

Run On

Server

Parameters

_forecastModelId
Type: ForecastModelId Extended Data Type
The forecast model to clean up.
_allocationKey
Type: ForecastItemAllocationId Extended Data Type
The item allocation key.
_forecastStart
Type: date
Start date of the interval to clean up.
_forecastEnd
Type: date
End date of the interval to clean up.

Community Additions

ADD
Show: