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.
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.
The system checks whether the value ‘Racing’ is set for characteristic MODEL.
If characteristic MODEL has another value, you do not see the value 21 for characteristic GEARS.
If characteristic MODEL has the value ‘Racing’, you see value 21 for GEARS.
If characteristic MODEL does not have a value, you see characteristic value 21 for characteristic GEARS, because the precondition is not violated.
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:
Characteristic MODEL must have a value.
Characteristic MODEL must have the value 'Racing'.