Application Studio - Sum View Column - Get List


I am populating a view using the rest-erp widget and then using the view to populate a grid panel.

Is there any way of summing a column of a view to populate a currency box component on the page (e.g. {PartTran.ExtCost}.sum())?



I don’t believe there is a sum method but I may be wrong. What you could do is write a function to accept your dataset just after calling it and sum your column there and just return the summed column value. You’ll find the data returned to actionResult unless you tell the function to return it another place.

Just then use actionResult.sumValuePartCost

Ok - thanks for confirming.