---
title: "Codeunit 980 Payment Registration Mgt."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/980-payment-registration-mgt/
type: codeunit
id: 980
name: "Payment Registration Mgt."
app: "Base Application"
namespace: Microsoft.Bank.Payment
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/980-payment-registration-mgt/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 980 Payment Registration Mgt.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/980-payment-registration-mgt/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Bank.Payment |
| Versions | 17-28 |
| Source file | Bank/Payment/PaymentRegistrationMgt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| RunSetup | () | - | public | 17-28 | - | - |
| Post | (var Record Payment Registration Buffer, Boolean) | - | public | 17-28 | - | - |
| ConfirmClose | (var Record Payment Registration Buffer) | Boolean | public | 17-28 | - | - |
| ConfirmPost | (var Record Payment Registration Buffer) | - | public | 17-28 | - | - |
| FindRecords | (var Record Document Search Result, Code[20], Decimal, Decimal) | - | public | 17-28 | - | - |
| ShowRecords | (var Record Document Search Result) | - | public | 17-28 | - | - |
| ConfirmPostLumpPayment | (var Record Payment Registration Buffer) | - | public | 17-28 | - | - |
| SetToleranceLimits | (Decimal, Decimal, Text) | Text | public | 17-28 | - | - |
| CalculateBalance | (var Decimal, var Decimal) | - | public | 17-28 | - | - |
| OpenGenJnl | () | - | public | 17-28 | - | - |
| Preview | (var Record Payment Registration Buffer, Boolean) | - | public | 17-28 | - | - |
| SetPreviewContext | (Boolean) | - | public | 17-28 | - | - |
| InsertDocSearchResult | (var Record Document Search Result, Code[20], Integer, Integer, Text[50], Decimal) | - | public | 25-28 | - | - |
| IsWithinTolerance | (Decimal, Decimal, Decimal) | Boolean | public | 25-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterPostPaymentRegistration | (var Record Payment Registration Buffer) | 17-28 | - | - |
| Integration event | OnBeforeGenJnlLineInsert | (var Record Gen. Journal Line, Record Payment Registration Buffer) | 17-28 | - | - |
| Integration event | OnBeforePost | (var Record Payment Registration Buffer) | 17-28 | - | - |
| Integration event | OnFindSalesHeaderRecordsOnBeforeToleranceCheck | (var Record Sales Header) | 20-28 | - | - |
| Integration event | OnAfterFindRecords | (var Record Document Search Result, Code[20], Decimal, Decimal) | 21-28 | - | - |
| Integration event | OnCalculateBalanceOnAfterSetPostedBalance | (var Decimal, Record G/L Account, Record Bank Account) | 21-28 | - | - |
| Integration event | OnShowSalesHeaderRecordsOnBeforeOpenPage | (var Record Document Search Result, var Record Sales Header, var Boolean) | 21-28 | - | - |
| Integration event | OnShowRecords | (var Record Document Search Result) | 25-28 | - | - |
| Integration event | OnUpdateApplicationFieldsOnCustLedgerEntryOnAfterCalcRemainingAmount | (var Record Cust. Ledger Entry) | 25-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
