Report language

weneed
weneed Member Posts: 82
I have a code unit running on scheduled JOB QUEQUE that execute a report saving PDF in a folder.
Works but there is a strage problem: report language was printed in English and not in Italian that was language selected in RTC client.
Why? There is a way to select different language?

Answers

  • SanderDk
    SanderDk Member Posts: 507
    On the service that is running your NAS/Task scheduler you can set the services Language, it is by default en-US.
    w8tcuq023kb9.png

    For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.
  • weneed
    weneed Member Posts: 82
    Done but nothing. Now I want try setting GLOBALLANGUAGE in code unit
  • SanderDk
    SanderDk Member Posts: 507
    Have you restarted your service?
    For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.
  • vaprog
    vaprog Member Posts: 1,161
    The Job Queue Entry actually has a field named Language ID (Field No. 44) which is set to the language of the user who creates or modifies the entry. The Report should be run with this language setting.

    Furthermore, you should not change GLOBALLANGUAGE if you can avoid it. In the case of a report, rather use CurrReport.LANGUAGE.