Equisys technical notes

Technical guidance, explanations and fixes for our products

FIX: Sending a report using Zetadocs for NAV causes NAV to hang



ID: ZTN4123

This Zetadocs technical note applies to:

  • Zetadocs for NAV 4.0 or later


While printing the report from NAV to the Zetadocs printer you see an error dialog after the Zetadocs Delivery or Zetadocs Batch Delivery dialog which says that the report cannot close because it is still running. You may also experience this problem without seeing the error dialog. In this case, the NAV client will become frozen after printing a report to the Zetadocs PDF printer.


This occurs because not all automation objects (non NAV components) are getting released by the software during the report printing. These objects prevent NAV from completing the report and lock up the NAV client.


This problem can be resolved by adding a line of code to the Zetadocs code in your NAV report.

From the Object Designer:

  1. Open the report in question in the report designer
  2. View the report code and locate the trigger “Report – OnPostReport()”. (This can be done by selecting the empty row at the bottom of the data items dialog and pressing F9
  3. Add the line CLEAR(ZdSend); as shown here
  4. Close and save the report.


This fault was corrected in 4.0.121 of the Zetadocs Report Tool

Last updated:  13/04/2011 (BM/MW)

Equisys Logo, Document Management and Expense Management for Business Central

Replaced by script
Recent news

Understanding the profitability of projects is often a difficult and cumbersome process, especially if there is a lack of visibility around all the project costs. Getting that visibility of all ...

This article describes the new features and other improvements in the September 2021 update of the Zetadocs Expenses service. Zetadocs Expenses Release ...

North America
Equisys Inc
30000 Mill Creek Avenue
Suite 335
Alpharetta, GA 30022
(770) 772 7201
Equisys Ltd
91 Southwark Bridge Road
United Kingdom
+44 (0)20 7203 4000

© Equisys Ltd
All rights reserved

© Equisys Ltd    All rights reserved    Contact    Privacy policy    Cookies