---
title: "Codeunit 386 Reverse Payment Rec. Journal, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/points/
object: https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
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/"
---

# Codeunit 386 Reverse Payment Rec. Journal, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/points/

25 procedures and triggers with a step in src/Layers/W1/BaseApp/Bank/Reconciliation/ReversePaymentRecJournal.Codeunit.al, in source order, read from the text, not from a run.

## SetGLRegisterNo

[Line 52](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L52).

- [61](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L61) writes [Table 1295 Posted Payment Recon. Hdr](https://jonas-paprotka.de/ref/table/1295-posted-payment-recon-hdr/) Modify

## RunReversalWizard

[Line 64](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L64).

- [89](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L89) calls `InsertPaymentRecRelatedAndAppliedEntries`
- [90](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L90) calls `RefreshRelatedEntriesReversalStatus`
- [101](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L101) calls [Page 1300 Pmt. Rec. Undo Statement](https://jonas-paprotka.de/ref/page/1300-pmt-rec-undo-statement/) `SetBankAccountStatement`
- [102](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L102) calls `TryOpenPmtRecUndoStatement`
- [103](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L103) calls [Page 1300 Pmt. Rec. Undo Statement](https://jonas-paprotka.de/ref/page/1300-pmt-rec-undo-statement/) `NextSelected`
- [112](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L112) calls [Page 496 Payment Rec. Related Entries](https://jonas-paprotka.de/ref/page/496-payment-rec-related-entries/) `SetPaymentRecRelatedEntries`
- [114](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L114) calls [Page 496 Payment Rec. Related Entries](https://jonas-paprotka.de/ref/page/496-payment-rec-related-entries/) `HideBackAction`
- [116](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L116) calls [Page 496 Payment Rec. Related Entries](https://jonas-paprotka.de/ref/page/496-payment-rec-related-entries/) `NextSelected`
- [119](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L119) calls [Page 496 Payment Rec. Related Entries](https://jonas-paprotka.de/ref/page/496-payment-rec-related-entries/) `BackSelected`
- [126](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L126) calls [Page 531 Pmt. Rec. Reversal Finalize](https://jonas-paprotka.de/ref/page/531-pmt-rec-reversal-finalize/) `SetPaymentRecRelatedEntries`
- [128](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L128) calls [Page 531 Pmt. Rec. Reversal Finalize](https://jonas-paprotka.de/ref/page/531-pmt-rec-reversal-finalize/) `SetNoStatementMsg`
- [130](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L130) calls [Page 531 Pmt. Rec. Reversal Finalize](https://jonas-paprotka.de/ref/page/531-pmt-rec-reversal-finalize/) `FinalizeSelected`
- [131](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L131) calls `FinalizeReversal`
- [133](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L133) calls [Page 531 Pmt. Rec. Reversal Finalize](https://jonas-paprotka.de/ref/page/531-pmt-rec-reversal-finalize/) `CreatePaymentRecJournalSelected`
- [134](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L134) calls `CreateCopyPaymentRecJournal`
- [135](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L135) calls `CleanUpReversal`
- [139](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L139) calls [Page 531 Pmt. Rec. Reversal Finalize](https://jonas-paprotka.de/ref/page/531-pmt-rec-reversal-finalize/) `BackSelected`
- [152](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L152) runs [Page 1290 Payment Reconciliation Journal](https://jonas-paprotka.de/ref/page/1290-payment-reconciliation-journal/)

## InsertPaymentRecRelatedAndAppliedEntries

[Line 162](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L162), local.

- [181](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L181) calls `InsertRelatedAndAppliedEntries`
- [183](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L183) writes [Table 1295 Posted Payment Recon. Hdr](https://jonas-paprotka.de/ref/table/1295-posted-payment-recon-hdr/) Modify
- [188](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L188) calls `InsertRelatedAndAppliedEntriesOfGLRegister`
- [190](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L190) writes [Table 1295 Posted Payment Recon. Hdr](https://jonas-paprotka.de/ref/table/1295-posted-payment-recon-hdr/) Modify

## CreateCopyPaymentRecJournal

[Line 196](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L196), local.

- [203](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L203) validates [Table 273 Bank Acc. Reconciliation](https://jonas-paprotka.de/ref/table/273-bank-acc-reconciliation/) `Statement Type`
- [204](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L204) validates [Table 273 Bank Acc. Reconciliation](https://jonas-paprotka.de/ref/table/273-bank-acc-reconciliation/) `Bank Account No.`
- [205](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L205) writes [Table 273 Bank Acc. Reconciliation](https://jonas-paprotka.de/ref/table/273-bank-acc-reconciliation/) Insert(true)
- [207](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L207) calls `CopyPaymentRecJournalFromPostedPaymentReconLines`
- [209](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L209) calls `CopyPaymentRecJournalFromPaymentRecRelatedEntries`
- [211](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L211) raises `OnAfterCreateCopyPaymentRecJournal`

## CopyPaymentRecJournalFromPaymentRecRelatedEntries

[Line 216](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L216), local.

- [233](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L233) calls `SetBankRecLineDetailsFromPaymentRecRelatedEntry`
- [234](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L234) writes [Table 274 Bank Acc. Reconciliation Line](https://jonas-paprotka.de/ref/table/274-bank-acc-reconciliation-line/) Insert(true)
- [242](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L242) calls `CreateApplicationEntryForBankAccReconciliationLine`

## SetBankRecLineDetailsFromPaymentRecRelatedEntry

[Line 247](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L247), local.

- [262](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L262) validates [Table 274 Bank Acc. Reconciliation Line](https://jonas-paprotka.de/ref/table/274-bank-acc-reconciliation-line/) `Statement Amount`
- [271](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L271) validates [Table 274 Bank Acc. Reconciliation Line](https://jonas-paprotka.de/ref/table/274-bank-acc-reconciliation-line/) `Statement Amount`
- [280](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L280) validates [Table 274 Bank Acc. Reconciliation Line](https://jonas-paprotka.de/ref/table/274-bank-acc-reconciliation-line/) `Statement Amount`

## CopyPaymentRecJournalFromPostedPaymentReconLines

[Line 285](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L285), local.

- [298](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L298) calls [Table 274 Bank Acc. Reconciliation Line](https://jonas-paprotka.de/ref/table/274-bank-acc-reconciliation-line/) `TransferFromPostedPaymentReconLine`
- [300](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L300) writes [Table 274 Bank Acc. Reconciliation Line](https://jonas-paprotka.de/ref/table/274-bank-acc-reconciliation-line/) Insert(true)
- [301](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L301) raises `OnCopyPaymentRecJournalFromPostedPaymentReconLinesOnAfterInsertBankAccReconciliationLine`
- [316](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L316) calls `CreateApplicationEntryForBankAccReconciliationLine`

## CleanUpReversal

[Line 321](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L321), local.

- [328](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L328) writes [Table 1295 Posted Payment Recon. Hdr](https://jonas-paprotka.de/ref/table/1295-posted-payment-recon-hdr/) Modify
- [333](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L333) writes [Table 185 Pmt. Rec. Applied-to Entry](https://jonas-paprotka.de/ref/table/185-pmt-rec-applied-to-entry/) DeleteAll
- [337](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L337) writes [Table 184 Payment Rec. Related Entry](https://jonas-paprotka.de/ref/table/184-payment-rec-related-entry/) DeleteAll

## UnapplyEntry

[Line 340](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L340).

- [344](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L344) calls `UnapplyCustomerEntry`
- [346](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L346) calls `UnapplyVendorEntry`
- [348](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L348) calls `UnapplyEmployeeEntry`

## ReverseEntry

[Line 352](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L352).

- [360](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L360) raises `OnBeforeReverseEntry`
- [362](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L362) calls [Table 179 Reversal Entry](https://jonas-paprotka.de/ref/table/179-reversal-entry/) `SetHideWarningDialogs`
- [365](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L365) calls [Table 179 Reversal Entry](https://jonas-paprotka.de/ref/table/179-reversal-entry/) `SetBankAccountStatement`
- [371](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L371) calls `ErrorIfEntryIsNotReversable`
- [372](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L372) calls [Table 179 Reversal Entry](https://jonas-paprotka.de/ref/table/179-reversal-entry/) `ReverseTransaction`
- [377](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L377) calls `ErrorIfEntryIsNotReversable`
- [378](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L378) calls [Table 179 Reversal Entry](https://jonas-paprotka.de/ref/table/179-reversal-entry/) `ReverseTransaction`
- [383](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L383) calls `ErrorIfEntryIsNotReversable`
- [384](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L384) calls [Table 179 Reversal Entry](https://jonas-paprotka.de/ref/table/179-reversal-entry/) `ReverseTransaction`
- [387](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L387) calls `RefreshRelatedEntryReversalStatus`
- [388](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L388) raises `OnAfterReverseEntry`

## FinalizeReversal

[Line 392](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L392), local.

- [398](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L398) calls `RefreshRelatedEntriesReversalStatus`
- [401](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L401) calls [Codeunit 1340 Undo Bank Statement (Yes/No)](https://jonas-paprotka.de/ref/codeunit/1340-undo-bank-statement-yes-no/) `UndoBankAccountStatement`
- [411](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L411) calls `UnapplyEntry`
- [412](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L412) writes [Table 184 Payment Rec. Related Entry](https://jonas-paprotka.de/ref/table/184-payment-rec-related-entry/) Modify
- [425](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L425) calls `ReverseEntry`
- [426](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L426) writes [Table 184 Payment Rec. Related Entry](https://jonas-paprotka.de/ref/table/184-payment-rec-related-entry/) Modify

## InsertRelatedAndAppliedEntriesOfGLRegister

[Line 445](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L445), local.

- [456](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L456) calls `InsertBankPaymentRecRelatedEntry`
- [463](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L463) calls `InsertRelatedAndAppliedEntries`
- [470](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L470) calls `InsertRelatedAndAppliedEntries`
- [477](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L477) calls `InsertRelatedAndAppliedEntries`
- [480](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L480) raises `OnAfterInsertRelatedAndAppliedEntriesOfGLRegister`

## RefreshRelatedEntryReversalStatus

[Line 488](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L488), local.

- [505](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L505) calls [Codeunit 226 CustEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/226-custentry-apply-posted-entries/) `FindLastApplEntry`
- [514](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L514) calls [Codeunit 227 VendEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/227-vendentry-apply-posted-entries/) `FindLastApplEntry`
- [523](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L523) calls [Codeunit 224 EmplEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/224-emplentry-apply-posted-entries/) `FindLastApplEntry`

## RefreshRelatedEntriesReversalStatus

[Line 541](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L541), local.

- [550](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L550) calls `RefreshRelatedEntryReversalStatus`
- [551](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L551) writes [Table 184 Payment Rec. Related Entry](https://jonas-paprotka.de/ref/table/184-payment-rec-related-entry/) Modify

## InsertRelatedAndAppliedEntries

[Line 570](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L570), local.

- [583](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L583) writes [Table 184 Payment Rec. Related Entry](https://jonas-paprotka.de/ref/table/184-payment-rec-related-entry/) Insert
- [608](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L608) writes [Table 185 Pmt. Rec. Applied-to Entry](https://jonas-paprotka.de/ref/table/185-pmt-rec-applied-to-entry/) Insert

## InsertRelatedAndAppliedEntries

[Line 614](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L614), local.

- [627](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L627) writes [Table 184 Payment Rec. Related Entry](https://jonas-paprotka.de/ref/table/184-payment-rec-related-entry/) Insert
- [652](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L652) writes [Table 185 Pmt. Rec. Applied-to Entry](https://jonas-paprotka.de/ref/table/185-pmt-rec-applied-to-entry/) Insert

## InsertRelatedAndAppliedEntries

[Line 658](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L658), local.

- [671](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L671) writes [Table 184 Payment Rec. Related Entry](https://jonas-paprotka.de/ref/table/184-payment-rec-related-entry/) Insert
- [696](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L696) writes [Table 185 Pmt. Rec. Applied-to Entry](https://jonas-paprotka.de/ref/table/185-pmt-rec-applied-to-entry/) Insert

## InsertBankPaymentRecRelatedEntry

[Line 702](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L702), local.

- [711](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L711) writes [Table 184 Payment Rec. Related Entry](https://jonas-paprotka.de/ref/table/184-payment-rec-related-entry/) Insert

## InsertRelatedAndAppliedEntries

[Line 714](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L714), local.

- [720](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L720) calls `InsertBankPaymentRecRelatedEntry`
- [730](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L730) raises `OnInsertRelatedAndAppliedEntriesOnAfterFilterCustLedgerEntry`
- [743](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L743) raises `OnInsertRelatedAndAppliedEntriesOnAfterFilterVendorLedgerEntry`
- [756](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L756) raises `OnInsertRelatedAndAppliedEntriesOnAfterFilterEmployeeLedgerEntry`
- [764](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L764) raises `OnAfterInsertRelatedAndAppliedEntries`

## CreateApplicationEntryForBankAccReconciliationLine

[Line 781](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L781), local.

- [837](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L837) calls [Table 1293 Payment Application Proposal](https://jonas-paprotka.de/ref/table/1293-payment-application-proposal/) `UpdateDefaultCalculatedFields`
- [838](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L838) writes [Table 1293 Payment Application Proposal](https://jonas-paprotka.de/ref/table/1293-payment-application-proposal/) Insert
- [839](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L839) validates [Table 1293 Payment Application Proposal](https://jonas-paprotka.de/ref/table/1293-payment-application-proposal/) `Applied`

## UnapplyCustomerEntry

[Line 842](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L842), local.

- [849](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L849) calls [Codeunit 226 CustEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/226-custentry-apply-posted-entries/) `UnApplyCustLedgEntry`
- [850](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L850) calls `RefreshRelatedEntryReversalStatus`
- [853](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L853) calls [Codeunit 226 CustEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/226-custentry-apply-posted-entries/) `CheckCustLedgEntryToUnapply`
- [857](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L857) calls [Codeunit 226 CustEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/226-custentry-apply-posted-entries/) `PostUnApplyCustomer`

## UnapplyVendorEntry

[Line 860](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L860), local.

- [867](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L867) calls [Codeunit 227 VendEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/227-vendentry-apply-posted-entries/) `UnApplyVendLedgEntry`
- [868](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L868) calls `RefreshRelatedEntryReversalStatus`
- [871](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L871) calls [Codeunit 227 VendEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/227-vendentry-apply-posted-entries/) `CheckVendorLedgerEntryToUnapply`
- [875](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L875) calls [Codeunit 227 VendEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/227-vendentry-apply-posted-entries/) `PostUnApplyVendor`

## UnapplyEmployeeEntry

[Line 878](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L878), local.

- [885](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L885) calls [Codeunit 224 EmplEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/224-emplentry-apply-posted-entries/) `UnApplyEmplLedgEntry`
- [886](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L886) calls `RefreshRelatedEntryReversalStatus`
- [889](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L889) calls [Codeunit 224 EmplEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/224-emplentry-apply-posted-entries/) `CheckEmployeeLedgerEntryToUnapply`
- [893](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L893) calls [Codeunit 224 EmplEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/224-emplentry-apply-posted-entries/) `PostUnApplyEmployee`

## EntryIsReversable

[Line 896](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L896), local.

- [904](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L904) raises `OnBeforeEntryIsReversable`, IsHandled

## ErrorIfEntryIsNotReversable

[Line 929](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L929).

- [935](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L935) calls [Table 179 Reversal Entry](https://jonas-paprotka.de/ref/table/179-reversal-entry/) `AlreadyReversedEntry`
- [937](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L937) raises `OnErrorIfEntryIsNotReversableOnBeforeEntryIsReversable`, IsHandled
- [939](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L939) calls `EntryIsReversable`
- [940](https://jonas-paprotka.de/ref/codeunit/386-reverse-payment-rec-journal/source/#L940) calls [Table 179 Reversal Entry](https://jonas-paprotka.de/ref/table/179-reversal-entry/) `TestFieldError`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
