Share via


AssetDepBookTableDepConv_MidMonth_1st.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

  • _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-month 1st month convention rule.

Remarks

Assets that are disposed in the first half of the month are considered disposed for depreciation purposes on the last day of the previous month.

Assets that are disposed in the second half of the month are considered disposed for depreciation purposes on the last day of the month of disposal.

See Also

Reference

AssetDepBookTableDepConv_MidMonth_1st Class