AssetDepBookTableDepConv_None.calcRestPeriod Method [AX 2012]
Calculates the adjustment to the asset's remaining life.
Syntax
public AssetDepreciationTime calcRestPeriod(
AssetDepreciationTime _restPeriod,
AssetTransDate _periodstart,
AssetDepreciationTime _periods)
Run On
Called
Parameters
- _restPeriod
Type: AssetDepreciationTime Extended Data Type
The number of remaining periods.
- _periodstart
Type: AssetTransDate Extended Data Type
The start date of the period.
- _periods
Type: AssetDepreciationTime Extended Data Type
The number of periods.
Return Value
Type: AssetDepreciationTime Extended Data Type
The adjusted remaining life of the asset.
Remarks
For the Full Month convention, the number of periods over the total number of periods in the current year determines the adjusted remaining life of the asset.
Monthly and Fiscal Period frequency should always return 1, because they always represent a fully depreciated month/period. Therefore, the base class calculation is used for these frequencies.