curExt 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 extension that is used for the current company.


str curExt()

The extension for the current company.

Use this method to avoid a call to the server tier. The alternative is the company method of the Application class, which does call the server tier.

static void curExtExample(Args _arg)
{
    str s;
    ;
 
    // Sets s to the extension of the current company.
    s = curExt(); 
    print "Current extension is " + s;
    pause;
}

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

Community Additions

ADD
Show: