codeunitFinanceofficial - Microsoftderived - from the source, no model text

Codeunit 980 "Payment Registration Mgt."

Base Application · Microsoft.Bank.Payment

Across versions

  1. BC23-24present
  2. BC253 procedures removed, 2 procedures changed
  3. BC26-30unchanged

Neighbourhood 25 connected objects and pages

Table 981 "Payment Registration Buffer" (relates to)Payment Registration BufferCodeunit 6469 "Serv. Payment Registration" (event subscribers, 2 links)Serv. Payment RegistrationCodeunit 103 "Cust. Entry-Edit" (calls, 3 links)Cust. Entry-EditPage 981 "Payment Registration" (calls, 3 links)Payment RegistrationCodeunit 13 "Gen. Jnl.-Post Batch" (calls, 2 links)Gen. Jnl.-Post BatchCodeunit 426 "Payment Tolerance Management" (calls, 2 links)Payment Tolerance ManagementCodeunit 6469 "Serv. Payment Registration" (calls, 2 links)Serv. Payment RegistrationCodeunit 1070 "MS - PayPal Standard Mgt." (calls)Codeunit 1073 "MS - PayPal Webhook Management" (calls)MS - PayPal Webhook ManagementCodeunit 19 "Gen. Jnl.-Post Preview" (calls)Gen. Jnl.-Post PreviewCodeunit 308 "No. Series - Batch" (calls)No. Series - BatchCodeunit 9070 "Document Errors Mgt." (calls)Document Errors Mgt.Codeunit 9500 "Sequence No. Mgt." (calls)Sequence No. Mgt.Page 39 "General Journal" (calls)General JournalPage 41 "Sales Quote" (calls)Page 42 "Sales Order" (calls)Sales OrderPage 43 "Sales Invoice" (calls)Page 434 "Reminder" (calls)Page 44 "Sales Credit Memo" (calls)Page 446 "Finance Charge Memo" (calls)Page 456 "No. Series" (calls)Page 507 "Blanket Sales Order" (calls)Page 6630 "Sales Return Order" (calls)Page 980 "Balancing Account Setup" (calls)Page 982 "Payment Registration Setup" (calls)

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.Payment · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
TableNo Payment Registration Buffer

Events published

  • OnAfterPostPaymentRegistration(var TempPaymentRegistrationBuffer: Record "Payment Registration Buffer" temporary) (integration): Integration event raised after payment registration entries have been posted. This event allows external extensions to perform additional processing after payments are posted.
  • OnAfterFindRecords(var TempDocumentSearchResult: Record "Document Search Result" temporary; DocNoFilter: Code[20]; AmountFilter: Decimal; AmountTolerancePerc: Decimal) Δ BC25 (integration)
  • OnBeforeGenJnlLineInsert(var GenJournalLine: Record "Gen. Journal Line"; TempPaymentRegistrationBuffer: Record "Payment Registration Buffer" temporary) (integration)
  • OnCalculateBalanceOnAfterSetPostedBalance(var PostedBalance: Decimal; GLAccount: Record "G/L Account"; BankAccount: Record "Bank Account") (integration)
  • OnBeforePost(var TempPaymentRegistrationBuffer: Record "Payment Registration Buffer" temporary) (integration): Integration event raised before posting payment registration entries. This event allows external extensions to validate or modify payment data before posting.
  • OnFindSalesHeaderRecordsOnBeforeToleranceCheck(var SalesHeader: Record "Sales Header") (integration)
  • OnShowSalesHeaderRecordsOnBeforeOpenPage(var TempDocumentSearchResult: Record "Document Search Result" temporary; var SalesHeader: Record "Sales Header"; var IsHandled: Boolean) (integration)
  • OnShowRecords(var TempDocumentSearchResult: Record "Document Search Result" temporary) + BC25 (integration)
  • OnUpdateApplicationFieldsOnCustLedgerEntryOnAfterCalcRemainingAmount(var CustLedgerEntry: Record "Cust. Ledger Entry") + BC25 (integration)

Event subscriptions

  • OnRunPreview subscribes to Codeunit “Gen. Jnl.-Post Preview” OnRunPreview

Procedures

  • RunSetup(): Runs the payment registration setup wizard to configure payment registration defaults. This procedure checks if setup is complete and guides users through configuration if needed.
  • Post(var TempPaymentRegistrationBuffer: Record "Payment Registration Buffer" temporary; LumpPayment: Boolean): Posts payment registration entries to the general ledger. This procedure creates and posts general journal entries based on payment registration buffer data.
  • ConfirmClose(var PaymentRegistrationBuffer: Record "Payment Registration Buffer"): Boolean: Confirms whether to close the payment registration page when there are unsaved payments. This procedure checks for pending payments and prompts the user for confirmation before closing.
  • ConfirmPost(var PaymentRegistrationBuffer: Record "Payment Registration Buffer"): Confirms and posts payment registrations after validation. This procedure validates payment entries and posts them after user confirmation.
  • FindRecords(var TempDocumentSearchResult: Record "Document Search Result" temporary; DocNoFilter: Code[20]; AmountFilter: Decimal; AmountTolerancePerc: Decimal): Finds document records that match the specified search criteria. This procedure searches for sales documents, reminders, and finance charge memos based on document number and amount filters.
  • ShowRecords(var TempDocumentSearchResult: Record "Document Search Result" temporary): Shows the detailed records for a selected document search result. This procedure opens the appropriate page to display the full document details based on the search result type.
  • ConfirmPostLumpPayment(var SourcePaymentRegistrationBuffer: Record "Payment Registration Buffer")
  • InsertDocSearchResult(var TempDocumentSearchResult: Record "Document Search Result" temporary; DocNo: Code[20]; DocType: Integer; TableID: Integer; DocTypeDescription: Text[50]; Amount: Decimal) Δ BC25: Inserts a document search result record into the temporary search result table. This procedure creates a new search result entry for documents found during payment registration searches.
  • SetToleranceLimits(Amount: Decimal; AmountTolerance: Decimal; ToleranceTxt: Text): Text: Sets tolerance limits for amount matching and returns formatted tolerance information. This procedure calculates and displays tolerance ranges for payment amount matching.
  • IsWithinTolerance(Amount: Decimal; FilterAmount: Decimal; TolerancePct: Decimal): Boolean Δ BC25: Determines whether an amount is within the specified tolerance range of a filter amount. This procedure is used for amount matching during document searches and payment registration.
  • CalculateBalance(var PostedBalance: Decimal; var UnpostedBalance: Decimal)
  • OpenGenJnl()
  • Preview(var PaymentRegistrationBuffer: Record "Payment Registration Buffer"; AsLump: Boolean)
  • SetPreviewContext(AsLump: Boolean)

Plus 14 local procedures.

Triggers

OnRun

Relations

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: "Payment Registration Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources