hope you all right.
I´ve got an strange issue. A call to a webservice sends some emails using text constants.
For some reason it switched to ENG (1033) when users need to inbox those emails as they used in portuguese (1046, brazilian)
I have tried the following:
service customsettings file:
also, I created user into personalisation table, web service running user. I set the language 1046 but, for some reason when I go back I see it´s 1033!
I also raised a couple of errors so I can trace into log file, before email sending and after. Globallanguage in NAV is 1046 ( BR portuguese) surprisingly.
Seems like GETLASTERRORTEXT not working in selected language:
-Text constants with captionML do the trick
-GETLASTERRORTEXT, although globallanguage is 1046, seems like showing 1033 (eng) error.
Is there any chance to do some kind of FORMAT() to desired language?