how does Posting preview work on the back-end of NAV?


does anyone here know how these G/L Entries Populate?

because I need to add a entry from a different table to the G/L Entry Row.

Thanks' in advance!


  • Posting preview runs the same posting routine that would do normal posting, but in the end of it, copies all entries created during the posting process, into temporary tables, and after that rolls back the transaction.

    This table where you want to add new records is a temporary instance of the table 265 "Document Entry". If you want to manipulate its content before showing it to the user, subscribe to the event OnAfterFillDocumentEntry of the codeunit 20 (Posting Preview Event Handler) - it will give the list from the screenshot, before showing it in the page.