PRB: Adding customized embedded commands in Zetadocs for NAV v4 fails unexpectedly
ZTN4159
ID: ZTN4159
This Zetadocs technical note applies to:
- Zetadocs v4 and later.
Symptom
When delivering a report that has been customized and contains custom embedded commands, the current document delivered to the Zetadocs Client may not include all the customized commands.
Cause
The documentation guide “Zetadocs for Microsoft Dynamics NAV Installation Guide” refers to the function named “GetAdditionalEmbComms” located in the Zetadocs Send Customize NAV Code Unit (9009962) to add additional embedded commands.
The behaviour of this function changed in Zetadocs for NAV versions 4.0 and later. It should not be used for the purpose of adding customized embedded commands.
Resolution
The function to be used to add additional embedded commands is “WriteAdditionalEmbCommsToFile” and is located in the Zetadocs Send Customize Code Unit (9009962). It is necessary to move your customized code to this function.
Status
This has been identified by Equisys as a problem with the software versions given above.
Last updated: 13th December 2011 (SD/MW)