Codeunit 386 Reverse Payment Rec. Journal

Base Application, Microsoft.Bank.Reconciliation

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

SetGLRegisterNo line 52

  1. 61writesTable 1295 Posted Payment Recon. Hdr Modify

RunReversalWizard line 64

  1. 89callsInsertPaymentRecRelatedAndAppliedEntries
  2. 90callsRefreshRelatedEntriesReversalStatus
  3. 101callsPage 1300 Pmt. Rec. Undo Statement SetBankAccountStatement
  4. 102callsTryOpenPmtRecUndoStatement
  5. 103callsPage 1300 Pmt. Rec. Undo Statement NextSelected
  6. 112callsPage 496 Payment Rec. Related Entries SetPaymentRecRelatedEntries
  7. 114callsPage 496 Payment Rec. Related Entries HideBackAction
  8. 116callsPage 496 Payment Rec. Related Entries NextSelected
  9. 119callsPage 496 Payment Rec. Related Entries BackSelected
  10. 126callsPage 531 Pmt. Rec. Reversal Finalize SetPaymentRecRelatedEntries
  11. 128callsPage 531 Pmt. Rec. Reversal Finalize SetNoStatementMsg
  12. 130callsPage 531 Pmt. Rec. Reversal Finalize FinalizeSelected
  13. 131callsFinalizeReversal
  14. 133callsPage 531 Pmt. Rec. Reversal Finalize CreatePaymentRecJournalSelected
  15. 134callsCreateCopyPaymentRecJournal
  16. 135callsCleanUpReversal
  17. 139callsPage 531 Pmt. Rec. Reversal Finalize BackSelected
  18. 152runsPage 1290 Payment Reconciliation Journal

InsertPaymentRecRelatedAndAppliedEntries line 162, local

  1. 181callsInsertRelatedAndAppliedEntries
  2. 183writesTable 1295 Posted Payment Recon. Hdr Modify
  3. 188callsInsertRelatedAndAppliedEntriesOfGLRegister
  4. 190writesTable 1295 Posted Payment Recon. Hdr Modify

CreateCopyPaymentRecJournal line 196, local

  1. 203validatesTable 273 Bank Acc. Reconciliation Statement Type
  2. 204validatesTable 273 Bank Acc. Reconciliation Bank Account No.
  3. 205writesTable 273 Bank Acc. Reconciliation Insert(true)
  4. 207callsCopyPaymentRecJournalFromPostedPaymentReconLines
  5. 209callsCopyPaymentRecJournalFromPaymentRecRelatedEntries
  6. 211raisesOnAfterCreateCopyPaymentRecJournal

CopyPaymentRecJournalFromPaymentRecRelatedEntries line 216, local

  1. 233callsSetBankRecLineDetailsFromPaymentRecRelatedEntry
  2. 234writesTable 274 Bank Acc. Reconciliation Line Insert(true)
  3. 242callsCreateApplicationEntryForBankAccReconciliationLine

SetBankRecLineDetailsFromPaymentRecRelatedEntry line 247, local

  1. 262validatesTable 274 Bank Acc. Reconciliation Line Statement Amount
  2. 271validatesTable 274 Bank Acc. Reconciliation Line Statement Amount
  3. 280validatesTable 274 Bank Acc. Reconciliation Line Statement Amount

CopyPaymentRecJournalFromPostedPaymentReconLines line 285, local

  1. 298callsTable 274 Bank Acc. Reconciliation Line TransferFromPostedPaymentReconLine
  2. 300writesTable 274 Bank Acc. Reconciliation Line Insert(true)
  3. 301raisesOnCopyPaymentRecJournalFromPostedPaymentReconLinesOnAfterInsertBankAccReconciliationLine
  4. 316callsCreateApplicationEntryForBankAccReconciliationLine

CleanUpReversal line 321, local

  1. 328writesTable 1295 Posted Payment Recon. Hdr Modify
  2. 333writesTable 185 Pmt. Rec. Applied-to Entry DeleteAll
  3. 337writesTable 184 Payment Rec. Related Entry DeleteAll

UnapplyEntry line 340

  1. 344callsUnapplyCustomerEntry
  2. 346callsUnapplyVendorEntry
  3. 348callsUnapplyEmployeeEntry

ReverseEntry line 352

  1. 360raisesOnBeforeReverseEntry
  2. 362callsTable 179 Reversal Entry SetHideWarningDialogs
  3. 365callsTable 179 Reversal Entry SetBankAccountStatement
  4. 371callsErrorIfEntryIsNotReversable
  5. 372callsTable 179 Reversal Entry ReverseTransaction
  6. 377callsErrorIfEntryIsNotReversable
  7. 378callsTable 179 Reversal Entry ReverseTransaction
  8. 383callsErrorIfEntryIsNotReversable
  9. 384callsTable 179 Reversal Entry ReverseTransaction
  10. 387callsRefreshRelatedEntryReversalStatus
  11. 388raisesOnAfterReverseEntry

