Hi experts.
This is regarding Axapta 4.0.
I use report CustAccountStatementExt to create a report. The report is in the language of the customer and that is fine.
The report is sent to a "printer" that converts it into a pdf file and attach it to a new e-mail that it opens in Outlook.
The problem is that the name of the pdf file is always in Danish. (Danish is the language on the screen.)
By using this code in the fetch method, I can change the caption to the wanted language, so it is "Customer - external account statement - Rapport.pdf" in English and "Debitor - eksternt kontoudtog - Rapport.pdf" in Danish:
element.design().languageID(custTable.LanguageId);
element.design().caption(SysLabel::labelId2String(literalstr('
@SYS69041'), custTable.LanguageId));
I cannot find the code that adds " - Rapport" to the file name. I would like that to be changed to " - Report" in English.
I hope you can help.