Codeunit 17 Gen. Jnl.-Post Reverse

Base Application, Microsoft.Finance.GeneralLedger.Reversal

src/Layers/W1/BaseApp/Finance/GeneralLedger/Reversal/GenJnlPostReverse.Codeunit.al20 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Reverse line 80

  1. 108raisesOnBeforeReverseIsHandled
  2. 116callsTable 179 Reversal Entry CopyReverseFilters
  3. 120callsGetRegisterNoForTransactionReversal
  4. 124writesTable 2000000026 Integer Insert
  5. 128raisesOnReverseOnBeforeGetTransactionKey
  6. 129callsGetTransactionKey
  7. 130callsSaveReversalEntries
  8. 136raisesOnReverseOnBeforeStartPosting
  9. 138callsCodeunit 12 Gen. Jnl.-Post Line GetNextEntryNo
  10. 139callsCodeunit 12 Gen. Jnl.-Post Line StartPosting
  11. 141callsCodeunit 12 Gen. Jnl.-Post Line ContinuePosting
  12. 143raisesOnReverseOnAfterStartPosting
  13. 145callsCodeunit 12 Gen. Jnl.-Post Line SetGLRegReverse
  14. 147callsCopyCustLedgEntry
  15. 148callsCopyVendLedgEntry
  16. 149callsCopyEmplLedgEntry
  17. 150callsCopyBankAccLedgEntry
  18. 156raisesOnReverseOnBeforeReverseGLEntry
  19. 157callsReverseGLEntry
  20. 164raisesOnReverseOnBeforeCheckFAReverseEntryIsHandled
  21. 168callsCodeunit 5600 FA Insert Ledger Entry CheckFAReverseEntry
  22. 173callsCodeunit 5600 FA Insert Ledger Entry CheckMaintReverseEntry
  23. 176callsCodeunit 5600 FA Insert Ledger Entry FinishFAReverseEntry
  24. 187raisesOnReverseOnBeforeFinishPosting
  25. 189callsCodeunit 12 Gen. Jnl.-Post Line FinishPosting
  26. 191raisesOnReverseOnAfterFinishPosting
  27. 196writesTable 45 G/L Register Modify
  28. 199callsDeleteReversalEntries
  29. 202raisesOnReverseOnBeforeUpdateAnalysisViewIsHandled
  30. 204callsCodeunit 410 Update Analysis View UpdateAll
  31. 206raisesOnAfterReverse

ReverseGLEntry line 209, local

  1. 216raisesOnReverseGLEntryOnBeforeLoop
  2. 219callsCheckDimComb
  3. 222callsCodeunit 5600 FA Insert Ledger Entry InsertReverseEntry
  4. 223callsCodeunit 12 Gen. Jnl.-Post Line GetNextEntryNo
  5. 224callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  6. 230callsCodeunit 6200 Non-Deductible VAT Reverse
  7. 236callsCodeunit 12 Gen. Jnl.-Post Line GetNextEntryNo
  8. 237callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  9. 245callsSetReversalDescription
  10. 253writesTable 17 G/L Entry Modify
  11. 259writesTable 17 G/L Entry Modify
  12. 260raisesOnReverseGLEntryOnBeforeInsertGLEntry
  13. 261callsCodeunit 12 Gen. Jnl.-Post Line InsertGLEntry
  14. 262raisesOnReverseGLEntryOnAfterInsertGLEntry
  15. 267raisesOnReverseGLEntryOnBeforeTempCustLedgEntryCheckDimComb
  16. 268callsCheckDimComb
  17. 271callsReverseCustLedgEntry
  18. 274raisesOnReverseGLEntryOnAfterReverseCustLedgEntry
  19. 275writesTable 21 Cust. Ledger Entry Delete
  20. 279callsCheckDimComb
  21. 282callsReverseVendLedgEntry
  22. 285raisesOnReverseGLEntryOnAfterReverseVendLedgEntry
  23. 286writesTable 25 Vendor Ledger Entry Delete
  24. 290callsCheckDimComb
  25. 292callsReverseEmplLedgEntry
  26. 295writesTable 5222 Employee Ledger Entry Delete
  27. 299callsCheckDimComb
  28. 301callsReverseBankAccLedgEntry
  29. 302writesTable 271 Bank Account Ledger Entry Delete
  30. 304callsSpendRequestLinkedToGLEntry
  31. 305callsReverseSpendRequest
  32. 307raisesOnReverseGLEntryOnCaseElse
  33. 310callsReverseVAT
  34. 311raisesOnReverseGLEntryOnAfterReverseVAT
  35. 314raisesOnAfterReverseGLEntry

ReverseCustLedgEntry line 317, local

  1. 340callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  2. 343callsSetReversalDescription
  3. 352writesTable 21 Cust. Ledger Entry Modify
  4. 359raisesOnReverseCustLedgEntryOnBeforeModifyCustLedgerEntry
  5. 360writesTable 21 Cust. Ledger Entry Modify
  6. 361raisesOnReverseCustLedgEntryOnBeforeInsertCustLedgEntry
  7. 362writesTable 21 Cust. Ledger Entry Insert
  8. 363raisesOnReverseCustLedgEntryOnAfterInsertCustLedgEntry
  9. 366raisesOnReverseCustLedgEntryOnBeforeFindLastDetailedCustLedgEntry
  10. 369raisesOnReverseCustLedgEntryOnAfterAssignNextDtldCustLedgEntryEntryNo
  11. 374raisesOnReverseCustLedgEntryOnAfterDtldCustLedgEntrySetFilters
  12. 381callsTable 379 Detailed Cust. Ledg. Entry UpdateDebitCredit
  13. 384callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  14. 388raisesOnReverseCustLedgEntryOnBeforeInsertDtldCustLedgEntryIsHandled
  15. 390writesTable 379 Detailed Cust. Ledg. Entry Insert(true)
  16. 391raisesOnReverseCustLedgEntryOnAfterInsertDtldCustLedgEntry
  17. 394callsApplyCustLedgEntryByReversal
  18. 396callsApplyCustLedgEntryByReversal

ReverseVendLedgEntry line 400, local

  1. 422callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  2. 425callsSetReversalDescription
  3. 434writesTable 25 Vendor Ledger Entry Modify
  4. 441writesTable 25 Vendor Ledger Entry Modify
  5. 442raisesOnReverseVendLedgEntryOnBeforeInsertVendLedgEntry
  6. 443writesTable 25 Vendor Ledger Entry Insert
  7. 444raisesOnReverseVendLedgEntryOnAfterInsertVendLedgEntry
  8. 453raisesOnReverseVendLedgEntryOnAfterDtldVendLedgEntrySetFilters
  9. 460callsTable 380 Detailed Vendor Ledg. Entry UpdateDebitCredit
  10. 463callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  11. 467raisesOnReverseVendLedgEntryOnBeforeInsertDtldVendLedgEntryIsHandled
  12. 469writesTable 380 Detailed Vendor Ledg. Entry Insert(true)
  13. 470raisesOnReverseVendLedgEntryOnAfterInsertDtldVendLedgEntry
  14. 473callsApplyVendLedgEntryByReversal
  15. 475callsApplyVendLedgEntryByReversal

ReverseEmplLedgEntry line 479, local

  1. 492callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  2. 495callsSetReversalDescription
  3. 504writesTable 5222 Employee Ledger Entry Modify
  4. 511writesTable 5222 Employee Ledger Entry Modify
  5. 512raisesOnReverseEmplLedgEntryOnBeforeInsertEmplLedgEntry
  6. 513writesTable 5222 Employee Ledger Entry Insert
  7. 528callsTable 5223 Detailed Employee Ledger Entry UpdateDebitCredit
  8. 531callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  9. 534raisesOnReverseEmplLedgEntryOnBeforeInsertDtldEmplLedgEntry
  10. 535writesTable 5223 Detailed Employee Ledger Entry Insert(true)
  11. 538callsApplyEmplLedgEntryByReversal
  12. 540callsApplyEmplLedgEntryByReversal

ReverseBankAccLedgEntry line 551

  1. 567callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  2. 570callsSetReversalDescription
  3. 578writesTable 271 Bank Account Ledger Entry Modify
  4. 584writesTable 271 Bank Account Ledger Entry Modify
  5. 585raisesOnReverseBankAccLedgEntryOnBeforeInsert
  6. 586writesTable 271 Bank Account Ledger Entry Insert(true)

ReverseVAT line 595

  1. 624callsCodeunit 6200 Non-Deductible VAT Reverse
  2. 625callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  3. 628callsCodeunit 12 Gen. Jnl.-Post Line GetNextVATEntryNo
  4. 636raisesOnReverseVATOnBeforeReversedVATEntryModify
  5. 637writesTable 254 VAT Entry Modify
  6. 643raisesOnReverseVATOnBeforeVATEntryModify
  7. 644writesTable 254 VAT Entry Modify
  8. 645raisesOnReverseVATEntryOnBeforeInsert
  9. 646writesTable 254 VAT Entry Insert
  10. 647raisesOnReverseVATEntryOnAfterInsert
  11. 648callsTable 253 G/L Entry - VAT Entry Link InsertLink
  12. 649callsCodeunit 12 Gen. Jnl.-Post Line IncrNextVATEntryNo

ReverseSpendRequest line 653, local

  1. 663writesTable 6845 Spend Request To G/L Link Insert

ApplyCustLedgEntryByReversal line 674, local

  1. 680raisesOnBeforeApplyCustLedgEntryByReversalIsHandled
  2. 690writesTable 21 Cust. Ledger Entry Modify
  3. 691raisesOnApplyCustLedgEntryByReversalOnAfterCustLedgEntryModify
  4. 698callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  5. 702raisesOnApplyCustLedgEntryByReversalOnBeforeInsertDtldCustLedgEntryIsHandled
  6. 704writesTable 379 Detailed Cust. Ledg. Entry Insert(true)
  7. 707raisesOnApplyCustLedgEntryByReversalOnAfterInsertDtldCustLedgEntry

ApplyVendLedgEntryByReversal line 710, local

  1. 723writesTable 25 Vendor Ledger Entry Modify
  2. 724raisesOnApplyVendLedgEntryByReversalOnAfterVendLedgEntryModify
  3. 731callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  4. 735raisesOnApplyVendLedgEntryByReversalOnBeforeInsertDtldVendLedgEntryIsHandled
  5. 737writesTable 380 Detailed Vendor Ledg. Entry Insert(true)
  6. 738raisesOnApplyVendLedgEntryByReversalOnAfterInsertDtldVendLedgEntry

ApplyEmplLedgEntryByReversal line 741, local

  1. 753writesTable 5222 Employee Ledger Entry Modify
  2. 760callsCodeunit 12 Gen. Jnl.-Post Line GetNextTransactionNo
  3. 763raisesOnApplyEmplLedgEntryByReversalOnBeforeInsertDtldEmplLedgEntry
  4. 764writesTable 5223 Detailed Employee Ledger Entry Insert(true)

CheckDimComb line 777

  1. 785raisesOnBeforeCheckDimCombIsHandled
  2. 787callsCodeunit 408 DimensionManagement CheckDimIDComb
  3. 788callsCodeunit 408 DimensionManagement GetDimCombErr
  4. 795callsCodeunit 408 DimensionManagement CheckDimValuePosting
  5. 796callsCodeunit 408 DimensionManagement GetDimValuePostingErr
  6. 799raisesOnAfterCheckDimComb

CopyCustLedgEntry line 802, local

  1. 809writesTable 21 Cust. Ledger Entry Insert

CopyVendLedgEntry line 813, local

  1. 820writesTable 25 Vendor Ledger Entry Insert

CopyEmplLedgEntry line 824, local

  1. 831writesTable 5222 Employee Ledger Entry Insert

CopyBankAccLedgEntry line 835, local

  1. 842writesTable 271 Bank Account Ledger Entry Insert

SetReversalDescription line 852

  1. 856callsFilterReversalEntry

FilterReversalEntry line 881, local

  1. 937raisesOnAfterFilterReversalEntry

SaveReversalEntries line 941, local

  1. 947raisesOnBeforeSaveReversalEntriesIsHandled
  2. 955writesTable 179 Reversal Entry Insert

DeleteReversalEntries line 959, local

  1. 965raisesOnBeforeDeleteReversalEntriesIsHandled
  2. 969writesTable 179 Reversal Entry DeleteAll