Bookshelf Home | Contents | Index | PDF |
Configuring Siebel Business Applications > Configuring Business Components, Links, and Business Objects > Configuring a Business Component Field > Validating Data That the User Enters in a Business Component FieldYou can configure Siebel CRM to validate the information that the user enters into a field. You can configure the error message that Siebel CRM displays if the user enters information that does not meet the validation expression. To validate data that the user enters in a business component field
How Siebel CRM Validates Start and End DatesIf the user sets the completion date for an activity to occur before the start date for the activity, then Siebel CRM displays an error that is similar to the following: Wrong field values or value types detected in field End. Siebel CRM ignores any configuration you define in the Validation property or the Validation Message property for these date fields. For example, assume the user navigates to the Activities screen, clicks Activity List, and then sets the value in the Start field to a date that is later than the value in the End field. This Start field references the Planned field of the Action business component. If you define a value in the Validation property or the Validation Message property for the Planned field, then Siebel CRM ignores it. Instead, Siebel CRM uses one of the following specialized classes in the Action business component to perform this validation:
For more information, see Caution About Using Specialized Classes. You cannot configure the predefined validation in the classes, but you can add script in the BusComp_PreSetFieldValue event for the business component. This script monitors updates to these fields, and then compares the field values. You can write a custom error message in this script. For more information, see the topic about the CSSBCActivity class in Siebel Developer's Reference. |
Configuring Siebel Business Applications | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |