sln Function [AX 2012]

Updated: December 11, 2009

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Retrieves the constant depreciation amount for the specified asset for each depreciation period.


real sln(real price, real scrap, real life)

Parameter

Description

price

The purchase price of the asset.

scrap

The scrap value of the asset.

life

The number of periods in the expected life of the asset.

The depreciation amount.

static void slnExample(Args _arg)
{
    real r;
    ;
    r = sln(100.00, 50.00, 50.00);
    print r;
    pause;
}

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: