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

D365FO Data management change tracking enable/disable not working

Displaying a value from a array field in EP

Table array field iteration