The value depends on both the color and length. This could be the required time to upholster the sofas. Values can be stored for all combinations.
Window caft_tabelle_dim_browse.psr
Procedure:
1) Create new table. Table name e.g. "LaborTime"
2) Select tab "Dimension" and insert table values
- Origin type: Manually ( > This value will be asked at "Runtime" and is to be inserted via Keyboard by the User)
|
|
|
|
|
|
|
|
|
|
10
|
length
|
Cover length
|
|
Manually
|
B
|
=
|
x
|
Number
|
2
|
20
|
color
|
Cover color
|
|
Manually
|
B
|
=
|
x
|
Char.
|
|
- Origin type: Variant (-> This value will be fetched at "Runtime" from the parameters (cover_len, cover_color) of the corresponding product configuration)
|
|
|
|
|
|
|
|
|
|
10
|
length
|
Cover length
|
|
Variant
|
cover_len
|
=
|
|
Number
|
2
|
20
|
color
|
Cover color
|
|
Variant
|
cover_color
|
=
|
|
Char.
|
|
3) Select tab "Values" and insert table values
|
|
|
|
|
|
|
|
|
10
|
10
|
red
|
|
|
|
|
Manually
|
5
|
20
|
15
|
green
|
|
|
|
|
Manually
|
6
|
30
|
20
|
green
|
|
|
|
|
Manually
|
8
|
if the length of the cover is "10" and the color is "red", then you'll get for table "LaborTime" at runtime the value "5" as result
|