Using Validation Business Objects
A validation business objectA business object list that is linked to another object, usually a pick list. is a business object list that is linked to another object, usually a pick list.
For example, you can create a list called Status to supply a list of possible values to the Status field in the Order object. These values are applied by the user for each record (via a drop-down list) and do not apply globally to the object. The Order object is the validated business object, while the Status field contains the Status pick list.
To use a pick list in a validated text field, you must mark the field as Unicode. Also, the data type between the stored field in the named validation list and a validated field must match. For example, if the named validation list is defined against a text field, but the user is attempting to use it for a number field, the validation will not work.
1. | From the Configuration Console Settings pane, click Build > Validation Business Objects. The list of validation objects appears. |
2. | Click an item from the list to the view its properties |
Validation objects shown with a lock are default objects and cannot be deleted. |
You can check your validation objects for errors. From the top of the Validation Business Objects page, click Check Business Objects. The check process is run against all validation objects and might take a few minutes. When the check is finished, a report appears listing the validation objects, their status, and a description.
The severity types are:
- Error: The validation object
- Warning:
- Validation:
1. | Within the Validation Business Object page, click Add New. The Adding Business Object page appears. |
2. | Enter your information into the fields. See Creating a Business Object. |
Best practice is to create the pick list before associating it with a validation object. See Using Pick Lists.
You can easily add, modify, or delete values from any validation list.
1. | Within the Validation Business Object page under the Values column, click Values next to the list you want to use. The values for that field appear. |
2. | Click Add. The New Value window appears. |
3. | Enter your new value into the field, then click Save. The value is added to the list. |
Users see the new value when they refresh their windows or when they next log in.
To edit a value, click the value from the list, enter the corrected value, then click outside the text box. The value is automatically saved.
To delete a value, hover your mouse over the end of the line, then click Delete.
1. | Within the Validation Business Object page, click an object from the list. The Business Object page appears. |
2. | Modify the object as needed, as described in Creating a Business Object. |
3. | Click Save from the toolbar. |
Use caution when deleting a validation object. Business objects using this object might no longer function as expected. |
1. | Within the Validation Business Object page, click Delete next to the validation business object to delete. |
- Critical validation objects cannot be deleted.
The Delete Confirmation window appears.
2. | Click Yes. |
3. | Return to the list view and refresh the window. The validation object no longer appears. |