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

Difference Between Edit And Display Method in Ax

Display Method: The display method means that the method’s return value is being displayed on a form or a report.  This value is fixed and c...