syd Function [AX 2012]
Updated: November 24, 2009
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)
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).
Community Additions
ADD
Show: