Use this code to get the current company in ax 2012:
static void currentCompany(Args _arg)
static void currentCompany(Args _arg)
{
str curCompany;
// Sets curCompany to the extension of the
current company.
curCompany= curExt();
print "Current company is " +
curCompany;
pause;
}
No comments:
Post a Comment