Example:
Precondition for a Characteristic Value
You have a configurable material, BIKE.
The material has characteristics MODEL and GEARS with the following values:Characteristic |
Values |
Condition |
MODEL |
Racing |
|
|
Standard |
||
|
Mountain |
||
|
Tandem |
||
GEARS |
10 |
|
|
12 |
||
|
17 |
||
|
21 |
MODEL = ‘Racing’ |
Only a racing bicycle can have 21 gears.
Procedure
1.
Create a precondition.2.
This precondition has the following source code:MODEL EQ ‘Racing’
3.
Allocate the precondition to value 21 of characteristic GEARS, because this value is affected by the precondition.Result
The system checks whether the value ‘Racing’ is set for characteristic MODEL.
Completing the Condition
You want value 21 hidden for characteristic GEARS if characteristic MODEL does not have a value.
Add the following condition to the source code:MODEL eq 'Racing' and Specified MODEL
There are now two conditions to fulfill for this precondition: