---
title: "Codeunit 1252 Match Bank Rec. Lines"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1252-match-bank-rec-lines/
type: codeunit
id: 1252
name: "Match Bank Rec. Lines"
app: "Base Application"
namespace: Microsoft.Bank.Reconciliation
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1252-match-bank-rec-lines/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 1252 Match Bank Rec. Lines

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1252-match-bank-rec-lines/

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| MatchManually | (var Record Bank Acc. Reconciliation Line, var Record Bank Account Ledger Entry) | - | public | 17-28 | - | - |
| RemoveMatch | (var Record Bank Acc. Reconciliation Line, var Record Bank Account Ledger Entry) | - | public | 17-28 | - | - |
| MatchSingle | (Record Bank Acc. Reconciliation, Integer) | - | public | 17-23 | Pending 21.0 | Use BankAccReconciliationAutoMatch instead |
| SetMatchLengthTreshold | (Integer) | - | public | 17-28 | - | - |
| SetNormalizingFactor | (Integer) | - | public | 17-28 | - | - |
| RemoveMatchesFromRecLines | (var Record Bank Acc. Reconciliation Line) | - | public | 20-28 | - | - |
| ListOfMatchedFields | (Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) | Text | public | 20-28 | - | - |
| SaveOneToOneMatching | (var Record Bank Statement Matching Buffer, Code[20], Code[20]) | - | public | 20-28 | - | - |
| ShowMatchSummary | (Record Bank Acc. Reconciliation) | - | public | 20-28 | - | - |
| GetDescriptionMatchScore | (Text, Text, Code[20], Code[35]) | Integer | public | 20-28 | - | - |
| GetMatchLengthTreshold | () | Integer | public | 20-28 | - | - |
| GetNormalizingFactor | () | Integer | public | 20-28 | - | - |
| BankAccReconciliationAutoMatch | (Record Bank Acc. Reconciliation, Integer) | - | public | 21-28 | - | - |
| BankReconciliationLineInManyToOne | (var Record Bank Acc. Reconciliation Line) | Boolean | internal | 22-28 | - | - |
| RemoveMatchesFromRecLines | (var Record Bank Acc. Reconciliation Line, var Boolean) | - | public | 22-28 | - | - |
| BankAccReconciliationAutoMatch | (var Record Bank Acc. Reconciliation, Integer, Boolean, Boolean) | - | public | 23-28 | - | - |
| InitializeBLEMatchingTempTable | (var Record Ledger Entry Matching Buffer, var Record Bank Account Ledger Entry) | - | public | 23-28 | - | - |
| SaveManyToOneMatching | (var Record Bank Statement Matching Buffer, Code[20], Code[20]) | - | public | 23-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterMatchBankRecLinesMatchSingle | (Integer, Record Bank Statement Matching Buffer) | 17-23 | Pending 21.0 | Use BankAccReconciliationAutoMatch instead |
| Integration event | OnShowMatchSummaryOnAfterSetFinalText | (var Record Bank Acc. Reconciliation, Text, var Boolean) | 22-28 | - | - |
| Integration event | OnFindBestMatches | (var Record Bank Acc. Reconciliation Line, var Record Ledger Entry Matching Buffer, Integer, var Record Bank Statement Matching Buffer, var Boolean, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeRemoveMatchesFromRecLines | (var Boolean) | 26-28 | - | - |
| Integration event | OnRemoveMatchOnAfterRemoveApplication | (var Record Bank Account Ledger Entry) | 26-28 | - | - |
| Integration event | OnPerformManyToOneMatchOnBeforeApplyEntries | (var Record Bank Acc. Reconciliation Line, var Record Bank Account Ledger Entry) | 26-28 | - | - |
| Integration event | OnPerformManyToOneMatchOnAfterApplyEntries | (var Record Bank Acc. Reconciliation Line, var Record Bank Account Ledger Entry) | 26-28 | - | - |
| Integration event | OnPerformOneToOneOrManyMatchOnBeforeApplyEntries | (var Record Bank Acc. Reconciliation Line, var Record Bank Account Ledger Entry) | 26-28 | - | - |
| Integration event | OnPerformOneToOneOrManyMatchOnAfterApplyEntries | (var Record Bank Acc. Reconciliation Line, var Record Bank Account Ledger Entry) | 26-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.
