Monday, June 25, 2018

Create a Translate button on new form in D365/Ax2012:

In standard we have translation in many places in D365. For example here I am showing in General Leger-Char of Accounts-Accounts-Main accounts.

 
 

Similarly, I have to develop the translation on another standard form called Questions as below:

Create a new table, class as below.
Table-KMQuestionTranslation. You need to write the table method. It is already there in the other standard Translation Tables.

Table properties as below:
 
Create a new class as below:
 
 
 
Write below code in Tables->KMQuestion->Insert():
 
 
 
Create a new Action Menu Item and add the menu item to the form extension as below:
 
 
 
Final project Area as below:
 
  Finally, the translation added to the Question Form.
 
 

Enjoy :)
 

No comments: