This documentation is archived and is not being maintained.
Global::straightLineDepreciation Method [AX 2012]
Retrieves the constant depreciation amount for the specified asset for each depreciation period.
client server public static real straightLineDepreciation(
real price,
real scrap,
real life)
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 number of periods in the expected life of the asset.
Return Value
Type:
real
The depreciation amount.
This method is a rename of the sln method.