How should the data be formatted to correctly update the numeric or date fields in my documents?
In general, the data that is placed in the transaction record by the trigger programs should be formatted exactly the same way that a user would manually enter the data into the Notes document field. For example, date fields should be formatted as “mm/dd/yy” or “mm/dd/yyyy” (in North America), and numbers should be formatted with decimal places, no commas, and leading minus signs (using RPG edit code “P”).