codeunitFinanceofficial - Microsoftderived - from the source, no model text

Codeunit 386 "Reverse Payment Rec. Journal"

Base Application · Microsoft.Bank.Reconciliation

Across versions

  1. BC23-26present
  2. BC271 events added
  3. BC285 events added
  4. BC29-30unchanged

Neighbourhood 6 connected objects and pages

Codeunit 224 "EmplEntry-Apply Posted Entries" (calls, 3 links)EmplEntry-Apply Posted EntriesCodeunit 226 "CustEntry-Apply Posted Entries" (calls, 3 links)CustEntry-Apply Posted EntriesCodeunit 227 "VendEntry-Apply Posted Entries" (calls, 3 links)VendEntry-Apply Posted EntriesCodeunit 1340 "Undo Bank Statement (Yes/No)" (calls)Undo Bank Statement (Yes/No)Codeunit 371 "Bank Acc. Recon. Post (Yes/No)" (calls)Bank Acc. Recon. Post (Yes/No)Page 1290 "Payment Reconciliation Journal" (calls)Payment Reconciliation Journal

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Bank.Reconciliation · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnAfterReverseEntry() (integration)
  • OnBeforeReverseEntry(var PaymentRecRelatedEntry: Record "Payment Rec. Related Entry") (integration)
  • OnErrorIfEntryIsNotReversableOnBeforeEntryIsReversable(var IsHandled: Boolean) (integration)
  • OnCopyPaymentRecJournalFromPostedPaymentReconLinesOnAfterInsertBankAccReconciliationLine(var PostedPaymentReconLine: Record "Posted Payment Recon. Line"; var BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line") (integration)
  • OnAfterCreateCopyPaymentRecJournal(var PostedPaymentReconHdr: Record "Posted Payment Recon. Hdr"; var BankAccReconciliation: Record "Bank Acc. Reconciliation") (integration)
  • OnBeforeEntryIsReversable(JournalBatchName: Code[10]; DocumentType: Enum "Gen. Journal Document Type"; AmountToApply: Decimal; AppliesToDocNo: Code[20]; AppliesToID: Code[50]; SourceCode: Code[10]; var Result: Boolean; var IsHandled: Boolean) + BC27 (integration)
  • OnInsertRelatedAndAppliedEntriesOnAfterFilterCustLedgerEntry(var CustLedgerEntry: Record "Cust. Ledger Entry"; var BankAccountLedgerEntry: Record "Bank Account Ledger Entry") + BC28 (integration)
  • OnInsertRelatedAndAppliedEntriesOnAfterFilterVendorLedgerEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var BankAccountLedgerEntry: Record "Bank Account Ledger Entry") + BC28 (integration)
  • OnInsertRelatedAndAppliedEntriesOnAfterFilterEmployeeLedgerEntry(var EmployeeLedgerEntry: Record "Employee Ledger Entry"; var BankAccountLedgerEntry: Record "Bank Account Ledger Entry") + BC28 (integration)
  • OnAfterInsertRelatedAndAppliedEntriesOfGLRegister(var GLRegister: Record "G/L Register"; var PostedPaymentReconHdr: Record "Posted Payment Recon. Hdr"; var StatementLineNo: Integer) + BC28 (integration)
  • OnAfterInsertRelatedAndAppliedEntries(BankAccountNo: Code[20]; StatementNo: Code[20]; StatementLineNo: Integer; AccountType: Enum "Gen. Journal Account Type"; var BankAccountLedgerEntry: Record "Bank Account Ledger Entry") + BC28 (integration)

Event subscriptions

  • SetGLRegisterNoInPostedPaymentRecHeader subscribes to Codeunit “Gen. Jnl.-Post Line” OnAfterInitGLRegister

Procedures

  • SetGLRegisterNo(BankAccReconciliation: Record "Bank Acc. Reconciliation")
  • RunReversalWizard(var PostedPaymentReconHdr: Record "Posted Payment Recon. Hdr")
  • UnapplyEntry(var PaymentRecRelatedEntry: Record "Payment Rec. Related Entry"; ShowEntriesToPost: Boolean)
  • ReverseEntry(var PaymentRecRelatedEntry: Record "Payment Rec. Related Entry"; ShowEntriesToPost: Boolean)
  • ErrorIfEntryIsNotReversable(CustLedgerEntry: Record "Cust. Ledger Entry")
  • ErrorIfEntryIsNotReversable(VendorLedgerEntry: Record "Vendor Ledger Entry")
  • ErrorIfEntryIsNotReversable(EmployeeLedgerEntry: Record "Employee Ledger Entry")
  • ErrorIfEntryIsNotReversable(Reversed: Boolean; TableCaption: Text; EntryNo: Integer; TransactionNo: Integer; JournalBatchName: Code[10]; DocumentType: Enum "Gen. Journal Document Type"; AmountToApply: Decimal; AppliesToDocNo: Code[20]; AppliesToID: Code[50]; SourceCode: Code[10])

Plus 25 local procedures.

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Reverse Payment Rec. Journal"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources