Script Helper
RPT-001 Free Test before use
Date as MM/dd/yyyy
Formats a record date field in US format, blank when empty.
Reports & EDI › Report fieldReport/EDIBeginner
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 — Effective date as MM/dd/yyyy2var d = Event.Record['EffectiveDate']; // CHANGE: source field3Event.Value = (d != null) ? String.Format('{0:MM/dd/yyyy}', d) : '';Highlighted lines are marked CHANGE — swap in your own values before using.
How it works
Event.Record['Field'] reads any field on the current row; Event.Value is what this field outputs.
Values to change
- Source field