AssetDepBookTableDepConv.getNumberOfPeriodsInYear Method [AX 2012]
Calculates the total number of depreciation periods that are used in a given year of the disposal.
Syntax
protected AssetDepreciationTime getNumberOfPeriodsInYear(
AssetTransDate _disposalTransDate,
AssetTransDate _lastDayOfDepreciation,
boolean _disposalInSameYear)
Run On
Called
Parameters
- _disposalTransDate
Type: AssetTransDate Extended Data Type
The disposal transaction date.
- _lastDayOfDepreciation
Type: AssetTransDate Extended Data Type
The last date of recorded depreciation.
- _disposalInSameYear
Type: boolean
A Boolean value that indicates whether the disposal occurs in the same year as the acquisition.
Return Value
Type: AssetDepreciationTime Extended Data Type
The total number of periods that are used in a given year.