Defining Error Messages for Data Validation
This task is a step in Process of Administering Data Validation Rules.
Before defining data validation rules, you must define the error messages that these rules display. When you create a validation rule, you can choose among these messages to specify the error message that the rule displays.
To activate a rule set
Navigate to Administration - Data Validation, and then Validation Messages view.
In the Validation Messages list, add a record for each new rule set and complete the necessary fields. Some fields are described in the table that follows.
Field Comments Message Code
Enter a numeric code or error code that will be associated with the rule.
This code is an alphanumeric value that the application logs in the validation history record and store in the Return Code output argument of the business service, if the expression is evaluated to be false. The existing value of that output argument will be overwritten. Therefore the Return Code output argument of the business service will contain the Return Code of the last rule that is evaluated as FALSE. Maximum number of characters for return code is 30.
For more information, see Viewing a Validation History.
Message Level
Enter the level of the error message. This is usually something like Quote or Order, but it can be any text that describes the level.
Message Source
Enter the source of the error. This is the process that generated the error, such as Quote Validation or Quote Approval.
Message Text
Enter the text that is displayed as the error message.