Script Helper
RPT-017 Members Test before use
Running record sequence number
Outputs 1, 2, 3… across the file; the final value is the total record count.
Reports & EDI › Report fieldReport/EDIIntermediate
Test before use. This script hasn't been tested by Catalyst Workflow yet. Run it in a non-production case first.
JScript.NET
1// Report field — Sequence number (place AFTER any field scripts that may skip the record)
This script is for members
Members see the full code, the values to change and the cautions.
See membershipAlready a member? Sign inHow it works
Only counts rows that will be emitted. On the last record the total is available for trailers or debugging.
Members also see 0 values to change and 1 caution for this script.