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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Is there a config setting for auto detecting country and state from a post code/zip code?

(0) ShareShare
ReportReport
Posted on by 27

Hey everybody,

My users are experiencing a problem whereby when adding a new address to either a new or existing customer record, upon entering the post code/zip code the country and state fields are automatically populated with the wrong information (not strictly wrong, but not the correct ones that are required), and when they remove that auto-populated country and state information the system automatically removes the post code/zip code too.

For example, a user enters ITA for Italy into the country field then enters 10122 (a valid Italian post code) into the post code field then moves to the street address line the country automatically changes to USA and the city and state fields automatically switch to New York, NY.

If the user then goes back and changes USA back to ITA all other address fields are blanked, and so the process begins again.

They are currently having to put a full stop after the postcode to stop it being recognised as a New York zip code.

Is there a setting somewhere or a table that associates that postcode exclusively with New York which is forcing the change, and if so how do I switch it off/change it?

Thanks everyone.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    299,349 Super User 2025 Season 2 on at
    RE: Is there a config setting for auto detecting country and state from a post code/zip code?

    Hi Rossatron,

    There is a known issue and downloadable fix available on LCS: KB 4040664 - The country defaults back to US when entering a zip code for a foreign country if it exists in the US zip code list

  • Rossatron Profile Picture
    27 on at
    RE: Is there a config setting for auto detecting country and state from a post code/zip code?

    Wonderful.

    Thanks for your help.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans