Writing Rules:
There are different rules that you can write and use in configurator.
Navigation: Oracle Configurator Developer
select 'workbench' as shown below and click on Rules
|
Rule Type |
Description |
|
Logic |
Defines a logical
relationship between most types of Features, Options, and any type of BOM
nodes. |
|
Numeric |
Express
constraints between Model objects in terms of numeric relationships. |
|
Comparison |
Performs a
comparison between the values or Properties of two nodes, or a constant
value. |
|
Property-based
Compatibility |
Specifies matches
between the options of one or more Features or BOM Option Classes that have a
common Property. |
|
Explicit
Compatibility |
Specifies matches
between the options of one or more Features or BOM Option Classes in explicit
tabular form. |
|
Design
Chart |
Specifies
compatibility matches among the options of Features or BOM Option Classes in
explicit tabular form. |
|
Statement |
Allows more
complex expressions and constraint definitions using the Constraint
Definition Language (CDL). |
|
Rule
Sequences |
Specifies an
ordered set of rules whose effectivity dates are set so that a rule in the
sequence becomes effective at the same time its predecessor ceases to be
effective. |
|
Configurator
Extensions |
Use Java code
that you write to perform functions that go beyond the functionality and
rules that Oracle Configurator Developer provides. |
Select the AllTrue condition when defining a Logic Rule (or use the AllTrue function when defining a Statement Rule) if you want the relation to evaluate to true only when all terms are true. The relation is false if any term is false. This is a logical AND expression.
Select the AnyTrue condition when defining a Logic Rule (or use the AnyTrue function when defining a Statement Rule) if you want the relation to evaluate to true if any term is true. The relation is false only when all terms are false. This is a logical OR expression.
The effect of the Implies relation: If the end user selects Option A it becomes true and Option B is also selected. In other words, Option B’s logic state becomes true.
Excludes
The effect of the Excludes relation: If the end user selects Option A, it becomes true and Option B becomes false. In other words, Option B is excluded from the configuration.
RequiresIf the end user selects an option on one side of the rule, the option on the other side of the rule is also selected. The same is true when the end user deselects an option. In other words, both options must be either included in the configuration, or excluded from the configuration.
select the master template from the drop down list (Note : These are seeded templates. If you want to use your own template you can either customize it or can have completely custom UI as well).
























