GET CURRENT LANGUAGE IN D365
Below code is used to get the current language of the system.
static void main(Args _args)
{
//get company's language
info(companyinfo::languageId());
// get user language (user setup)
info(new xInfo().language());
// get the system language id
info(SystemParameters::getSystemLanguageId());
}
Thanks,
Vikas Mehta.
No comments:
Post a Comment