ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Page 315 "VAT Entries", action "&Navigate"; OnBeforeOnActionNavigate
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;
}
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.