Equisys Technical Notes

Technical guidance, explanations and fixes for our products

TechNotes_Parallax

PRB: Remittance Advice Journal sent to wrong recipient using Zetadocs NAV Server Delivery

Print

ZTN4500

This Zetadocs technical note applies to:

  • Zetadocs for NAV versions 8, 9 and 9.1
  • Dynamics NAV 2015 and later
  • Zetadocs NAV Server Delivery

Symptom

When sending a batch of remittance advices from the Payment Journal, the user finishes queueing up the job and immediately posts it. Zetadocs fails to deliver the batch with the following error “Error whilst creating PDF The Gen. Journal Line does not exist. Identification fields and values: Journal Template Name='PAYMENTS',Journal Batch Name='DEFAULT',Line No.=1” as the records no longer exist.

If the user does another payment run creating new entries in the Gen. Journal Line table and then retries the previously failed job, the retried job entries will be sent with the wrong PDF attached in the email.

Cause

Zetadocs uses the table key to identify records to be sent (in this case: Journal Template Name, Journal Batch Name and Line No.). If a job is stopped/fails half way through before having the chance to generate the PDF documents before they get deleted, Zetadocs will try to recreate them on retry by asking NAV to generate the Report with RecordID -> JournalTemplate,JournalBatch,LineNo.

As NAV reuses the keys after the records get posted, when Zetadocs asks for a report PDF for Record x it will match it against the wrong data and generate the wrong PDF, thus sending it to the wrong contact.

Resolution

Zetadocs for NAV version 10.0 has added protection to avoid the issue by using secondary key validation.

Status

This issue is resolved in version 10 of Zetadocs for NAV.

References

HOWTO: Send Remittance Advice reports using Zetadocs

Last updated: 10th January 2018 (JC/CR) 

Keywords: Payment journal, ledger entries

Name:
Email:
Subject:
Message:
x
EquisysLogo

Recent news

Glance through any MBA course book and you’ll find the words “competitive advantage” used liberally throughout. In the modern, highly connected and competitive business landscape, sources of ...

Today we celebrate completing 100 sprints of development work on Zetadocs Expenses. It's been quite a journey since we started building software for today's cloud, mobile and hybrid world , and ...