FIX: Zetadocs fails to archive documents to be sent on Business Central 17 systems
ZTN4550
This Zetadocs technical note applies to:
- Zetadocs Delivery and Capture Extension 1.2.20274.x and earlier
- Business Central 17
Symptom
When using Zetadocs Delivery, the process fails and is kept in the Zetadocs Delivery Outbox with the error message "Failed to validate the record to be sent. The record has been changed and it does not match the previously queued record.".
The email is observed to be sent, but the document is not archived in the Zetadocs Factbox/SharePoint.
Cause
To avoid a possible data breach, Zetadocs validates the records to be sent during the delivery process. In particular, Zetadocs ensures the data available in the primary key fields has not changed since the user validated them to be sent.
Business Central 17 introduced a new primary key field in many tables "SystemModifiedAt" which includes a date time that is modified during the Zetadocs Delivery Process, triggering the Zetadocs protection.
Resolution
An update is available here to address this issue.
The failed deliveries can then be resumed in the Zetadocs Delivery Outbox
Status
This behaviour was corrected in the update detailed above.
Last updated: 16th November 2020 (CR/NT)
Keywords: Zetadocs Delivery, Failed to validate the record, BC17