Friday 7 October 2016

Get the Current Company in Dynamics AX

Get the Current Company in Dynamics AX.


Many times we required to get current company in our code.

To get the current company you can use curExt() frunction in AX.


static void getCurCompany(Args _arg)
{
     str company;
     ;

     company = curExt();

     Info(company);
}

No comments:

Post a Comment