AssetDepBookTableDepConv_HalfYear.setNumberOfPeriodsInInterval Method [AX 2012]
Determines how many periods are in a given interval.
Syntax
protected AssetDepreciationTime setNumberOfPeriodsInInterval(TransDate _depreciationDate)
Run On
Called
Parameters
- _depreciationDate
Type: TransDate Extended Data Type
The asset transaction date.
Return Value
Type: AssetDepreciationTime Extended Data Type
The number of periods for a given block of time.
Remarks
In the last year that uses Half-year and Quarterly frequency, there is always one period instead of the number of fical periods or calendar months in the interval. The calc_RB and calc_SL methods base the calculations on the number of periods, which is based on the frequency, not on the number of fiscal periods or calendar months in the interval.