Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

CountryRegionCodes property: What are the valid entries

$
0
0

Hi everybody,

does anybody know what has to be modified so that an additional country region code can be used for a table or EDT etc.?

Say I need to support a country with ISOCode XX (which is not available in core AX) ... how can I make a table or table field only show up in countries with that code - and I want to use the standard AX mechanism of countryRegionCode property on the table or table field.

I've tried the following:

  • create a new country region record > now I can create a new legal entity (or party in general) using that country (it would have been a surprise if this had worked ... after all, this is in the database and the entries could differ per partition)
  • add a new macro #isoXX to ISOCountryRegionCodes > now I can validate in code whether the current company is in country XX
  • added an XX node to resource LogisticsAddressCountryREgionData (I was running out of ideas) > didn't change anything, but my next partition should now also have the country region XX (didn't verify)

I have restarted the AOS service after each of these trials.

All this didn't help, I still get the message "'XX' is not defined as a value in the Country Region Codes list" when I try to type XX in the property.

I know there are other ways to do this, like create a new parameter, but

  1. this is not the standard way for doing it
  2. I'm really curious where the valid list is hidden

Is it really "hard coded" in the kernel? Or am I just blind ...

Thanks a lot for your input!

Annette


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>