Edit Statement Rules

Use the editor to create your statement rule.

Go to the Edit Configurator Model page, then use the Rules tab.

  • Use the tree on the Rules pane to access and manage the rules that you define. Examine the icons to quickly get a picture of your rules' statuses.

  • In the Structure section, select your model's node, then click Insert into Rule Text to insert a reference to your model's node directly in your rule's text.

Here are some of the editor's features that you might find useful.

Feature

Description

Enabled option

Disable a rule while you're working on it or to prevent Oracle Configurator from applying the rule the model.

Status indicator

The status values are:

  • Modified. You edited the rule text or changed some part of it since the last time you compiled the rule.

  • Error. There's an error that's preventing the rule from compiling and running, or the rule has a syntax error.

  • Valid. The rule is valid, and you can compile it and test it.

End Date attribute

A read only attribute that displays the date when the rule will become invalid because the end date has expired for one of the rule's participants.

Definition section

An area that controls how you define the rule.

Rule Class

Use this attribute to change the rule's class, as necessary.

If the class is a Default or Search Decision class, then you can click Reorder to change the sequence that you want Configurator to use when it applies default values or search decisions.

See Set the Rule's Class.

Validate

Make sure your rule's syntax is valid.

Text pane

Enter your statement's text in CDL format. Use the toolbar and text buttons to help make sure that the text you insert has the correct syntax.

Insertion menus

Use these menus:

  • Keywords. CDL keywords that you can use to create your statement.

  • Logic Operators. CDL operators that you can use to define your statement's logic. See CDL Operators.

  • Functions. Use this set of menus to enter CDL functions:

    • Logic

    • Arithmetic

    • Trigonometric

    • Set

    • String

    See CDL Functions.

You can tear off a menu that you use frequently and leave it positioned over the editor while you work.

Text buttons

Use these buttons to insert CDL elements directly into your rule text. You can insert:

  • Characters to delimit each of your statements

  • Comparison operators

  • Boolean operators

  • Mathematical operators