I am trying to calculate the sum of a found set using a script.
The way I'm doing is:
Use the perform find to find the required records.
sort the records using the field required
Then use: GetSummary(summaryfield; breakfield)
However it's outputting wrong data.
What I might have done wrong?