I have a custom field type number named “Weight” in inventory items.
I have checked it to show in print documents but I’d like to create a sum as well that will work as well.
Weight * Quantity
And then show the Total Sum of Weight at the end.
Weight sum per Item line, is not required.
I have to remind you that in Delivery notes, no totals are shown by default.
This Guide is an introduction to calculations with custom fields: https://www.manager.io/guides/17115. Because your line-item custom fields are being generated in a loop, I think you will need to implement a serial addition operation, then display the final result after the loop execution ends. But the exact process is beyond the scope of this forum.
Well I am trying to calculate the multiplication of a custom “Weight” column I have with the quantity of each row.
I am trying to find the index of that quantity column though…
Here I am noting the column index of the two columns