Master Data References in Task ListsConfigurable material BIKE has the following characteristic:
Characteristic |
Values |
COLOR |
MG (Mirror green) |
KR (Kansas red) |
|
BG (Baltimore gray) |
|
FL (French lavender) |
You need a special painting procedure for the color ‘French lavender’. This increases the setup time of operation ‘Paint bike’ from 30 minutes to 60 minutes.
Routing of BIKE
Operation |
Description |
Procedure |
0040 |
Paint bike |
Setup time + 30 mins for color ‘French lavender’ |
1. Create Procedure
Create reference characteristic SETUP_TIME with the following master data reference:
Table PLPOD field VGW01
Create a procedure with the following source code:
$SELF.SETUP_TIME = MDATA $SELF.SETUP_TIME + 30 IF COLOR = 'FL'
Assign the procedure to operation ‘Paint bike’ in the routing for the bike.
2. Create Procedure
For the color ‘French lavender’, create characteristic METALLICEFFECT:
Characteristic |
Values |
METALLICEFFECT |
Yes |
No |
If you want metallic paintwork, the setup time increases by another 30 minutes.
Routing of BIKE
Operation |
Description |
Procedure |
0040 |
Paint bike |
Setup time + 30 mins for color ‘French lavender’ Setup time + 30 mins for metallic effect |
Create a procedure with the following source code:
$SELF.SETUP_TIME = $SELF.SETUP_TIME + 30 IF METALLICEFFECT = ‘Yes’
Note
You do not use the keyword MDATA in this procedure, because you are accessing the changed value.
Assign the procedure to operation ‘Paint bike’.
To check the result in the configuration simulation:
Assign value ‘FL’ to characteristic COLOR.
Choose
Result.
On the result screen, select header material BIKE and choose
You see the routing for material BIKE.
Select operation ‘Paint bike’ and choose
Information.
You see that the standard value has increased from 30 minutes to 60 minutes.
Choose
Characteristics
and assign value ‘Yes’ to characteristic METALLICEFFECT.
Display the result.
The standard value has increased to 90 minutes.
See also: