ReqDemPlanCopyOverForecastStrategy.adjustBuckets Method [AX 2012]

Performs bucket offset of the foreast to move historical data into the forecast horizon.

private ReqDemPlanBucketTmp adjustBuckets(
    ReqDemPlanAllocationKeyFilterTmp _allocationKeyFilter, 
    ReqDemPlanCreateForecastDataContract _dataContract, 
    RefRecId _version, 
    BIDateDimensionsViewPeriods _historicalStartBucket, 
    BIDateDimensionsViewPeriods _forecastStartBucket, 
    BIDateDimensionsViewPeriods _forecastEndBucket)

Run On

Called

Parameters

_allocationKeyFilter
Type: ReqDemPlanAllocationKeyFilterTmp Table
The allocation key filter temporary table.
_dataContract
Type: ReqDemPlanCreateForecastDataContract Class
The data contract.
_version
Type: RefRecId Extended Data Type
Forecast version.
_historicalStartBucket
Type: BIDateDimensionsViewPeriods View
Historical horizon start bucket.
_forecastStartBucket
Type: BIDateDimensionsViewPeriods View
Forecast start bucket.
_forecastEndBucket
Type: BIDateDimensionsViewPeriods View
Forecast end bucket.

Return Value

Type: ReqDemPlanBucketTmp Table
Temporary table with currently used buckets.

Community Additions

ADD
Show: