with Formulas, Tables, Variables and beas-Script on field level
Bill of materials:
If you double-click on a BOM position in the Bill of Materials area in the item master data sheet, a processing window for that BOM position opens. A formula or product configurator variable (variant) etc. can be stored for all properties of the BOM position (except field "Position") identified by the symbol to the left of the input fields.
The symbol can be displayed by right-clicking in a free area of the processing window
(Display formula fields).
Double-clicking on the symbol in front of the input field will open a window containing the type and name (value) of the allocation:
For each BOM position you can input, for example, the quantity depending on the specifications entered in the variant using the references described in the above table. For example, if the quantity of the cover fabric is calculated in the product configurator depending on the size of the sofa - e.g. using a “set” object material_quantity, that contains the corresponding value, a reference to this “set” object can be defined for the quantity field of the BOM position. This value is then copied to the BOM position field when calculating the bill of materials.
The same procedure is possible for the item field of a BOM position - items on a bill of materials can be exchanged in this way. For example, if there is a parameter cover fabric, in the configuration structure that can accept the values MatRed and MatBlue from a reference for the item field of the BOM position (where MatRed and Matgreen is replaced by MatBlue must be existing item numbers).
The procedure for working with references can be used for all properties
of a BOM position or operation that have the symbol.
As in the customization of BOM positions, routing positions can also be customized by storing references to the variant.
Customizing the routing description
In addition, in the operation description, additional information on the BOM, or item, information from a formula or variant can also be stored in the description of a routing.
Placeholders can be inserted into routing descriptions for this purpose. These placeholders begin with < and end with >. All variables as well as separate formulas, tables, types of origin, etc. can be inserted.
The origin itself is defined in the placeholder using origin type and ":".
The type "Script" is used if the type of origin is not specified.