{"title":"Codeunit 19 Gen. Jnl.-Post Preview, events","url":"https://jonas-paprotka.de/ref/codeunit/19-gen-jnl-post-preview/events/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":19,"name":"Gen. Jnl.-Post Preview","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/19-gen-jnl-post-preview/","json":"https://jonas-paprotka.de/ref/codeunit/19-gen-jnl-post-preview.json"},"aspect":"events","total":11,"rows":[{"name":"OnRunPreview","sig":"(var Boolean, Variant, Variant)","named":"(var Result: Boolean; Subscriber: Variant; RecVar: Variant)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var Result: Boolean; Subscriber: Variant; RecVar: Variant)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterBindSubscription","sig":"(var Codeunit Posting Preview Event Handler)","named":"(var PostingPreviewEventHandler: Codeunit \"Posting Preview Event Handler\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PostingPreviewEventHandler: Codeunit \"Posting Preview Event Handler\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterUnbindSubscription","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnSystemSetPostingPreviewActive","sig":"(var Boolean)","named":"(var Result: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var Result: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterIsActive","sig":"(var Boolean)","named":"(var Result: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var Result: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeShowAllEntries","sig":"(var Record Document Entry, var Boolean)","named":"(var TempDocumentEntry: Record \"Document Entry\" temporary; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-18","first":17,"last":18,"obsoleteSince":null,"spans":[{"from":17,"to":18,"named":"(var TempDocumentEntry: Record \"Document Entry\" temporary; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeThrowError","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterShowAllEntries","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeRunPreview","sig":"(Variant, Variant)","named":"(Subscriber: Variant; RecVar: Variant)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(Subscriber: Variant; RecVar: Variant)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeShowAllEntries","sig":"(var Record Document Entry, var Boolean, var Codeunit Posting Preview Event Handler)","named":"(var TempDocumentEntry: Record \"Document Entry\" temporary; var IsHandled: Boolean; var PostingPreviewEventHandler: Codeunit \"Posting Preview Event Handler\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(var TempDocumentEntry: Record \"Document Entry\" temporary; var IsHandled: Boolean; var PostingPreviewEventHandler: Codeunit \"Posting Preview Event Handler\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnShowAllEntriesOnCaseElse","sig":"(var Record Document Entry, var Codeunit Posting Preview Event Handler)","named":"(var TempDocumentEntry: Record \"Document Entry\" temporary; var PostingPreviewEventHandler: Codeunit \"Posting Preview Event Handler\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(var TempDocumentEntry: Record \"Document Entry\" temporary; var PostingPreviewEventHandler: Codeunit \"Posting Preview Event Handler\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}