Creating business rules in a Business Object
Business rules are like constraints that can be defined on Business Objects declaratively. These business rules are similar to the triggers, constraints, and validations that are created on database tables. Similarly, we can define all those business rules on Business Objects too. Click on the Business Rules tab of a Business Object to view or create a new business rule.
The following types of business rules can be created on a Business Object:
- Object Triggers
- Field Triggers
- Object Validators
- Field Validators
- Object Functions
We will look at all the preceding types of business rules in the following sections.
Creating Object Triggers
An Object Trigger is like a database trigger. For example, you want to send an email notification to an employee once a new entry is made on the Employee Business Object.
To meet this requirement, you can create an Object Trigger on the Employee Business Object; this...