ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] table 472 "Job Queue Entry" - OnAfterGetReportParameters

Open MH1612 opened this issue 4 years ago • 2 comments

Please add an Event OnAfterGetReportParameters in procedure GetReportParameters in Table 472 Job Queue Entry

procedure GetReportParameters(): Text
begin
    TestField("Object Type to Run", "Object Type to Run"::Report);
    TestField("Object ID to Run");
      
    OnAfterGetReportParameters(Rec);  <-- NEW EVENT
    exit(GetXmlContent());
end;

[IntegrationEvent(false, false)]
local procedure OnAfterGetReportParameters(var JobQueueEntry: Record "Job Queue Entry")
begin
end;

MH1612 avatar Mar 16 '22 15:03 MH1612

Annoying question, but is it really OnAfter if it occurs before the parameters are retrieved from the XML content, and before the result is determined/returned? ;-)

dzzzb avatar Mar 16 '22 16:03 dzzzb

That's right, thanks! We need to check again here

MH1612 avatar Mar 17 '22 08:03 MH1612