AssetDepBookTableDepConv_FullMonth.calcDisposalNumberDepreciationPeriods Method [AX 2012]
Calculates the number of depreciation periods used in the final year of the disposal.
Syntax
public AssetDepreciationTime calcDisposalNumberDepreciationPeriods(
TransDate _disposalTransDate,
AssetTransDate _projectedLastDayOfDepreciation,
boolean _isDisposalSameYear)
Run On
Called
Parameters
- _disposalTransDate
Type: TransDate Extended Data Type
The disposal transaction date.
- _projectedLastDayOfDepreciation
Type: AssetTransDate Extended Data Type
The expected last date of depreciation.
- _isDisposalSameYear
Type: boolean
Indicates whether asset acquisition and disposal are in same year.
Return Value
Type: AssetDepreciationTime Extended Data Type
The number of periods that is based on mid-quarter convention rule.
Remarks
When the Full month depreciation convention is in play, no depreciation is allowed in the month of the disposal.