I am running a support case with MS at the moment as controlling GLOBALLANGUAGE in NAS via Job Queue does not work in NAV2013 :-(
I have an international client where the Danish product dvd where used for the base installation. Afterwards additional languages for NL, FRA etc. have been installed.
When Job Queue is running it is in Danish which also means that the English user does not understand the runtime errors captured in the Job Queue Entry Log - is there some kind of setting or dll file I can swap on the NST/NAS server to force all execution in English (1030)?
/Kasper
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Been there done that - does not work :-(
PS: It works in NAV2009.
/Kasper
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
http://www.waldo.be/2013/05/15/nav-2013 ... -nas-user/
Thx for your input. I believe it will solve my problem but limit the solution to using the same language for all Job Queues (this is ok as a temporary workaround).
Currently I am trying to change the Globallanguage just before the new background session is started in CU451 as I want to control this per Job Queue Entry - see example below:
Process(VAR JobQueueEntry : Record "Job Queue Entry")
COMMIT;
//{CGITS/001/START}
// Not support by Microsoft at the moment.
StandardLanguage := GLOBALLANGUAGE;
IF (JobQueueEntry."Language ID" <> StandardLanguage) THEN
GLOBALLANGUAGE := JobQueueEntry."Language ID";
//{CGITS/001/STOP}
AttemptToRun := TRUE;
WHILE NOT Success AND AttemptToRun DO BEGIN
Success := CODEUNIT.RUN(CODEUNIT::"Job Queue Start Codeunit",JobQueueEntry);
IF NOT Success THEN BEGIN
NoOfAttempts := NoOfAttempts + 1;
AttemptToRun := NoOfAttempts < JobQueueEntry."Maximum No. of Attempts to Run";
END;
END;
//{CGITS/001/START}
// Not support by Microsoft at the moment.
IF (StandardLanguage <> GLOBALLANGUAGE) THEN
GLOBALLANGUAGE := StandardLanguage;
//{CGITS/001/STOP}