You can define that you can only select 21 gears for a bicycle if characteristic MODEL has the value 'Racing'. To do this, you assign a precondition to characteristic value '21_Gears' of characteristic GEARS.
On the Class screen choose the tab page Characteristics . Select characteristic GEARS and choose
Choose the Values tab and select the value '21_gears'.
Choose
Choose
Enter the name PRE_RACING_BICYCLE for your dependency.
You see the basic data screen for object dependencies. Select Precondition as the dependency type. Enter a description for your dependency.
Go to the dependency editor. Enter the following source code:
MODEL EQ ‘Racing’
Save your source code.
Check the status of your dependency. The dependency does not have any effect unless it has 'released' status.
Save your entries. Your new dependency is automatically assigned to the characteristic value.
The O indicator is selected for this value.
This precondition means that you can only select the value 21_gears for characteristic GEARS if characteristic MODEL has the value Racing.