External Postal Code Validation (E62)

Purpose: Use this screen to define whether the system calls a user-defined program to validate postal codes outside of Order Management System.

Yes/no field: Select this field if you want the system to call a user-defined program to validate postal codes outside of Order Management System. You can define the validations that occur for postal codes under the program OER0966. The system provides a “hook” to the program when a user selects OK on a screen containing a postal code.

This program can be used to validate postal code rules for a specific country, for example, if a postal code for a country should only contain 6 numbers and more than 6 numbers are entered, the program passes an error message similar to the following back to Order Management System:

Invalid Postal Code Format

Once the program completes, Order Management System returns to normal processing.

Changes to these tables launch the postal code validation program when a user selects OK on a screen containing a postal code:

• Customer Bill To

• Customer Ship To

• Customer Sold To

• Order Header

• Order Ship To

• Order Ship To Address

• Catalog Request

The program validates postal codes based on this information:

• Company Number

• Prefix

• First Name

• Initial

• Last Name

• Suffix

• Street Address

• Apartment

• Address Line 2

• Address Line 3

• Address Line 4

• City

• State

• Postal Code

• Delivery Code

• P.O. Box

• Company Name

Leave this field unselected if you do not want the system to call a user-defined program to validate postal codes outside of Order Management System.

IN03_02 OROMS 17.0 2018 OTN