I have a field on all of my Quote Items that calculates the sqft of Height x Width (cItemSqft).
I would like to total all of the cItemSqft fields in the parent Quote (cTotalSqft) float field.
I have tried:
Still unable to get this working. Any ideas?
I would like to total all of the cItemSqft fields in the parent Quote (cTotalSqft) float field.
I have tried:
Code:
cTotalSqft = entity\sumRelated('quoteItems', 'cItemSqft');
Code:
cTotalSqft = record\sum('QuoteItem', 'cItemSqft', 'quoteId', id);
Comment