ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Page 233 Apply Vendor Entries OnApplyVendorEntriesOnNextRecord

Open akontos opened this issue 4 years ago • 6 comments

Please Add an Event OnApplyVendorEntriesOnNextRecord in Page 233 Apply Vendor Entries

trigger OnNextRecord(Steps: Integer): Integer
    var
        NextStep: Integer;
        IsHandled: Boolean;
    begin
        OnApplyVendorEntriesOnNextRecord(Rec, Steps, NextStep, IsHandled);
        if IsHandled then
            exit(NextStep);
        exit(Steps);
    end;
[IntegrationEvent(true, false)]
    local procedure OnApplyVendorEntriesOnNextRecord(VendorLedgerEntry: Record "Vendor Ledger Entry"; Steps: Integer; var NextStep: Integer; var IsHandled: Boolean)
    begin
    end;

Thank You!

akontos avatar Jan 17 '22 18:01 akontos

We cannot add an empty trigger, since in will break default behavior of this page, so we cannot add such event

Stepanenko-Vadim avatar Feb 04 '22 11:02 Stepanenko-Vadim

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.

JesperSchulz avatar Feb 04 '22 11:02 JesperSchulz

My message is the one to believe :)

Stepanenko-Vadim avatar Feb 04 '22 11:02 Stepanenko-Vadim

Actually it does not break anything since it will exit the default steps as it would if no code was present

panas78 avatar Feb 04 '22 11:02 panas78

Ι don't agree that the event will break anything. If not handled will exit the parameter steps. In any case you have already did that in a different object. Please check page 554 "Analysis by Dimensions".

akontos avatar Feb 04 '22 11:02 akontos

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.

JesperSchulz avatar Feb 14 '22 07:02 JesperSchulz