Share via


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

  • _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 the Mid-Quarter convention rule.

Remarks

When the Mid-Month (fifteenth of the month) depreciation convention is used, half the month’s depreciation is allowed in the month of disposal.

See Also

Reference

AssetDepBookTableDepConv_MidMonth_15th Class