Friday 13 November 2015

USING HIJRI CALENDAR IN DYNAMICS AX



·         If you want to use HIJRI date in AX, there are, there are total 5 steps you have to do.
·         Initial 4 steps are kind of minor change in code, and will be done only once in whole implementation, you don’t need to repeat initial 4 steps, again, once these done.
·         The last step is changing user language from user options. This step will be repeated as per user i.e. for each user if you want him/her to use HIJRI date.



Step 1: Open Development Workspace by pressing Ctrl+D or as shown below in following screenshot.



Step 2: After AOT is open, go to forms and open form named as SysUserSetup




Type SysUserSetup, and reach to form; Right click the form and click on “Open in a new Window”




Step 3: Open methods of this form (SysUserSetup)

Simply click the Plus (+) sign on the form left side you will see a node named as methods as shown below.

 
Expand the methods and open the Run Method as shown below




Go at the end of this method and now you need to play a little with the code as shown below



Save your changes in the code.

Step 4: Go to field uselangauge and method leave under that as shown below



Open this method leave and do changes as shown below and save changes:


Above 4 steps needed to do only 1 time, in any implementation. You don’t need to do above 4 steps again, after done once.

Next step#5 will be repeated for each user of ax only once.

Step 5: go to user options as shown below:

 
After user options are opened simple change language of user from en-us to AR. AR stands for Arabic. Press control+s to save and close form, close ax and open ax and try to do something like create a purchase order, try to select a date., as shown below.


See below when someone trying to create a new Purchase Order now:




No comments:

Post a Comment