AssetDepBookTableDepConv_HalfYearNext::calcPeriodHalfYearNext Method [AX 2012]
Calculates depreciation amount based on half year next convention rule for last period.
Syntax
client server public static AssetDepreciationTime calcPeriodHalfYearNext(
AssetDepreciationBookId _assetDepreciationBookId,
TransDate _transDate,
AssetTableInterval _assetTableInterval,
AssetUsedFromDate _usedFromDate,
boolean _isSameDisposalYear)
Run On
Called
Parameters
- _assetDepreciationBookId
Type: AssetDepreciationBookId Extended Data Type
The book ID for which depreciation must be calculated.
- _transDate
Type: TransDate Extended Data Type
The depreciation transaction date.
- _assetTableInterval
Type: AssetTableInterval Class
The _assetTableInterval record that is used to check mid of period for fiscal year.
- _usedFromDate
Type: AssetUsedFromDate Extended Data Type
The date from which asset is being used.
- _isSameDisposalYear
Type: boolean
The value indicating whether asset acquisition and disposal are in same year.
Return Value
Type: AssetDepreciationTime Extended Data Type
The depreciation amount based on half year next convention rule.