[solved] Tips for FIELDCAPTION in multilanguage environment
jversusj
Member Posts: 489
**Oops. Somehow I posted this in the wrong forum. This relates to Navision 4.0 with SP1. Sorry!
Hi. I searched the forum but was unable to find info on the following:
We have five languages available: English, Danish, German, French, and Italian.
In the Create Reminders process, when the system is processing the Additional Fee, it updates the
I am testing this with a customer whose language is defined as French (example). When I create the reminder for this customer, in a system set to English, it pulls the English name of the field and ignores the French CaptionML. If I then issue the Reminder, the print of the document is translated per the report CaptionML to French, yet this one line still reads in English. I can foresee this being an issue - "I could not pay this line item fee because I did not understand what it was for."
What might I be doing wrong?
Thanks in advance, as usual.
**thanks for moving to the right forum!
Hi. I searched the forum but was unable to find info on the following:
We have five languages available: English, Danish, German, French, and Italian.
In the Create Reminders process, when the system is processing the Additional Fee, it updates the
ReminderLine.Description := CurrencyForReminderLevel.FIELDCAPTION("Additional Fee")
The Navision help files suggest that FIELDCAPTION will first check the CaptionML field and then resort to the field name if nothing is found.I am testing this with a customer whose language is defined as French (example). When I create the reminder for this customer, in a system set to English, it pulls the English name of the field and ignores the French CaptionML. If I then issue the Reminder, the print of the document is translated per the report CaptionML to French, yet this one line still reads in English. I can foresee this being an issue - "I could not pay this line item fee because I did not understand what it was for."
What might I be doing wrong?
Thanks in advance, as usual.
**thanks for moving to the right forum!
kind of fell into this...
0
Comments
-
[Topic moved from Navision Attain to Navision forum]0
-
You need to switch the language in the process to language based on the customer language. It is same like in the invoice report. You just need to call something like this:
CurrReport.LANGUAGE := Language.GetLanguageID("Language Code");
Before the document is created. It will be for example somewhere in report 188.0 -
Ah! Thank you!
I figured the function was enough to grab the captionML, but after adding the line you suggested, it worked like a champ!kind of fell into this...0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

