AssetDepBookTableDepConv_HalfYear.setNumberOfPeriodsLeftInYear Method [AX 2012]
Determines the number of periods that remain in a given year.
Syntax
protected AssetDepreciationTime setNumberOfPeriodsLeftInYear(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 in a year.
Remarks
In the last year of depreciation, the number of periods that remain in the year is always half the periods for a given frequency.
For example, for Monthly frequency, there are always 6 remaining periods in the last year of depreciation, and for Half-Year frequency, there is 1 remaining period.