Add a validation rule by using the pre-defined criteria
You can create a validation rule by using the pre-defined criteria for a policy that belongs to an order domain.
About this task
Note: The fields marked with * are mandatory.
Procedure
-
Navigate to the Policy
Details screen. To navigate to the Policy Details screen,
perform the following steps:
- Log in to Sterling Business Center as a system administrator or a system setup administrator.
-
From the System Setup home page, expand the
Validation Policies and Override Rules menu, and then click
Order.
The existing order validations if any, are displayed in the Order Policies screen.
-
In the Policy list panel,
click the Policy hyperlink from the validation list
to go to the corresponding Policy Details
screen.
The Policy Details screen is displayed.
- In the Policy Details screen, click Validation Rules tab.
- Click Add.
The New Validation Rule screen is displayed.
- Perform
the following steps to add the primary information:
- In the Validation Rule ID * text box, enter a unique identifier for the validation rule. The Validation Rule ID, which is used to identify the validation, must be unique for the organization.
- From the Document Type menu, select the document type of the validation rule.
- From the Message Code menu, select the message code for the validation rule.
- In the Message Description text box, enter a brief description of the message code that is selected. The maximum number of characters you can enter is 100 characters.
- Enter the Effective Start Date. Alternatively, click the Calendar icon to select a start date from the calendar. The date format that is displayed depends on your locale.
- Enter the Effective End Date. Alternatively, click the Calendar icon to select an end date from the calendar. The date format that is displayed depends on your locale.
- Perform the following steps
to add the criteria:
- From the Channel menu, select the sales channel for the validation rule.
- From the Lane Type menu, select the lane type for the validation rule.
- From the Store Type menu, select the store type for the validation rule.
- From the Region lookup widget, search for the region of the validation rule.
Note: For the validation to take place, ensure that the order created qualifies the criteria. - Enter the value for
the pre-defined criteria in the text box that is populated based on
the validation that is selected. For example, If you are creating a validation rule for MANUAL_PRICE_OVERRIDE validation, you must enter a pre-defined value in Maximum Override Percentage On Orderline text box.
- Click Save.