How to get the current active company in AX



By running the curExt() function the current active company is returned.


static void curExtExample(Args _arg)
{
str s;
;

// Sets s to the extension of the current company.
s = curExt();
print "Current extension is " + s;
pause;
}

Comments

Popular posts from this blog

Dynamics Ax 2012 Interview Questions:

Oops concept in AX