Share via


AssetDepBookTableDepConv_HalfYearStart.calcStartDate Method [AX 2012]

Calculates the starting depreciation date of the asset.

Syntax

protected AssetDepreciationStartDate calcStartDate(AssetUsedFromDate _usedFromDate)

Run On

Called

Parameters

Remarks

The depreciation convention this class uses will set the run date of the depreciation to the second half of the year that the asset was put into service.

If the depreciation profile accrual is the calendar type the from date will be set based on the value of the _usedFromDate parameter. This is specified by whether the parameter is before, the same as, or after the mid-point of the calendar year.

If the depreciation profile accrual is the fiscal type the from date will be set based on the value of the _usedFromDate parameter. This is specified by whether the parameter is before, the same as, or after the mid-point of the fiscal year. If the specified date is the before the mid-point of the fiscal year, the from date will be set to the start of the fiscal year. If the specified date is equal to or after the mid-point of the fiscal year, the from date will be set to the closer of the start or the mid-point of the fiscal period.

The UsedFromDate field of the AssetDepBook table is used as the value of the date the asset was put into service.

See Also

Reference

AssetDepBookTableDepConv_HalfYearStart Class