Share via


AssetDepBookTableDepConv.getNumberOfPeriodsInYear Method [AX 2012]

Calculates the total number of depreciation periods that are used in a given year of the disposal.

Syntax

protected AssetDepreciationTime getNumberOfPeriodsInYear(
    AssetTransDate _disposalTransDate, 
    AssetTransDate _lastDayOfDepreciation, 
    boolean _disposalInSameYear)

Run On

Called

Parameters

  • _disposalInSameYear
    Type: boolean
    A Boolean value that indicates whether the disposal occurs in the same year as the acquisition.

Return Value

Type: AssetDepreciationTime Extended Data Type
The total number of periods that are used in a given year.

See Also

Reference

AssetDepBookTableDepConv Class