{"title":"Codeunit 1252 Match Bank Rec. Lines, procedures","url":"https://jonas-paprotka.de/ref/codeunit/1252-match-bank-rec-lines/procedures/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":1252,"name":"Match Bank Rec. Lines","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/1252-match-bank-rec-lines/","json":"https://jonas-paprotka.de/ref/codeunit/1252-match-bank-rec-lines.json"},"aspect":"procedures","total":18,"rows":[{"name":"MatchManually","sig":"(var Record Bank Acc. Reconciliation Line, var Record Bank Account Ledger Entry)","named":"(var SelectedBankAccReconciliationLine: Record \"Bank Acc. Reconciliation Line\"; var SelectedBankAccountLedgerEntry: Record \"Bank Account Ledger Entry\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var SelectedBankAccReconciliationLine: Record \"Bank Acc. Reconciliation Line\"; var SelectedBankAccountLedgerEntry: Record \"Bank Account Ledger Entry\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"RemoveMatch","sig":"(var Record Bank Acc. Reconciliation Line, var Record Bank Account Ledger Entry)","named":"(var SelectedBankAccReconciliationLine: Record \"Bank Acc. Reconciliation Line\"; var SelectedBankAccountLedgerEntry: Record \"Bank Account Ledger Entry\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var SelectedBankAccReconciliationLine: Record \"Bank Acc. Reconciliation Line\"; var SelectedBankAccountLedgerEntry: Record \"Bank Account Ledger Entry\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"MatchSingle","sig":"(Record Bank Acc. Reconciliation, Integer)","named":"(BankAccReconciliation: Record \"Bank Acc. Reconciliation\"; DateRange: Integer)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Use BankAccReconciliationAutoMatch instead","tag":"21.0"},"range":"17-23","first":17,"last":23,"obsoleteSince":21,"spans":[{"from":17,"to":20,"named":"(BankAccReconciliation: Record \"Bank Acc. Reconciliation\"; DateRange: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":21,"to":23,"named":"(BankAccReconciliation: Record \"Bank Acc. Reconciliation\"; DateRange: Integer)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Use BankAccReconciliationAutoMatch instead","tag":"21.0"}}]},{"name":"SetMatchLengthTreshold","sig":"(Integer)","named":"(NewMatchLengthThreshold: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(NewMatchLengthThreshold: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"SetNormalizingFactor","sig":"(Integer)","named":"(NewNormalizingFactor: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(NewNormalizingFactor: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"RemoveMatchesFromRecLines","sig":"(var Record Bank Acc. Reconciliation Line)","named":"(var SelectedBankAccReconciliationLine: Record \"Bank Acc. Reconciliation Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var SelectedBankAccReconciliationLine: Record \"Bank Acc. Reconciliation Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"ListOfMatchedFields","sig":"(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)","named":"(AmountMatched: Boolean; DocumentNoMatched: Boolean; ExternalDocumentNoMatched: Boolean; TransactionDateMatched: Boolean; RelatedPartyMatched: Boolean; DescriptionMatched: Boolean)","returns":"Text","kind":"procedure","access":"public","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(AmountMatched: Boolean; DocumentNoMatched: Boolean; ExternalDocumentNoMatched: Boolean; TransactionDateMatched: Boolean; RelatedPartyMatched: Boolean; DescriptionMatched: Boolean)","returns":"Text","kind":"procedure","access":"public","obsolete":null}]},{"name":"SaveOneToOneMatching","sig":"(var Record Bank Statement Matching Buffer, Code[20], Code[20])","named":"(var TempBankStatementMatchingBuffer: Record \"Bank Statement Matching Buffer\" temporary; BankAccountNo: Code[20]; StatementNo: Code[20])","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var TempBankStatementMatchingBuffer: Record \"Bank Statement Matching Buffer\" temporary; BankAccountNo: Code[20]; StatementNo: Code[20])","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"ShowMatchSummary","sig":"(Record Bank Acc. Reconciliation)","named":"(BankAccReconciliation: Record \"Bank Acc. Reconciliation\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(BankAccReconciliation: Record \"Bank Acc. Reconciliation\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetDescriptionMatchScore","sig":"(Text, Text, Code[20], Code[35])","named":"(BankRecDescription: Text; BankEntryDescription: Text; DocumentNo: Code[20]; ExternalDocumentNo: Code[35])","returns":"Integer","kind":"procedure","access":"public","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(BankRecDescription: Text; BankEntryDescription: Text; DocumentNo: Code[20]; ExternalDocumentNo: Code[35])","returns":"Integer","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetMatchLengthTreshold","sig":"()","named":"()","returns":"Integer","kind":"procedure","access":"public","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"()","returns":"Integer","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetNormalizingFactor","sig":"()","named":"()","returns":"Integer","kind":"procedure","access":"public","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"()","returns":"Integer","kind":"procedure","access":"public","obsolete":null}]},{"name":"BankAccReconciliationAutoMatch","sig":"(Record Bank Acc. Reconciliation, Integer)","named":"(BankAccReconciliation: Record \"Bank Acc. Reconciliation\"; DaysTolerance: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(BankAccReconciliation: Record \"Bank Acc. Reconciliation\"; DaysTolerance: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"BankReconciliationLineInManyToOne","sig":"(var Record Bank Acc. Reconciliation Line)","named":"(var BankAccReconciliationLine: Record \"Bank Acc. Reconciliation Line\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"22-29","first":22,"last":29,"obsoleteSince":null,"spans":[{"from":22,"to":29,"named":"(var BankAccReconciliationLine: Record \"Bank Acc. Reconciliation Line\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"RemoveMatchesFromRecLines","sig":"(var Record Bank Acc. Reconciliation Line, var Boolean)","named":"(var SelectedBankAccReconciliationLine: Record \"Bank Acc. Reconciliation Line\"; var MatchesRemoved: Boolean)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"22-29","first":22,"last":29,"obsoleteSince":null,"spans":[{"from":22,"to":29,"named":"(var SelectedBankAccReconciliationLine: Record \"Bank Acc. Reconciliation Line\"; var MatchesRemoved: Boolean)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"BankAccReconciliationAutoMatch","sig":"(var Record Bank Acc. Reconciliation, Integer, Boolean, Boolean)","named":"(var BankAccReconciliation: Record \"Bank Acc. Reconciliation\"; DaysTolerance: Integer; RaiseFindBestMatchesEvent: Boolean; ShouldShowMatchSummary: Boolean)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var BankAccReconciliation: Record \"Bank Acc. Reconciliation\"; DaysTolerance: Integer; RaiseFindBestMatchesEvent: Boolean; ShouldShowMatchSummary: Boolean)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"InitializeBLEMatchingTempTable","sig":"(var Record Ledger Entry Matching Buffer, var Record Bank Account Ledger Entry)","named":"(var TempBankAccLedgerEntryMatchingBuffer: Record \"Ledger Entry Matching Buffer\" temporary; var BankAccountLedgerEntry: Record \"Bank Account Ledger Entry\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var TempBankAccLedgerEntryMatchingBuffer: Record \"Ledger Entry Matching Buffer\" temporary; var BankAccountLedgerEntry: Record \"Bank Account Ledger Entry\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"SaveManyToOneMatching","sig":"(var Record Bank Statement Matching Buffer, Code[20], Code[20])","named":"(var TempBankStatementMatchingBuffer: Record \"Bank Statement Matching Buffer\" temporary; BankAccountNo: Code[20]; StatementNo: Code[20])","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var TempBankStatementMatchingBuffer: Record \"Bank Statement Matching Buffer\" temporary; BankAccountNo: Code[20]; StatementNo: Code[20])","returns":"","kind":"procedure","access":"public","obsolete":null}]}]}