Thursday, 18 June 2015

Get Current Company in Microsoft Dynamics AX 2012

Use this code to get the current company in ax 2012:

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