Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Calculates the depreciation of an asset over a specified period.
real syd(real _price, real _scrap, real _life, int _period)
Parameters
Parameter |
Description |
|---|---|
_price |
The purchase price of the asset. |
_scrap |
The scrap value of the asset. |
_life |
The expected life of the asset (the number of periods). |
_period |
The period for which to calculate depreciation. |
Return Value
The amount of depreciation over the specified period.
Remarks
In contrast to the sln function, the syd function can allow for an accelerated depreciation of the asset. As with the ddb function, this enables a higher depreciation during the early periods of the life of an asset.
Example
In the following examples, the periodic depreciation is calculated for an asset with a purchase price of 10000, a scrap value of 2000, and a life of 5.
In comparison, sln(10000,2000,5) would calculate 1600.00 for each period.
// Returns the value 2666.67 (for the 1st period).
syd(10000,2000,5,1);
// Returns the value 2133.33 (for the 2nd period).
syd(10000,2000,5,2);
// Returns the value 1600.00 (for the 3rd period).
syd(10000,2000,5,3);
// Returns the value 1066.67 (for the 4th period).
syd(10000,2000,5,4);
// Returns the value 533.33 (for 5th - and final- period).
syd(10000,2000,5,5);
Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).