Codeunit 6496 Serv. Posting Preview Binding
Source AL, 37 lines
src/Layers/W1/BaseApp/Service/Finance/Preview/ServPostingPreviewBinding.Codeunit.allines 7 to 22 of 37, Copyright (c) Microsoft Corporation. MIT
codeunit 6496 "Serv. Posting Preview Binding"{ [EventSubscriber(ObjectType::Codeunit, Codeunit::"Gen. Jnl.-Post Preview", 'OnAfterBindSubscription', '', true, false)] local procedure BindPostPrevEventHandlerOnAfterBindSubscription() begin TryBindPostingPreviewHandler(); end; [EventSubscriber(ObjectType::Codeunit, Codeunit::"Gen. Jnl.-Post Preview", 'OnAfterUnbindSubscription', '', true, false)] local procedure UnbindPostPrecEventHandlerOnAfterUnbindSubscription() begin TryUnbindPostingPreviewHandler(); end; local procedure TryBindPostingPreviewHandler(): Boolean