ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Page 315 "VAT Entries", action "&Navigate"; OnBeforeOnActionNavigate

Open nd2403 opened this issue 5 years ago • 1 comments

Hello, we need to influence assignment of NewDocNo and NewPostingDate in SetDoc procedure of Navigate Page. Thank you in advance!

    [IntegrationEvent(false, false)]
    procedure OnBeforeOnActionNavigate(var VATEntiry: Record "VAT Entry"; var IsHandled: Boolean)
    begin
    end;
action("&Navigate")
            {
                ApplicationArea = Basic, Suite;
                Caption = 'Find entries...';
                Image = Navigate;
                Promoted = true;
                PromotedCategory = Process;
                ShortCutKey = 'Shift+Ctrl+I';
                ToolTip = 'Find entries and documents that exist for the document number and posting date on the selected document. (Formerly this action was named Navigate.)';

                trigger OnAction()
                var
// - new
                    IsHandled: Boolean;
 // + new
                begin
// - new
                    IsHandled := false;
                    OnBeforeOnActionNavigate(Rec, IsHandled);
                    if IsHandled then
                        exit;
// + new

                    Navigate.SetDoc("Posting Date", "Document No.");
                    Navigate.Run;
                end;
            }

nd2403 avatar Nov 25 '21 15:11 nd2403

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 Dec 03 '21 14:12 JesperSchulz