FinalizeReversal line 392, local

  1. 398callsRefreshRelatedEntriesReversalStatus
  2. 401callsCodeunit 1340 Undo Bank Statement (Yes/No) UndoBankAccountStatement
  3. 411callsUnapplyEntry
  4. 412writesTable 184 Payment Rec. Related Entry Modify
  5. 425callsReverseEntry
  6. 426writesTable 184 Payment Rec. Related Entry Modify

InsertRelatedAndAppliedEntriesOfGLRegister line 445, local

  1. 456callsInsertBankPaymentRecRelatedEntry
  2. 463callsInsertRelatedAndAppliedEntries
  3. 470callsInsertRelatedAndAppliedEntries
  4. 477callsInsertRelatedAndAppliedEntries
  5. 480raisesOnAfterInsertRelatedAndAppliedEntriesOfGLRegister

RefreshRelatedEntryReversalStatus line 488, local

  1. 505callsCodeunit 226 CustEntry-Apply Posted Entries FindLastApplEntry
  2. 514callsCodeunit 227 VendEntry-Apply Posted Entries FindLastApplEntry
  3. 523callsCodeunit 224 EmplEntry-Apply Posted Entries FindLastApplEntry

RefreshRelatedEntriesReversalStatus line 541, local

  1. 550callsRefreshRelatedEntryReversalStatus
  2. 551writesTable 184 Payment Rec. Related Entry Modify

InsertRelatedAndAppliedEntries line 570, local

  1. 583writesTable 184 Payment Rec. Related Entry Insert
  2. 608writesTable 185 Pmt. Rec. Applied-to Entry Insert

InsertRelatedAndAppliedEntries line 614, local

  1. 627writesTable 184 Payment Rec. Related Entry Insert
  2. 652writesTable 185 Pmt. Rec. Applied-to Entry Insert

InsertRelatedAndAppliedEntries line 658, local

  1. 671writesTable 184 Payment Rec. Related Entry Insert
  2. 696writesTable 185 Pmt. Rec. Applied-to Entry Insert

InsertBankPaymentRecRelatedEntry line 702, local

  1. 711writesTable 184 Payment Rec. Related Entry Insert

InsertRelatedAndAppliedEntries line 714, local

  1. 720callsInsertBankPaymentRecRelatedEntry
  2. 730raisesOnInsertRelatedAndAppliedEntriesOnAfterFilterCustLedgerEntry
  3. 743raisesOnInsertRelatedAndAppliedEntriesOnAfterFilterVendorLedgerEntry
  4. 756raisesOnInsertRelatedAndAppliedEntriesOnAfterFilterEmployeeLedgerEntry
  5. 764raisesOnAfterInsertRelatedAndAppliedEntries

CreateApplicationEntryForBankAccReconciliationLine line 781, local

  1. 837callsTable 1293 Payment Application Proposal UpdateDefaultCalculatedFields
  2. 838writesTable 1293 Payment Application Proposal Insert
  3. 839validatesTable 1293 Payment Application Proposal Applied

UnapplyCustomerEntry line 842, local

  1. 849callsCodeunit 226 CustEntry-Apply Posted Entries UnApplyCustLedgEntry
  2. 850callsRefreshRelatedEntryReversalStatus
  3. 853callsCodeunit 226 CustEntry-Apply Posted Entries CheckCustLedgEntryToUnapply
  4. 857callsCodeunit 226 CustEntry-Apply Posted Entries PostUnApplyCustomer

UnapplyVendorEntry line 860, local

  1. 867callsCodeunit 227 VendEntry-Apply Posted Entries UnApplyVendLedgEntry
  2. 868callsRefreshRelatedEntryReversalStatus
  3. 871callsCodeunit 227 VendEntry-Apply Posted Entries CheckVendorLedgerEntryToUnapply
  4. 875callsCodeunit 227 VendEntry-Apply Posted Entries PostUnApplyVendor

UnapplyEmployeeEntry line 878, local

  1. 885callsCodeunit 224 EmplEntry-Apply Posted Entries UnApplyEmplLedgEntry
  2. 886callsRefreshRelatedEntryReversalStatus
  3. 889callsCodeunit 224 EmplEntry-Apply Posted Entries CheckEmployeeLedgerEntryToUnapply
  4. 893callsCodeunit 224 EmplEntry-Apply Posted Entries PostUnApplyEmployee

EntryIsReversable line 896, local

  1. 904raisesOnBeforeEntryIsReversableIsHandled

ErrorIfEntryIsNotReversable line 929

  1. 935callsTable 179 Reversal Entry AlreadyReversedEntry
  2. 937raisesOnErrorIfEntryIsNotReversableOnBeforeEntryIsReversableIsHandled
  3. 939callsEntryIsReversable
  4. 940callsTable 179 Reversal Entry TestFieldError