AssetDepBookTableDepConv_HalfYearNext.calcDisposalNumberDepreciationPeriods Method [AX 2012]
Calculates the number of depreciation periods that are 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
A value that indicates whether asset acquisition and disposal are in the same year.
Return Value
Type: AssetDepreciationTime Extended Data Type
The number of periods, based on Mid-Quarter convention rule.
Remarks
The following rules are used for disposal when the Half-Year (Next Year) convention is used:
Placed in service date 1st half of fiscal year, disposed date 1st half of fiscal year, No depreciation
Placed in service date 1st half of fiscal year, disposed date 2nd half of fiscal year, 50% of full year depreciation (spread evenly until disposal period)
Placed in service date 2nd half of fiscal year, disposed date 1st half of fiscal year, 50% of full year depreciation (spread evenly until disposal period)
Placed in service date 2nd half of fiscal year, disposed date 2nd half of fiscal year, Full year of depreciation (unless acquisition and disposal are in the first year, then 0.00).