HOWTO: Disable NAV write-back feature Print ZTN4222 ID: ZTN4222 This Zetadocs technical note applies to: Version 1.0 of Zetadocs for Microsoft Dynamics NAV - Payables Approval Summary This technote explains how to disable the NAV write-back functionality which is part of the ‘Integration with NAV’ feature of Zetadocs Payables Approval. This feature automatically updates the status of the invoices in Dynamics NAV during the process of approval.For instance, once a purchase invoice is approved in Zetadocs Approvals, the status of the invoice in Dynamics NAV will be changed from ‘Open’ to ‘Released’. More information To disable this functionality, simply do the following: Open the Dynamics NAV Development Environment/Classic Client and connect to the company setup for Zetadocs Approvals. Open the Object Designer (Shift + F12). In the Codeunit section, locate the codeunit named “Zetadocs-Approvals + Capture” and click Design. Locate the following functions: PurchaseInvoiceApproved PostedPurchaseInvoiceApproved Comment out the content of these functions by putting comment characters at the beginning and end of each function. Respectively ‘{‘ and ‘}’. At the beginning of each function enter the following code: EXIT(0); Close, save and compile the codeunit. The Zetadocs Approvals process will no longer write back to update the status of invoice items in the Dynamics NAV database. Important: A Dynamics NAV Developer license is required to perform these steps. Last updated: 27th December 2012 (SD/MW)