Example:
Shape and Size Variants
You can use table references in actions and procedures to calculate the variable-size item quantity for variable-size items.
Requirements
Configurable material DOOR has the following characteristics:
Characteristic |
Value |
Dependent values |
DOOR_WIDTH |
0,6100 |
X |
|
0,7350 |
||
DOOR_HEIGHT |
1,980 |
X |
BOM:
Item |
Component |
Item category |
Dependencies |
0030 |
DOOR_PANEL_01 |
L (stock item) |
Selection condition: DOOR_WIDTH = 0.6100 and DOOR_HEIGHT = 1.980 |
0040 |
DOOR_PANEL_02 |
L (stock item) |
Selection condition: DOOR_WIDTH = 0,7350 and DOOR_HEIGHT = 1.980 |
0050 |
DOOR_PANEL_S |
R (raw material) |
Selection condition: DOOR_WIDTH not 0.6100 or 0.7350 DOOR_HEIGHT not 1.980 Procedure to infer sizes and calculate variable-size item quantity |
If you enter the standard sizes for DOOR_HEIGHT and DOOR_WIDTH, either DOOR_PANEL_1 or DOOR_PANEL_2 is selected from the BOM.
However, if you enter any other size, the component DOOR_PANEL_S (special) is selected.The sizes for the special door panel are inferred using an procedure.
Procedure
Create Selection Conditions
1.
Create the following selection conditions for the individual door panels:DOOR_PANEL_01:
DOOR_WIDTH = 0.6100 and DOOR_HEIGHT = 1.980
DOOR_PANEL_02:
DOOR_WIDTH = 0.7350 and DOOR_HEIGHT = 1.980
DOOR_PANEL_S:
NOT ((DOOR_WIDTH = 0.6100 and DOOR_HEIGHT = 1.980)
or (DOOR_WIDTH = 0.7350 and DOOR_HEIGHT = 1.980))
2.
Allocate the selection conditions to the individual BOM items.When you configure the door, the appropriate door panel is selected for the DOOR_WIDTH and DOOR_HEIGHT you enter.
Create Procedure
1.
Create reference characteristics that refer to the fields Size 1, Size 2, and Variable-size item quantity in the BOM item:
Characteristic |
Table |
Field |
SIZE_1 |
STPO |
ROMS1 |
Size_2 |
STPO |
ROMS2 |
VSI_qty |
STPO |
ROMEN |
2.
$SELF.SIZE_1 = DOOR_WIDTH;
$SELF.SIZE_2 = DOOR_HEIGHT;
$SELF.VSI_QTY = DOOR_WIDTH * DOOR_HEIGHT.
3.
Allocate the procedure to BOM item DOOR_PANEL_S.Result
When you configure a door, the values you assign to characteristics DOOR_WIDTH and DOOR_HEIGHT trigger the procedure, which sets values for Size 1 and Size 2 and calculates the variable-size item quantity.