I have a Sum field for a table that is zeroed out when Billable Items Labor Checkbox is unchecked.
These Table Totals also sum to a Grand Total Field.
Here is the calculation I use inside each total field:
=IF(Billable_Items.Labor, SUM(Labor.Amount), "0")
This is the calculations on the Grand Total:
=SUM(Total_Equipment,Total_Labor,Total_Materials,Total_Other)
When the form is saved down into Laserfiche. The Grand Total is reflecting the sum of all even if the Labor box is unchecked and zero.
You can see the grand total does not reflect the show table totals for Material and Equipment.
Checking Labor, the missing amount that is not being correctly zeroed is there in the metadata.
I wanted to see why this is happening only some times but also if there is a better solution for making sure Table Totals are truly zeroed out upon saving to the Repository when Billable Items value is unchecked.