Installation guide

Zetadocs for NAV Installation Guide
This edition 5
th
December 2012 © Copyright Equisys plc 2012 All trademarks acknowledged All rights
reserved
Page 98
17. Zetadocs-Send Customize codeunit
By now you should have a good idea of what this codeunit is for. Up until now we have been exploring the
internal processing and control flow of the Zetadocs for NAV Addin. By using specific settings and writing
some code in the Zetadocs-Send Integration codeunit and the Zetadocs Send Result table triggers it is
possible to completely integrate and customize Zetadocs for NAV into an NAV system. We have also seen
the potential to implement business specific logic into the sending mechanism and expand on the Zetadocs
for NAV product functionality. There is still however room to take it further.
This section details the two basic functions in the Zetadocs-Send Customize codeunit (9009962) that allow
the implementation of more business specific send logic as well as document formatting and archiving
customizations.
17.1 GetAdditionalEmbComms
This function is deprecated in version 5.0 of Zetadocs for NAV. It remains for backward compatibility with
the old report mark-up method. Please use WriteAdditionalEmbCommsToFile instead.
17.2 OverrideSendResult
As the name suggests this function gives you the whole send result. At this point the result has been
completely resolved by Zetadocs and any custom code that has been implemented by you in the various
areas explained earlier in this document. This then allows you to modify the completed record as a whole.
The only place the results can be edited after this are in the Zetadocs Delivery Dialogs or the Zetadocs
Errors Dialogs depending on your display settings for these dialogs, as specified in the Zetadocs Report
Settings (potentially overridden by the OverrideSendSettings in the Zetadocs-Send Integration codeunit).
Let’s examine the Zetadocs Send Result table a little more closely now for the first time.
Figure 40 - Zetadocs Send Result