Manage countries, cities and regions
Customer addresses pick their country, city and region from cards that you define once. In these steps you define a country, a city and a region with the cards, and then add another city and region from the Chart of Addresses.
Before you begin
- You need the add level of the permissions Country Card, City Card and Region Card, and the permission Chart of Addresses to open the chart, in Users Management.
- Decide a code for each card. A short code such as
SAfor the country helps, because e-invoicing reads the country code. - Plan the names before you type: a country name is not repeated, a city name is not repeated inside its country, and a region name is not repeated inside its city.
Steps
Define a country
-
From the ribbon choose Customers > Settings > Country Card.
-
Type
SAin Country Code,المملكة العربية السعوديةin Country Name andSaudi Arabiain Latin Name. -
In the Country list choose the matching standard country if you want the address to offer its Administrative Division. The Administrative Divisions that will show appear under the list. Leave Without only if you do not need the divisions.
-
Click Add.
The program saves the country, then starts another card with the same values. Change Code and Name before any next Add.
Define a city
- Choose Customers > Settings > City Card.
- Type
01in City Code,الرياضin City Name andRiyadhin Latin Name. - In Country choose
Saudi Arabia. - Click Add.
Define a region
- Choose Customers > Settings > Region Card.
- Type
0101in Region Code,العلياin Region Name andOlayain Latin Name. - In City choose
Riyadh, and type12611in ZIP Code. - Click Add.
Add a city and a region from the chart
-
Choose Customers > Settings > Chart of Addresses.
The country, the city and the region you added show in the tree.
-
Right-click
Saudi Arabiaand choose Add New City....A new city card opens with the country in it, and the program suggests the code
02. -
Type City Name
جدةand Latin NameJeddah, and click Add. -
In the chart right-click
Jeddahand choose Add New Area.... Type Region Code0201, Region Nameالحمراءand Latin NameAlhamra. A region code is not repeated in another card. After Add click Close. The program refreshes the chart after each save.

The image also shows the region 0102 Olayaa, a duplicate card added for the example of Merge address cards; these steps do not create it.
Result
The country, the city and the region show in the address fields, and a region passes its ZIP code to the address. The definition creates no entry and changes no account.
Change or delete a card
- To change: open the card from the chart by double-clicking the node, change the fields and click Modify.
- To delete: show the card, click Delete and confirm. The program does not delete a country that has cities, a city that has regions, or a region used in a customer address or a driver card. Move what is under it with the Merge address cards tool, then delete it.
- If Egyptian or UAE taxes are on in your file, the program may require codes or names that follow certain rules. See E-invoicing checks.
If something goes wrong
| Message | Why it appears | What to do |
|---|---|---|
| Code is Missing / Please enter the name | You left Code or Name empty. | Type it. |
| Please enter country / Please enter city | You did not choose the parent on the city or region card. | Choose it. |
| Code is used in another card. Card can't be saved! | The code is used in a card of the same kind. | Type another code. |
| Can't Save Card! The name is used in another card. | The name is used under the same parent. | Change the name. |
| Country is used in City Card | You are deleting a country that has cities. | Move or delete the cities. |
| You don't have the authority to save in the specified security level | You lack the add level. | Ask for the permission. |
The other messages are in Messages of the country, city and region card.
Related
This page applies to alameen ERP 10, version 10.1.79.764.