Open topic with navigation
How to create summable attributes
The attribute parameter Number has an option summable. This option allows to add a table with sums of values to the document.
Create summable attribute
- Open attached project "attribute_summable.esa"
- Open service Attributes and open library Attribute definition.
- Edit attribute definition "weight", open tab "Parameters" and select "weight" in the list. Start editing.
- Check "Summable" option and close the dialogue.
- Start the command weight from the service menu. Change the value to 3 in the inserting dialogue. Confirm by OK.
- Insert the attribute instance on the first column.
- Start the command again. Change the value to 5 and insert it on the second column.
Add table "Bill of material to the old document.
- Check the functionality for Old style document. Open document.
- Open list of insertable items (button New). Select group "Special" and item "Bill of material by attributes".
- Add it to the document and refresh.
- There is a column Total weight (kg) which displays the summ of both attribute instances which is inserted to the project.
The final project is attached as "attribute_summable-finished.esa".
Open topic with navigation