Show TOC

 Precondition for a Characteristic

You have a configurable material, BIKE. This material has characteristic MODEL.

Characteristic

Values

Condition

MODEL

Racing

 
 

Standard

 
 

Mountain

 
 

Tandem

 

TANDEM_SADDLE

 

MODEL = 'Tandem'

If the value ‘Tandem’ is selected for MODEL, you see characteristic TANDEM_SADDLE, which was hidden before.

Procedure

  1. Create a precondition.

  2. This precondition has the following source code:

  3. MODEL eq ‘Tandem’

  4. Allocate the precondition to characteristic TANDEM_SADDLE, because this characteristic is affected by the precondition.

Result

The system checks whether the value ‘Tandem’ is set for characteristic MODEL.

  • If it is, you see characteristic TANDEM_SADDLE.

  • If characteristic MODEL has another value, you do not see characteristic TANDEM_SADDLE.

  • If characteristic MODEL does not have a value, you see characteristic TANDEM_SADDLE, because a lack of value does not violate the precondition.

Completing the Condition

You want characteristic TANDEM_SADDLE hidden if characteristic MODEL does not have a value. Add the following condition to the source code:

MODEL eq 'Tandem' and Specified MODEL

There are now 2 conditions to fulfill for this precondition:

1. Characteristic MODEL must have a value.

2. Characteristic MODEL must have the value 'Tandem'.