web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

How to get Country Name by Country code for Sales order in Ax 2012

SANTOSH KUMAR SINGH Profile Picture SANTOSH KUMAR SINGH 1,224
To  get Country Name by Country code for Sales order in Ax 2012 you can try below code.


 LogisticsAddressCountryRegionTranslation::find  
(LogisticsPostalAddress::findRecId
(salesTable.DeliveryPostalAddress).CountryRegionId,'EN-US').ShortName

Like code is SAU then if you want to display name of SAU as Saudi Arabia then you need to find it from LogisticsAddressCountryRegionTranslation table.


This was originally posted here.

Comments

*This post is locked for comments