Data Validation Manager in Siebel

7/18/2012 No Comment

Siebel Data Validation Manager Tutorial. 

How to invoke a Data Validation Manager in Siebel.

Data validation through ”Administration – Data Validation” and invoking it through Runtime Events.
Example:
  • When ever a user creates an Contact record under Account screen and tries to save it the system should throw an error saying that ”Address is a required field” 
  • When ever a user creates an Activity record on ’Serivce Request – Activities’ view and tries to save it the system should throw an error saying that ”Comments is a required field” 
Configuration:

Siebel Client
Administration – Data Validation -> Validation Messages

  • Message Code: any idetifier for the message to be displayed to the end user
  • Message Level: Name of the BC where when the record is created, validation needs to run.
  • Message Source: Name of the rule set to be formed.
  • Message Text: Exact text message to be displayed to the end User.
Administration – Data Validation -> Rule Sets
  • Name: Same name as used in Message Source above.
  • Business Component: Name of the BC where when the record is created, validation needs to run.
  • Status: Active
  • Business Object: Name of the BO for which the BC needs to be validated
  • View: If the validation needs to be specified for a certain view only, then specify 
Administration – Data Validation -> Rule Sets -> Rules
  • Name: any logical name
  • Sequence: Unique integer in a Rule Set which defines the sequence of the validations in a rule set.
  • Apply To: Current Record
  • Expression: Build an expression for the data to be validated: e.g. Address Id IS NOT NULL
  • Stop on Error: TRUE
  • Immediate Display: TRUE
  • Return Code: Message Code defined above.
Administration -> Runtime Events -> Action Sets
  • Name: Any logical Name.
  • Active: TRUE 
Administration -> Runtime Events -> Action Sets -> Actions applet
  • Name: Any logical Name.
  • Active: TRUE
  • Sequence: Unique integer in a Action set which defines the sequence of the actions to be performed
  • Action Type: BusService
  • Business Service Name: Data Validation Manager
  • Business Service Method: Validate
  • Business Service Context: ”Rule Set Name”, ”Name of the Rule Set created” 
Administration -> Runtime Events -> Events
  • Sequence: Unique identifier which defines the sequence of the Actions on an Object.
  • Object Type: BusComp
  • Object Name: Name of the Bus Comp.
  • Event: PreWriteRecord
  • Action Set Name: Name of the Action set created in Runtime Event screen above.
  • Conditional Expression: optional
Related Posts


No comments :

 

Aired | The content is copyrighted and may not be reproduced on other websites. | Copyright © 2009-2016 | All Rights Reserved 2016

Contact Us | About Us | Privacy Policy and Disclaimer