Tuesday, 31 August 2021

Get Current language in AX 2012 and D365FO

 Here is the X++ code to find the current language


static void main(Args _args)
{


info(companyinfo::languageId());

    // user
    info(new xInfo().language());\


    // system
    info(SystemParameters::getSystemLanguageId());

}

No comments:

Post a Comment

Run AX report using X++

       Args                     args;      ReportRun          report;     salesLineProductPartProd salesLineProductPartProdLocal;     ;     ...