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
Post a Comment