Codeunit 8078 Deferral Post. Preview Subscr.
Source AL, 53 lines
src/Apps/W1/Subscription Billing/App/Deferrals/Codeunits/DeferralPostPreviewSubscr.Codeunit.allines 6 to 21 of 53, Copyright (c) Microsoft Corporation. MIT
codeunit 8078 "Deferral Post. Preview Subscr."{ var TempCustSubContractDeferral: Record "Cust. Sub. Contract Deferral" temporary; TempVendSubContractDeferral: Record "Vend. Sub. Contract Deferral" temporary; PostingPreviewEventHandler: Codeunit "Posting Preview Event Handler"; [EventSubscriber(ObjectType::Codeunit, Codeunit::"Posting Preview Event Handler", OnGetEntries, '', false, false)] local procedure GetEntriesOnGetEntries(TableNo: Integer; var RecRef: RecordRef) begin GetAllTables(); case TableNo of Database::"Cust. Sub. Contract Deferral": RecRef.GetTable(TempCustSubContractDeferral); Database::"Vend. Sub. Contract Deferral": RecRef.GetTable(TempVendSubContractDeferral);