Codeunit 226 CustEntry-Apply Posted Entries

Base Application, Microsoft.Sales.Receivables

Source AL, 1,038 lines

src/Layers/W1/BaseApp/Sales/Receivables/CustEntryApplyPostedEntries.Codeunit.allines 22 to 37 of 1,038, Copyright (c) Microsoft Corporation. MIT

codeunit 226 "CustEntry-Apply Posted Entries"{    EventSubscriberInstance = Manual;    Permissions = TableData "Cust. Ledger Entry" = rimd;    TableNo = "Cust. Ledger Entry";    trigger OnRun()    var        ApplyUnapplyParameters: Record "Apply Unapply Parameters";        SequenceNoMgt: Codeunit "Sequence No. Mgt.";    begin        SequenceNoMgt.SetPreviewMode(PreviewMode);        if PreviewMode then            case RunOptionPreviewContext of                RunOptionPreview::Apply:                    Apply(Rec, ApplyUnapplyParametersContext);

All 1,038 lines

Events 28 in 29

[IntegrationEvent] OnAfterCheckReversal(CustLedgerEntry: Record "Cust. Ledger Entry")17-29
[IntegrationEvent] OnAfterPostApplyCustLedgEntry(GenJournalLine: Record "Gen. Journal Line"; CustLedgerEntry: Record "Cust. Ledger Entry"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")17-29
[IntegrationEvent] OnBeforeApply(var CustLedgerEntry: Record "Cust. Ledger Entry"; var DocumentNo: Code[20]; var ApplicationDate: Date)17-29
[IntegrationEvent] OnBeforeGetApplicationDate(CustLedgEntry: Record "Cust. Ledger Entry"; var ApplicationDate: Date; var IsHandled: Boolean)17-29
[IntegrationEvent] OnCollectAffectedLedgerEntriesOnAfterSetFilters(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; DetailedCustLedgEntry2: Record "Detailed Cust. Ledg. Entry")17-29
[IntegrationEvent] OnGetApplicationDateOnAfterSetFilters(var ApplyToCustLedgEntry: Record "Cust. Ledger Entry"; CustLedgEntry: Record "Cust. Ledger Entry")17-29
[IntegrationEvent] OnFindLastApplEntryOnAfterSetFilters(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry")17-29

All 37 events in 17-29

Public procedures 15 in 29

GetApplicationDate(CustLedgEntry: Record "Cust. Ledger Entry"): Date17-29
FindLastApplEntry(CustLedgEntryNo: Integer): Integer17-29
UnApplyDtldCustLedgEntry(DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry")17-29
UnApplyCustLedgEntry(CustLedgEntryNo: Integer)17-29
CheckReversal(CustLedgEntryNo: Integer)17-29
ApplyCustEntryFormEntry(var ApplyingCustLedgEntry: Record "Cust. Ledger Entry")17-29

All 22 procedures in 17-29

Changes 1 in 27

List17181920212223242526272829
Procedures11417
Events21046221
[IntegrationEvent] OnPostUnApplyCustomerCommitOnAfterPreviewMode(CustLedgerEntry: Record "Cust. Ledger Entry")new in 27
added

All 50 changes in 17-29