November 13, 2012

Get Company Information

To get company information in AX 2012 is soo easy. I will show in a job with script below :

static void CompanyInformation(Args _args)
{
    CompanyInfo     Company;
    ;
    Company = CompanyInfo::find();
    info(strFmt("Company Name : %1", Company.Name));
    info(strFmt("Company Phone : %1", Company.phone()));
    info(strFmt("Company Address : %1", Company.postalAddress().Address));
}


this is the result when running job :


2 comments:

  • Anonymous says:
    7/22/2014

    If you say that it was your fault when it really
    wasn't, you could potentially destroy your case. After an accident it can feel as if
    your life has changed. Therefore, the layer grants you with high quality services.



    Feel free to visit my page las vegas; ,

  • Micheal Alexander says:
    2/07/2020

    I have found that this site is very informative, interesting and very well written. keep up the nice high quality writing. Retrieve Company Details

Post a Comment