ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] codeunit 386 "Reverse Payment Rec. Journal" - OnAfterReverseEntry

Open ReneZiel opened this issue 3 years ago • 3 comments

Hello, can you please add a new Event OnAfterReverseEntry in codeunit 386 "Reverse Payment Rec. Journal" ?

            PaymentRecRelatedEntry."Entry Type"::Employee:
                begin
                    EmployeeLedgerEntry.Get(PaymentRecRelatedEntry."Entry No.");
                    ErrorIfEntryIsNotReversable(EmployeeLedgerEntry);
                    ReversalEntry.ReverseTransaction(EmployeeLedgerEntry."Transaction No.");
                end;
        end;
        RefreshRelatedEntryReversalStatus(PaymentRecRelatedEntry);
        OnAfterReverseEntry();
    end;
    [IntegrationEvent(false, false)]
    local procedure OnAfterReverseEntry();
    begin
    end;

ReneZiel avatar May 17 '23 11:05 ReneZiel

Hello,

Do you need record parameter in OnAfterReverseEntry("Payment Rec. Related Entry")?

MarkoTrn avatar May 18 '23 09:05 MarkoTrn

No we don´t need a record parameter in this case.

ReneZiel avatar May 22 '23 09:05 ReneZiel

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Build ID: 10874.

JesperSchulz avatar May 24 '23 05:05 JesperSchulz