Mapping table between plinths and legs.
Notification level: Not applicable
This rule checks the consistency of plinth products and leg products by creating a mapping table between them, because some legs are not compatible with some plinths and conversely.
It is triggered if plinths and legs are in the current configuration, and when the user changes the plinths or legs. The application checks the compatibility of these elements.
|Any product ID
|the overload object is a mapping table: the key represents the product ID of the plinth, the value represents the product ID of the leg. Mandatory.
The mapping is represented by a JSON object where each key is a
plinthID and its value is the
Following the overload described above, if the user chooses a plinth whose product ID is "15779", the value of the leg will change to "13805". Therefore, all the furniture having this plinth product ID will change its leg value to "13805". The consistency between both leg and plinth is ensured and the kitchen is valid.