2 Replies Latest reply on Jul 6, 2017 6:29 AM by nexgen

    Sum of Found Set Using Script

    nexgen

      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?