This error usually occurs when a record contains invalid data or data that is formatted incorrectly for the field type. The usual culprit is an invalid date, usually blank. Check the transaction for errors. It may be necessary to explore the tables from the Pervasive Control Center to find the record that is causing the error. In the past, this error can be caused by a partial record in the table.
Specific instances of this error:
RTE 13 when printing invoice and credit memo register
Caused by a blank record in the credit memo table.