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());
}
Args args; ReportRun report; salesLineProductPartProd salesLineProductPartProdLocal; ; ...
No comments:
Post a Comment