• Home
  • About Me
  • Contact Me
  • Downloads
  • White Papers
  • Web Sites
  • Post List
  • Articles
  • FAQ

Olof Simren - Microsoft Dynamics 365 Business Central Blog

  • Home
  • About Me
  • Contact Me
  • Downloads
  • White Papers
  • Web Sites
  • Post List
  • Articles
  • FAQ

Equisys ZetaDocs with Tectura Document Configurator

April 27, 2014 Posted by Olof Simren Development, General No Comments

How do I get the Equisys ZetaDocs add-on to work with the Tectura Document Configurator? There are some tricks to know, but once you know them it is actually easier then making it work with the standard Microsoft Dynamics NAV reports (and less object changes required).

ZetaDocs is a document management add-on that among other things provides functionality to e-mail and apply templates (stationery and attachments) to documents printed from Dynamics NAV.

The Document Configurator is an add-on that controls the content and layout of the documents through a configuration in Dynamics NAV (and therefor eliminates the hassle of Visual Studio and RDLC programming).

Both of them are top Dynamics NAV add-ons, getting them to work together provides a great solution for printing and delivering document out of Dynamics NAV.

Here is how to do it, we use a sales invoice as an example.

First we need to modify the report that prints the sales invoice. The Document Configurator prints all documents with the same format using the same report. If you are printing sales invoices in the portrait letter format then it uses report ‘12032029 – DC – Letter Portrait’ to render the print.

Open the report in design mode and save it as a new report (I saved it as ‘50001 – DC – Letter Portrait – ZD’ in this example).

0SaveAsNewReport

Add the two global variables according to below.

1AddTheTwoGlobalVariables

Add the Zetadocs_Reference column according to below.

2aAddZetadocs_ReferenceColumn

Add a Zetadocs DataItem in the end of the dataset according to below, note the properties.

3AddZetadocsItem

The above added ZetaDocs DataItem should have the below C/AL code, make all the variables local. Note that this is slightly changed compared to the code in the standard ZetaDocs reports, the main difference is that the RecRef comes from the document print queue where it is defined as a table number and a position.

4PutCodeOnZetadocsItem

Then add the following code in the OnPreReport and OnPostReport. Note that is is also slightly changed compared to the code in the standard ZetaDocs reports, the main difference is that the report id comes from the document layout record.

5PutCodeOnPreAndPostReport

Open the layout and add a text box on top of the table that is in the body of the report. The text box should have a value of ‘Zetadocs_Reference’ which is the column we added earlier. The text box should not show on the print and if you look at a standard ZetaDocs report then they have the text box set as Hidden = True, this didn’t work for me so I made the Font Color White instead (which seem to work worked 🙂 ). The logo in the header can also be deleted since we want to use the ZetaDocs templates to apply this.

ModifyTheLayout

Close and save the layout and report you just modified.

We then need to update the document layout in Dynamics NAV to use the new report for rendering sales invoices. In our case the ‘SI-01’ document layout is used to print sales invoices, so we set the status to under development, change the render report number to be 50001 and then certifies the layout again.

7aDocumetLayoutSetting

Next we need to create a ZetaDocs Report Settings record with the ‘12032013 – DC – Sales – Invoice’ report.

8ZetaDocsReportSettings

Note that this is not the same report as the report that does the actual printing. The Document Configurator uses a process only report to generate the data and another report to render the printout. The reports that should be configured in ZetaDocs are the once that the user runs when printing (e.g. same as defined in the report selection table).

That’s it!

To test it we print a sales invoice from Dynamics NAV and we get a nice looking e-mail with both subject and body according to the ZetaDocs template and with an attached invoice in PDF format.

PDFMail

The attached invoice in PDF is the invoice generated from the Document Configurator with a template that provides the frame, header and footer from ZetaDocs.

Invoice

Now we can continue and just configure the rest of the Document Configurator reports to print with ZetaDocs, all that are using the letter portrait rendering report that we modified earlier should work with ZetaDocs.

Depending on you ZetaDocs template (e.g. how big the header and footer is) you might need to adjust the height and width of data generated from the Document Configurator. You do this in the OnInitReport trigger of the rendering report.

AdjustTheHeight

Since the report is created in Dynamics NAV based on a configuration where all fields are defined with a position and width, it is quite simple to have a ZetaDocs template that provides a frame and match the layout through changing the configuration. No programming needed.

The above example was done with the ZetaDocs version EQ6.0.317 and the Document Configurator version DC3.13.

You can download the report from the Downloads Page.

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X

Related


Discover more from Olof Simren - Microsoft Dynamics 365 Business Central Blog

Subscribe to get the latest posts sent to your email.

Tags: DevelopmentDocument ConfiguratorEquisysMailPDFReportsTecturaZetaDocs
No Comments
Share
2

