Codeunit 8076 Deferral Post. Preview Binding
Source AL, 35 lines
src/Apps/W1/Subscription Billing/App/Deferrals/Codeunits/DeferralPostPreviewBinding.Codeunit.allines 5 to 20 of 35, Copyright (c) Microsoft Corporation. MIT
codeunit 8076 "Deferral Post. Preview Binding"{ [EventSubscriber(ObjectType::Codeunit, Codeunit::"Gen. Jnl.-Post Preview", OnAfterBindSubscription, '', false, false)] local procedure BindDeferralPreviewHandlerOnAfterBindSubscription() begin TryBindPostingPreviewHandler(); end; [EventSubscriber(ObjectType::Codeunit, Codeunit::"Gen. Jnl.-Post Preview", OnAfterUnbindSubscription, '', false, false)] local procedure UnbindDeferralPreviewHandlerOnAfterUnbindSubscription() begin TryUnbindPostingPreviewHandler(); end; local procedure TryBindPostingPreviewHandler(): Boolean