I've set the Langauge code for all customer/vendor cards. It still does not work as intended. I have checked the Langauge, that will be selected for the report.
In the Sales Invoice Header - OnAfterGetRecord section the code is like
IF GLOBALLANGUAGE = Language.GetLanguageID("Language Code") THEN
CurrReport.LANGUAGE := Language.GetLanguageID("Language Code")
ELSE
CurrReport.LANGUAGE := Language.GetLanguageID('ENU');
//message line added to see what is passed
MESSAGE('CurrReport: %1, Language: %2, Global %3, Language Code: %4', CurrReport.LANGUAGE, Language.GetLanguageID("Language Code"), GLOBALLANGUAGE, "Language Code");
The message line is returning the following
CurrReport: 2055, Language: 2055, Global: 2055, Language Code: ENG
Now I know that 2055 is the code for German (Switzerland).
It's the same code all users have placed for language code.
If I change the language code for my account to German (Germany), the output is
CurrReport: 1031, Language: 1031, Global: 1031, Language Code: ENG
But then my NAV client is partially in englisch and in german and I don't understand why this is the case.