Creating a country or region code definition
You can create a country or region definition.
About this task
To create a country or region code definition:
Procedure
- From the tree in the application rules side panel, choose Internationalization > Countries.
- The Country/Region Codes window displays in the work area. Choose the Create New icon. The Country/Region Details pop-up window displays.
- In Country/Region, enter a two character
country or region code definition. Note: The country or region code should be in accordance with the International Standard Organization (ISO) specifications (the two character code in the ISO 3166-1 document).
- In Short Description, enter a brief description of the country or region code definition.
- In Long Description, enter a more detailed description of the country or region code definition.
-
In Short Zip Code RegEx, enter the regular expression for short zip codes for this country or
region. If you specify a grouping for the regular expression, Sterling Order Management System Software matches the
zip code with the regular expression in the first parenthesis to define a short zip code. However,
if no grouping is specified, Sterling Order Management System Software uses the first characters that match the
entire regular expression. For example, if the zip code has five characters, Sterling Order Management System Software matches the first five characters to the regular expression. For the java.util.regex.Pattern
class for more information about regular expressions, see Javadoc.
Note: If you enter a regular expression with too many characters that require escaping, you may receive a database error. Sterling Order Management System Software recommends using an alternative to the POSIX character classes, which can exceed database limits due to their long length.
- Choose the Save icon.