About Olof Simren

I am a Microsoft Dynamics NAV and 365 Business Central Expert, I started implementing Microsoft Dynamics NAV in 2002, back then it was called Navision Attain. Throughout the years there has been many exciting implementations in different parts of the world, all of them with different challenges but with one common theme; manufacturing. As a consultant, I bring over 20 years of experience in implementing Microsoft Dynamics NAV and 365 Business Central within manufacturing and distribution companies. The services I offer includes project management, consultation, development and training. Feel free to contact me if you need help with anything related to Microsoft Dynamics NAV or 365 Business Central. I work through my company Naviona where I team up with other skilled Microsoft Dynamics NAV and 365 Business Central Experts.

You also might be interested in

Debugger Break Rules – Break on Records Changes

Mar 5, 2014

I was debugging something today and I noticed the ‘Break[...]

Add Fields to the Item Tracking Lines

Jun 7, 2016

This blog post is to describe how fields can be[...]

Interaction Between Role Center Parts in Dynamics NAV 2013 R2

May 11, 2014

I thought it would be cool to be able to[...]

Leave a Reply

Your email is safe with us.
Cancel Reply

Subscribe to My Blog via Email

Check Out Our Apps in AppSource

My Dynamics NAV Partner

Naviona, LLC

Categories

  • Assembly (3)
  • Development (35)
  • Finance (14)
  • General (28)
  • Inventory (24)
  • Manufacturing (36)
  • Miscellaneous (27)
  • Purchase (9)
  • Sales (11)
  • Warehouse (7)

Tags

.net Add-in AI AppSource Assembly Assembly BOM Business Central CAL Capacity Consumption Contact Copilot Costs Customer Development Dimensions Excel Finance Flushing General Ledger Inventory Item Item Tracking Low-Level Code MRP NAV 2015 NAV 2016 Output Planning Production Production BOM Production Orders Purchase Orders Receipts Reporting Reports Routing Sales Sales Order Stockkeeping Unit Subcontracting Task List Warehouse Warehouse Shipment Work Center

Recent Posts

  • Business Central Configuration Audit using Vibe Coding
  • Copilot in Planning Parameter Worksheet
  • Copilot in Planning Worksheet
  • Copilot Inventory Queries
  • Record Deletion Tool for Business Central in AppSource
  • Reopen Finished Production Orders
  • XML Buffer and CSV Buffer Tables
  • Functionality Improvements in NAV 2017
  • Reversing Production Output and Consumption
  • Return Merchandise Authorization (RMA)

Categories

  • Assembly
  • Development
  • Finance
  • General
  • Inventory
  • Manufacturing
  • Miscellaneous
  • Purchase
  • Sales
  • Warehouse

Contact Us

We're currently offline. Send us an email and we'll get back to you, asap.

Send Message

Categories

  • Assembly (3)
  • Development (35)
  • Finance (14)
  • General (28)
  • Inventory (24)
  • Manufacturing (36)
  • Miscellaneous (27)
  • Purchase (9)
  • Sales (11)
  • Warehouse (7)

Tags

.net Add-in AI AppSource Assembly Assembly BOM Business Central CAL Capacity Consumption Contact Copilot Costs Customer Development Dimensions Excel Finance Flushing General Ledger Inventory Item Item Tracking Low-Level Code MRP NAV 2015 NAV 2016 Output Planning Production Production BOM Production Orders Purchase Orders Receipts Reporting Reports Routing Sales Sales Order Stockkeeping Unit Subcontracting Task List Warehouse Warehouse Shipment Work Center

Recent Posts

  • Business Central Configuration Audit using Vibe Coding
  • Copilot in Planning Parameter Worksheet
  • Copilot in Planning Worksheet
  • Copilot Inventory Queries
  • Record Deletion Tool for Business Central in AppSource
  • Reopen Finished Production Orders
  • XML Buffer and CSV Buffer Tables
  • Functionality Improvements in NAV 2017
  • Reversing Production Output and Consumption
  • Return Merchandise Authorization (RMA)

Recent Comments

  • Olof on Business Central Configuration Audit using Vibe Coding
  • Andrew Trayfoot on Business Central Configuration Audit using Vibe Coding
  • Barrett Allen on Reopen Finished Production Orders
  • Kateryna on Business Central Configuration Audit using Vibe Coding
  • Takeshi Setoya on Reopen Finished Production Orders
  • Steve on Consignment Inventory
  • Olof Simren on Copilot in Planning Worksheet
  • Omaer Amjad on Copilot in Planning Worksheet

© 2026 · Olof Simren

  • Home
  • About Me
  • Contact Me
  • Downloads
  • White Papers
  • Web Sites
  • Post List
  • Articles
  • FAQ
Prev Next