Countries/States

Form ID: (CS204000)

This form contains information about countries and states in which your organization has any of the following: operations, customers, or vendors. The information provided on this form is used for defining the branches of your organization and creating customer and vendor accounts.

Countries and states are predefined in the system, but you can make changes to the lists of countries and states as you need except changing the country ID for the predefined countries.

For predefined countries, a two-letter country code in accordance with ISO 3166 is used as a country identifier. Other country information includes the country name, sales territory ID, country and state validation modes, input masks for postal codes, and administrative units (states or provinces) within the country. If you set up input masks and regular expressions for postal codes, users can avoid input errors. If you specify validation modes for countries and states, these can help to reduce the number of errors that occur when you import data to the system. For more information, see Country, State, and Postal Code Validation and Examples of the Usage of Masks and Regular Expressions.

Form Toolbar

The form toolbar includes only standard buttons. For the list of standard buttons, see Form Toolbar and More Menu.

Summary Area

This area contains the summary information about the country. You can select a country by its ID to view or edit its information. You can also select the sales territory in which this country is included.

Element Description
Country ID The unique two-letter country identifier. For predefined list of countries, the identifier is the two-letter country code in accordance with international standard ISO 3166.
Country Name The full name of the country.
Sales Territory ID

The identifier of the sales territory in which this country is included.

Only the sales territories with the By Country territory type selected on the Sales Territories (CS204100) form are available for selection. If the sales territory selected in the box is not active (that is, if the Active check box is cleared for this sales territory on the Sales Territories (CS204100) form), the system displays a warning message next to the box.

You can click the Edit button right of the box to open the selected sales territory on the Sales Territories (CS204100) form.

This box is available if the Customer Management and Sales Territory Management features are enabled on the Enable/Disable Features (CS100000) form.

Address Verification Plug-In

The third-party plug-in that verifies the addresses entered in MYOB Acumatica.

This box appears on the form if the Address Validation Integration feature is enabled on the Enable/Disable Features (CS100000) form.

Override Address Automatically

A check box that indicates (if selected) that when an address is validated, the system automatically replaces the incorrect address data in the record with the correct address data returned by the validation plug-in. It also selects the Validated check box in the address settings of the record's data entry form. If the check box is cleared, the system shows a warning with the correct data on the data entry form but does not replace the incorrect address data automatically.

This check box appears on the form if the Address Validation Integration feature is enabled on the Enable/Disable Features (CS100000) form.

Table 1. Country Validation SectionIn this section, you can select the validation mode, which defines the combination of the three elements related to the selected country (identifier, name, and regular expression) that the system will use to validate the value typed by a user or imported into the system (for example, through the use of an import scenario).
Note: If the imported data contains a country name (but not ID), after successful validation, the system replaces the imported value with the country ID that corresponds to the country name it has found in the database.
Element Description
Validation Mode The mode that defines the combination of the three elements related to the selected country (identifier, name, and regular expression) that the system will use to validate the value typed by a user or imported into the system. You can select one of the following options:
  • By Country ID (default): The system validates the entered value by using the ID of the selected country.

    You use this mode if users enter the country on forms manually or when imported data usually contains country codes and you want to ensure that these codes are valid codes in accordance with ISO 3166.

  • By Country ID and Name: The system validates the entered value by using the ID and name of the selected country.

    You use this mode when data is imported to MYOB Acumatica and it contains either country IDs or country names that are spelled as they are in the system.

  • By Country ID, Name, and Regexp: The system validates the entered value by using the ID, the name of the selected company, and the regular expression (which is specified in the Lookup Regexp box of the Country Validation / Lookup section of this form).

    You use this mode if imported data may contain a country name typed with errors or differences from the country name entered in the system. (For example, suppose that the imported data contains England but the country name is United Kingdom of Great Britain in the system.)

Validation Regexp The regular expression that the system uses to validate a country name if the By Country ID, Name, and Regexp mode is selected in the Validation Mode box.
Table 2. State Validation SectionIn this section, you can specify whether states of the selected country should be used in validation when a state value is entered into the system after the selected country has been entered. If the states should be validated, you can select the combination of the three elements related to a state (identifier, name, and regular expression) that the system will use to validate the state.
Element Description
Validation Mode

The mode that defines whether the states of the selected country should be used in validation, and if they should, which combination of elements related to a state should be used in validation. You can select one of the following options:

  • No Validation (default): The system does not validate the state ID or name. You do not need to change this mode if states were not defined for the selected country on this form.
  • By State ID: The system validates the entered value by using the list of state IDs defined for the selected country on this form.

    You use this mode if users enter states on forms manually or when imported data usually contains state IDs that are spelled as they are in the system.

  • By State ID and Name: The system validates the entered value by using the lists of state IDs and state names defined for the selected country on this form.

    You use this mode when data is imported to MYOB Acumatica and it contains either state IDs or names spelled as they are in the system.

  • By State ID, Name, and Regexp: The system validates the entered value by using the state ID, state name, and regular expression (which is specified in the Validation Regexp box of the States/Provinces table of this form).

    You use this mode if imported data may contain a state name typed with errors or differences from the state name entered in the system.

Table 3. Postal Code SectionIn this section, you can enter an input mask for a postal code and specify the regular expression that the system will use to validate the postal code.
Element Description
Input Mask The mask that the system will use to validate postal codes when they are entered.
Validation Regexp The regular expression that the system will use to validate postal codes when they are entered.
Table 4. Language/Locale SectionIn this section, you can view or select the language that is associated with the country. This section appears on the current form only if multiple active locales are defined on the System Locales (SM200550) form.
Element Description
Language/Locale

The language associated with the country.

The system automatically selects the language specified in this box when a user specifies the selected country on a data entry form, such as the Business Accounts (CR303000) form.

States/Provinces Table

This table holds the states or provinces of the selected country. You can also view or edit this information.

The table toolbar includes only standard buttons. For the list of standard buttons, see Table Toolbar.

Column Description
State ID The unique identifier of the administrative unit of the country (the state or province). The maximum string length is 50 characters. You use the abbreviations commonly used in the specific country.
State Name The complete name of the administrative unit, which is a string of up to 30 characters.
Sales Territory ID

The identifier of the sales territory that contains the state or province. The drop-down list contains only active sales territories that are created for the selected country and have the By State territory type on the Sales Territories (CS204100) form.

If a sales territory selected in the column becomes inactive at a later time (that is, the Active check box is cleared for this sales territory on the Sales Territories (CS204100) form), the system displays a warning message next to the name of the sales territory.

The sales territory ID is also a link. You can click the link to open the Sales Territories (CS204100) form in a pop-up window to view the settings of the selected sales territory.

This column is available if the Customer Management and Sales Territory Management features are enabled on the Enable/Disable Features (CS100000) form.

Territory Name

The name of the selected sales territory ID. The column is filled in automatically based on the value in the Sales Territory ID column.

This column is available if the Customer Management and Sales Territory Management features are enabled on the Enable/Disable Features (CS100000) form.

Validation Regexp The regular expression that the system uses to validate a state name if By state ID, Name, and Regexp is selected in the Validation Mode box of the State Validation section for the current country.
Non-Taxable

A check box that indicates (if selected) that the current state does not impose sales taxes.

When the To Address box of a document sent to an external tax provider contains a state marked as nontaxable, the request to the tax provider is not sent. Accounts payable and accounts receivable documents with an address belonging to a nontaxable state do not appear on the Post Taxes (TX501500) form.