Codeunit 20 Posting Preview Event Handler

Base Application, Microsoft.Finance.GeneralLedger.Preview

Source AL, 1,100 lines

src/Layers/W1/BaseApp/Finance/GeneralLedger/Preview/PostingPreviewEventHandler.Codeunit.allines 49 to 64 of 1,100, Copyright (c) Microsoft Corporation. MIT

codeunit 20 "Posting Preview Event Handler"{    EventSubscriberInstance = Manual;    trigger OnRun()    begin    end;    var        TempGLEntry: Record "G/L Entry" temporary;        TempVATEntry: Record "VAT Entry" temporary;        TempValueEntry: Record "Value Entry" temporary;        TempItemLedgerEntry: Record "Item Ledger Entry" temporary;        TempFALedgEntry: Record "FA Ledger Entry" temporary;        TempCustLedgEntry: Record "Cust. Ledger Entry" temporary;        TempDtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry" temporary;

All 1,100 lines

Events 22 in 29

[IntegrationEvent] OnAfterFillDocumentEntry(var DocumentEntry: Record "Document Entry")17-29
[IntegrationEvent] OnGetEntries(TableNo: Integer; var RecRef: RecordRef)17-29
[IntegrationEvent] OnAfterShowEntries(TableNo: Integer)17-29
[IntegrationEvent] OnBeforeModifyTempGLEntry(var Rec: Record "G/L Entry"; var TempCustLedgerEntry: Record "G/L Entry")new in 18
[IntegrationEvent] OnBeforeModifyTempCustLedgEntry(var Rec: Record "Cust. Ledger Entry"; var TempCustLedgerEntry: Record "Cust. Ledger Entry")new in 18
[IntegrationEvent] OnBeforeModifyTempDtldCustLedgEntry(var Rec: Record "Detailed Cust. Ledg. Entry"; var TempCustLedgerEntry: Record "Detailed Cust. Ledg. Entry")new in 18
[IntegrationEvent] OnBeforeModifyTempVendLedgEntry(var Rec: Record "Vendor Ledger Entry"; var TempVendLedgerEntry: Record "Vendor Ledger Entry")new in 18

All 22 events

Public procedures 7 in 29

GetEntries(TableNo: Integer; var RecRef: RecordRef)17-29
ShowEntries(TableNo: Integer)17-29
FillDocumentEntry(var TempDocumentEntry: Record "Document Entry" temporary)17-29
InsertDocumentEntry(RecVar: Variant; var TempDocumentEntry: Record "Document Entry" temporary)17-29
PreventCommit()17-29
IsTransactionConsistent(): Booleannew in 19

All 7 procedures

Changes 1 in 29

List17181920212223242526272829
Procedures2
Events5131
[IntegrationEvent] OnBeforeModifyTempSpendRequestToGLEntryLink(var Rec: Record "Spend Request To G/L Link"; var TempSpendRequestToGLEntryLink: Record "Spend Request To G/L Link")new in 29
added

All 21 changes in 17-29