Codeunit 1250 Match General Journal Lines

Base Application, Microsoft.Bank.Reconciliation

src/Layers/W1/BaseApp/Bank/Reconciliation/MatchGeneralJournalLines.Codeunit.al18 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 21, trigger

  1. 26callsCode
  2. 29raisesOnAfterOnRun

Code line 41

  1. 50callsSetMatchLengthThreshold
  2. 51callsSetNormalizingFactor
  3. 52callsFillTempGenJournalLine
  4. 53callsFindMatchingCustEntries
  5. 54callsFindMatchingVendorEntries
  6. 55callsSaveOneToOneMatching
  7. 57callsFillTempGenJournalLine
  8. 58callsFindAccountMappings
  9. 61callsShowMatchSummary

FindMatchingCustEntries line 64, local

  1. 68raisesOnBeforeFindMatchingCustEntries
  2. 74raisesOnFindMatchingCustEntriesOnAfterCustLedgerEntrySetFilters
  3. 77callsFindMatchingCustEntry

FindMatchingCustEntry line 81, local

  1. 89callsGetMatchScore
  2. 91raisesOnFindMatchingCustEntryOnAfterGetMatchScore
  3. 93callsTable 1250 Bank Statement Matching Buffer AddMatchCandidate
  4. 95raisesOnFindMatchingCustEntryOnAfterMatch

FindMatchingVendorEntries line 99, local

  1. 108raisesOnFindMatchingVendorEntriesOnAfterSetVendorLedgerEntryFilters
  2. 111callsFindMatchingVendorEntry

FindMatchingVendorEntry line 115, local

  1. 123callsGetMatchScore
  2. 127callsTable 1250 Bank Statement Matching Buffer AddMatchCandidate
  3. 129raisesOnFindMatchingVendorEntryOnAfterMatch

FindAccountMappings line 133, local

  1. 144callsGetAccountMapping
  2. 148callsUpdateGenJnlLine
  3. 151callsTable 1251 Text-to-Account Mapping GetAccountNo
  4. 155callsTable 1251 Text-to-Account Mapping GetPaymentDocType
  5. 157callsTable 1251 Text-to-Account Mapping GetDocTypeForPmt
  6. 159callsUpdateGenJnlLine
  7. 162callsCreateInvoiceLineFromPayment
  8. 164callsTable 1251 Text-to-Account Mapping GetAccountNo

GetAccountMapping line 171, local

  1. 179callsCodeunit 1251 Record Match Mgt. Trim
  2. 188callsCodeunit 1251 Record Match Mgt. Trim
  3. 192raisesOnGetAccountMappingOnBeforeCalculateStringNearnessIsHandled
  4. 197callsCodeunit 1251 Record Match Mgt. CalculateStringNearness
  5. 198callsCodeunit 1251 Record Match Mgt. Trim

SaveOneToOneMatching line 225, local

  1. 232raisesOnSaveOneToOneMatchingOnBeforeTempBankStatementMatchingBufferFindSet
  2. 237callsApplyRecords

ApplyRecords line 241, local

  1. 250callsUpdateGenJnlLine
  2. 252callsPrepareCustLedgerEntryForApplication
  3. 257callsUpdateGenJnlLine
  4. 259callsPrepareVendorLedgerEntryForApplication

CreateInvoiceLineFromPayment line 264, local

  1. 269callsGetNextAvailableLineNo
  2. 272validatesTable 81 Gen. Journal Line Amount
  3. 273validatesTable 81 Gen. Journal Line Document Type
  4. 274validatesTable 81 Gen. Journal Line Applies-to Doc. Type
  5. 275validatesTable 81 Gen. Journal Line Applies-to Doc. No.
  6. 276validatesTable 81 Gen. Journal Line Bal. Account Type
  7. 277validatesTable 81 Gen. Journal Line Bal. Account No.
  8. 278validatesTable 81 Gen. Journal Line Description
  9. 279writesTable 81 Gen. Journal Line Insert(true)

UpdateGenJnlLine line 282, local

  1. 289validatesTable 81 Gen. Journal Line Document Type
  2. 290validatesTable 81 Gen. Journal Line Account Type
  3. 291validatesTable 81 Gen. Journal Line Account No.
  4. 292validatesTable 81 Gen. Journal Line Applies-to ID
  5. 294validatesTable 81 Gen. Journal Line Currency Code
  6. 295validatesTable 81 Gen. Journal Line Applied Automatically
  7. 296validatesTable 81 Gen. Journal Line Description
  8. 297writesTable 81 Gen. Journal Line Modify(true)

PrepareCustLedgerEntryForApplication line 300

  1. 304raisesOnPrepareCustLedgerEntryForApplicationOnBeforeSetAmountToApply
  2. 310runsCodeunit 103 Cust. Entry-Edit

PrepareVendorLedgerEntryForApplication line 313, local

  1. 317raisesOnPrepareVendorLedgerEntryForApplicationOnBeforeSetAmountToApply
  2. 323runsCodeunit 113 Vend. Entry-Edit

FillTempGenJournalLine line 326

  1. 330writesTable 81 Gen. Journal Line DeleteAll
  2. 342writesTable 81 Gen. Journal Line Insert

ShowMatchSummary line 346, local

  1. 365callsGetMatchLengthTreshold
  2. 368raisesOnShowMatchSummaryOnAfterSetFinalTextIsHandled

GetMatchScore line 373, local

  1. 383callsGetDescriptionMatchScore
  2. 385callsGetDescriptionMatchScore
  3. 387callsGetDescriptionMatchScore

GetDescriptionMatchScore line 398, local

  1. 406callsCodeunit 1251 Record Match Mgt. Trim
  2. 407callsGetMatchLengthTreshold
  3. 408callsGetNormalizingFactor
  4. 411callsCodeunit 1251 Record Match Mgt. CalculateStringNearness
  5. 415callsCodeunit 1251 Record Match Mgt. CalculateStringNearness
  6. 419callsCodeunit 1251 Record Match Mgt. CalculateStringNearness
  7. 423callsCodeunit 1251 Record Match Mgt. CalculateStringNearness