Chapter 3 Using Business Rules in a CDM
Creating a business rule in a CDM
Before you create business rules, formulate your rules by asking yourself the following questions:
- What business problems do I want to address?
- Are there any procedures that my system must respect?
- Do any specifications dictate the scope of my project?
- Do any constraints limit my options?
- How do I describe each of these procedures, specifications, and constraints?
- How do I classify these descriptions: as definitions, facts, formulas, or validation rules?
To create a business rule in a CDM:
- Select Model→Business Rules to display the List of Business Rules. It displays the business rules defined for the model.
- Click a blank line in the list.
or
Click the Add a Row tool.
An arrow appears at the beginning of the line.
- Type a name and a code for the business rule.
- Click Apply.
The creation of the new business rule is committed.
- Click the new business rule line.
An arrow appears at the beginning of the line.
- Click the Properties tool.
or
Double click the arrow at the beginning of the line.
The property sheet for the new business rule appears.
- Click the General tab and select a business rule type from the Type dropdown listbox.
- Click OK in each of the dialog boxes.
Copyright (C) 2005. Sybase Inc. All rights reserved.
|
|