Hi, Readers.
Today I’d like to briefly discuss a frequently asked question, which I also saw on the Dynamics 365 Community yesterday, about the State/Region/Province field on the Customer Card.
For your reference, here is the original question from the community: State field on customer card
Could someone clarify the visibility logic for the State/Province field located under the Address & Contact tab on the Customer Card?
In our environment, the field is labeled as “Province/State,” but it isn’t appearing for all customers. Does this field function based on specific conditions or triggers?
Additionally, can the field name be customized? I’ve noticed that in one client’s Business Central environment, it is named “State,” whereas in another, it appears as “Province/State.”
State field on customer card
Let’s take a brief look at the standard behavior. On the Customer Card, the field below ‘City‘ dynamically changes its caption, it may display as ‘County,’ ‘State,’ ‘Region,’ or ‘Province.’
County:

State:

Region:

Province:

In some cases, it may not be displayed at all.

Why does this happen? It’s actually quite simple: it is determined by the ‘County Name‘ and ‘Address Format‘ settings in the ‘Countries/Regions‘ master.

The ‘County Name‘ field determines whether the County caption should display a specific localized name, while the ‘Address Format‘ determines whether the field itself should be displayed on the page.
Let’s combine these two settings and look at the behavior.

| Code | Name | Address Format | County Name |
|---|---|---|---|
| US | USA | City+County+Post Code | State |
| RU | Russia | City+County+Post Code | Region |
| CA | Canada | City+County+Post Code | Province |
US: State

RU: Region

CA: Province

Two more:

| Code | Name | Address Format | County Name |
|---|---|---|---|
| RU | Russia | City+Post Code | Region |
| GB | Great Britain | City+County+Post Code | |
RU: Not displayed

GB: County

Therefore, you can set a special County Name based on the Country/Region Code. Let’s look at another simple example.
Below are the standard settings for the Japan (JP) country code:

I modified the settings as follows:

Done.

Isn’t it simple? Conversely, if you want to maintain consistency across your system, you can achieve it by simply applying the same configuration to all countries/regions.
Finally, let’s take a look at the ‘Custom Address Format’.
You can set Address Format to Custom, then choose Custom Address Format.


The Custom Address Format (725, List) page will open. You can use the Move Up and Move Down actions to adjust their display order on the printed document.

You can click Field ID 0 to adjust the order of City, County, and Post Code, and whether to display them.


PS:
Field ID must be equal to ‘0’ in Custom Address Format: Country/Region Code=JP, Line No.=1. Current value is ‘2’.

Great, give it a try!!!😁
END
Hope this will help.
Thanks for reading.
ZHU




コメント