The following task outlines the
procedures for creating and editing Business Rules.
To create a business rule, your project must have
either one or more project variables, or one or more business parameters.
To define a business rule:
Right-click on the project where you want to
define Business Rules.
Select
Business Rules ().
The Business Rules editor appears.
Click the
Add icon ().
The
New Business Rule dialog box appears.
Enter the name of
your new business rule, and click
OK.
The new Business Rule appears in the table.
To edit the
business rule, click on the Open icon (), or double-click on the business rule name.
The business rule editor page for that rule appears.
By default, the business rule editor page is in simple editor
mode. You can also edit in advanced editor mode. Go to the corresponding task
listed below for instructions in the mode you will use.
To close the business rule editor and all open business rules,
click the
X on the top tab. To close only the page with
the business rule you have just saved, click the
X on the bottom tab.
Simple Editor Mode
Use the simple editor mode to define simple business rules without having to write any PBL code.
Advanced Editor Mode
Use the advanced editor mode to write complex business rules. This mode requires PBL coding, so to use it you should be familiar with PBL syntax.