Multi Language

Kc_Nirvana
Member Posts: 146
Hello........
I am very noob to this question.
I want a report that shows some information about the vendor, but if the vendor language is ENU the report show caption ml in ENU, if the vendor is PTG the report shows caption in PTG.
How do i do this?
Thanks in advance
I am very noob to this question.
I want a report that shows some information about the vendor, but if the vendor language is ENU the report show caption ml in ENU, if the vendor is PTG the report shows caption in PTG.
How do i do this?
Thanks in advance
Junior Consultant & Developer in Dynamics NAV
"I'm worse at what I do best
And for this gift I feel blessed
Our little group has always been
And always will until the end"
Nirvana - Nevermind - Smells Like Teen Spirit
"I'm worse at what I do best
And for this gift I feel blessed
Our little group has always been
And always will until the end"
Nirvana - Nevermind - Smells Like Teen Spirit
0
Answers
-
Take a look in Report 406, DataItem Purch. Inv. Header - OnAfterGetRecord. The first code line does what you want to achieve.Frank Dickschat
FD Consulting0 -
Read chapter 23 in the Application Designer's Guide (the file w1w1adg.pdf in the \Doc folder of the NAV 5.x ProductDVD). This chapter handles the Multilanguage Functionality. Here you can read:Multiple Document Languages
You could run multiple document languages before you had a multilanguage-enabled
database. But the multiple document languages functionality benefits from
multilanguage because you now get the languages automatically.
If you have documents that you want to print in the language of the recipient rather
than in your own working language, you can add a single line of code in the document
to handle this. This functionality is already enabled for most printing reports in the
standard Dynamics NAV database. The document is printed in the language that is
specified in the Language Code field in the Customer Card window.
In reports that need the multiple document languages functionality, you must insert
the following C/AL code as the first line in the OnAfterGet Record() trigger:CurrReport.LANGUAGE := Language.GetLanguageID("Language Code")
Secondly, for each of these reports, you must create a new variable, Language, with the
data type Record pointing to the Language table (table 8 ).
When you have compiled the object, it will no longer print in the user’s working
application language if another language has been specified in the Customer Card
window.
PS: This has nothing to do with Caption Class, as your topic title suggests.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions