-
From the Compass, click Data Model Customization.
-
From the navigation pane, click Manage Business Rules.
-
Expand QUC Business Logic Resources and select Create
Action.
-
To create a business rule, click
Create on the page toolbar.
A new business rule is listed under Create Action. You
can expand the business rule to view more details.
-
Click the new business rule hyperlink.
-
From the Edit Business Rule dialog box, enter the following
information:
| Field |
Description |
| Name |
The business rule name. |
| List of arguments |
Enter the list of arguments. |
| Name |
Type |
| ThisObject |
Click and select
Quality System Document as the type associated with
ThisObject. |
| Parameters |
RuleContext |
| Has Precedence |
Select Yes or
No. |
| Body |
Enter the required business rule to set the
document naming. For example,
ThisObject.name=Parameters->GetAttributeString("Name Set By Business
Rule") |
-
Click one of the following:
- Click Approve to validate the business rule.
- Click Modify to validate and save the business
rule.
Note:
Only one business rule can exist for any type.
-
Open Quality Document Control and create a controlled document.
For more information, see Creating a Quality System Document.
-
Enter the required information to create a controlled document.
Note:
By default, AutoName is selected.
Result: If a rule is defined for document naming, the controlled
document is named according to the business rule. If a rule has not been defined, the document
is named as normal.