Suspension Rail Fittings
SuspensionRailFittingsRule
Calculates extra fittings for suspension rails.
Notification level: ℹ
Key | Value |
---|---|
ID | SuspensionRailFittingsRule |
Translation key | Not applicable |
Behavior
This rules calculates non-viewer elements such as extra fittings for suspension rails and updates them in the Bill Of Materials (BOM) and summary.
Affected products
The rule affects the following products:
- Corner cabinets with the tags or conditions specified by Range Maintainer
CornerCabinets
. - High cabinets with the tags or conditions specified by Range Maintainer
HighCabinets
. - High cabinets with the tags or conditions specified by Range Maintainer
HalfHeightCabinets
. - Ovens with the closed tag or conditions specified by Range Maintainer
Oven
. - Fridge with the closed tag or conditions specified by Range Maintainer
Fridge
and an option with the IDlayout
and the valuefreestanding
. - All the furniture having the parameter
railOption
with dbID parameters specified by Range Maintainer.
Overload Parameter
The cabinet legs positioning is managed through the following product parameters.
Key name | Type | Possible value | Description |
---|---|---|---|
suspensionRailFittingsID | string/ Array of strings | – | The extra fittings product ID/ Array of product IDs. Mandatory. |
suspensionRailFittingsLength | number | 2800 | The length of 1 extra fitting product, in mm. Mandatory. |
productIds | array | ["75111","14830"] | The list of product dbIDs to be excluded from suspension rail fittings. Optional. |
productTypeID | array | [22, 144] | The list of product closed tag IDs to be compared with given range values for exclusion from suspension rail fittings. Optional. |
parameter | string | depth, width | Parameter with which existing product to be filtered using comparision. Optional. |
comparison | string | EQUAL (==), EQ (==, same as EQUAL), GT (>), GTE (>=), LT (<) or LTE (<=) | Comparison operator between provided and actual values. Optional. |
value | number | 410 | Parameter value to be compared, in mm. Optional. |
Here is what the the business rule could look like :
{
"suspensionRailFittingsID": ["fittingElementProductID"],
"suspensionRailFittingsLength": 2800,
"exclude": {
"productIds": ["75111", "HINGE_RULE_U80","14830"],
"conditions": [
{
"productTypeID": [22, 144],
"parameter": "depth",
"comparison": "EQUAL",
"value": 600
},
{
"productTypeID": [216],
"parameter": "depth",
"comparison": "LT",
"value": 370
}
]
}
}