Hello team,

*Bottom line:*
I suggest that either we should use alpha-2/alpha-3 or we can use all of
them and make them configurable as per business requirement.

*Story:*
As per the ISO-3166 standard for country and subdivision codes. There are
three types of codes alpha-2, alpha-3 and numeric.

Different countries are using a different standard as per there
administration policy. It may be either alpha-2, alpha-3 or numeric.

In the current system, we are using mixed-format like somewhere alpha-2 and
somewhere alpha-3. We should fix this for example:

Example
India country:
  ISO-3166-1 alpha-2=IN         ISO-3166-1 alpha-3= IND
 alpha-numeric=356
Indian state: Maharastra
  ISO-3166-2 =IN-MH              ISO-3166-1 alpha-3=MH
 alpha-numeric= NA

In OFBiz
  India:
    IN(ISO-3166-1 alpha-2)
  Indian state: Maharastra
    MH(ISO-3166-1 alpha-3)

  United States
    USA(alpha-3)
  United States: New York
    NY(alpha-3)

Here are some reference:
https://www.iso.org/obp/ui/#iso:code:3166:IN
https://en.wikipedia.org/wiki/ISO_3166-2:IN

Kind Regards,
Vaibhav Jain
Senior Enterprise Software Engineer
*HotWax Systems*
*Enterprise open source experts*
cell: 782 834 1900
http://www.hotwaxsystems.com

Reply via email to