> For the complete documentation index, see [llms.txt](https://docs.greytrix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.greytrix.com/gumu-sage-crm-integration/sage-100/installation-guide/pre-requisites/country-code-setting.md).

# Country Code Setting

**State Settings:** Enter only those States in CRM that are present in Sage 100.

**Country Code setting:** While adding an address or updating an address in CRM that needs to be promoted in Sage 100 please note that the country selected in CRM should have a code that matches with the country in Sage 100. Refer the below screen shot.

![](https://794987320-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fgreytrix-products%2F-MNXEDWCoz8OCERGC6rk%2F-MNXEBB0t9i8F7M1hC7Q%2F5.jpeg?generation=1606892177494665\&alt=media)

For setting up the code in CRM, follow the below steps

* Go to Administration –> Customization -> Address.
* In the Fields Tab click on the selection field type for Country field.

![](https://794987320-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fgreytrix-products%2F-MNXEDWCoz8OCERGC6rk%2F-MNXEBB1zLZD77hoVjDT%2F6.jpeg?generation=1606892177453798\&alt=media)

* Select a country. Its translation and code will be populated on the right hand side column. Refer the below image.

![](https://794987320-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fgreytrix-products%2F-MNXEDWCoz8OCERGC6rk%2F-MNXEBB2TplFQhIP_IMW%2F7.jpeg?generation=1606892177454679\&alt=media)

* Since you cannot edit an existing translation you will have to delete the existing Country code and create a new one. Click on the Delete button. The country that you had selected will no longer be listed.
* Now create a new country name by adding the code and translation. Here you need to be sure that the country code specified matches with the one specified in Sage 100.

![](https://794987320-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fgreytrix-products%2F-MNXEDWCoz8OCERGC6rk%2F-MNXEBB3Dy9b-V8ND4qo%2F8.jpeg?generation=1606892177485555\&alt=media)

* Click on Add to add the country in the list.
* Then under the Selection Properties, select the required Country and accordingly change the code so as to match the Country as in Sage 100.Refer the above screen shot.
