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

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1250-match-general-journal-lines/

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Code | (Code[10], Code[10]) | - | public | 17-28 | - | - |
| PrepareCustLedgerEntryForApplication | (var Record Cust. Ledger Entry, var Record Gen. Journal Line) | - | public | 17-28 | - | - |
| FillTempGenJournalLine | (var Record Gen. Journal Batch, var Record Gen. Journal Line) | - | public | 17-28 | - | - |
| SetMatchLengthThreshold | (Integer) | - | public | 17-28 | - | - |
| SetNormalizingFactor | (Integer) | - | public | 17-28 | - | - |
| GetMatchLengthTreshold | () | Integer | public | 17-28 | - | - |
| GetNormalizingFactor | () | Integer | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnFindMatchingCustEntryOnAfterGetMatchScore | (var Record Gen. Journal Line, var Record Cust. Ledger Entry, var Integer) | 17-28 | - | - |
| Integration event | OnGetAccountMappingOnBeforeCalculateStringNearness | (var Record Text-to-Account Mapping, Text, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterOnRun | (var Record Gen. Journal Line) | 19-28 | - | - |
| Integration event | OnBeforeFindMatchingCustEntries | (var Record Bank Statement Matching Buffer, var Record Gen. Journal Line) | 19-28 | - | - |
| Integration event | OnFindMatchingVendorEntriesOnAfterSetVendorLedgerEntryFilters | (var Record Vendor Ledger Entry, var Record Bank Statement Matching Buffer, var Record Gen. Journal Line) | 19-28 | - | - |
| Integration event | OnFindMatchingCustEntriesOnAfterCustLedgerEntrySetFilters | (var Record Cust. Ledger Entry, var Record Bank Statement Matching Buffer, var Record Gen. Journal Line) | 19-28 | - | - |
| Integration event | OnShowMatchSummaryOnAfterSetFinalText | (var Record Gen. Journal Batch, Text, var Boolean) | 22-28 | - | - |
| Integration event | OnFindMatchingCustEntryOnAfterMatch | (var Record Bank Statement Matching Buffer, var Record Cust. Ledger Entry, var Record Gen. Journal Line, Integer) | 22-28 | - | - |
| Integration event | OnFindMatchingVendorEntryOnAfterMatch | (var Record Bank Statement Matching Buffer, var Record Vendor Ledger Entry, var Record Gen. Journal Line, Integer) | 22-28 | - | - |
| Integration event | OnSaveOneToOneMatchingOnBeforeTempBankStatementMatchingBufferFindSet | (var Record Bank Statement Matching Buffer) | 22-28 | - | - |
| Integration event | OnPrepareCustLedgerEntryForApplicationOnBeforeSetAmountToApply | (var Record Cust. Ledger Entry) | 25-28 | - | - |
| Integration event | OnPrepareVendorLedgerEntryForApplicationOnBeforeSetAmountToApply | (var Record Vendor 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.
