Global::depreciation Method [AX 2012]

Calculates the depreciation of an asset over a specified period.

Syntax

client server public static real depreciation(
    real price, 
    real scrap, 
    real life, 
    int period)

Run On

Called

Parameters

  • price
    Type: real
    The purchase price of the asset.
  • scrap
    Type: real
    The scrap value of the asset.
  • life
    Type: real
    The expected life of the asset (the number of periods).
  • period
    Type: int
    The period for which to calculate depreciation.

Return Value

Type: real
The amount of depreciation over the specified period.

Remarks

Unlike the Global.straightLineDepreciation method, this method can use accelerated depreciation of the asset. As with the Global.acceleratedDepreciation method, an accelerated depreciation enables more depreciation during the early periods in the life of an asset.This method is a rename of the syd method.

See Also

Reference

Global Class