Source AL, 53 lines
src/Layers/W1/BaseApp/Modules/System/JobQueue/JobQueueStartReportRunner.Codeunit.allines 3 to 18 of 53, Copyright (c) Microsoft Corporation. MIT
codeunit 9812 "Job Queue Start Report Runner" implements "Job Queue Report Runner"{ procedure RunReport(ReportID: Integer; var JobQueueEntry: Record "Job Queue Entry") var RecRef: RecordRef; RunOnRec: Boolean; ShouldModifyNotifyOnSuccess: Boolean; OriginalReportOutputType: Enum "Job Queue Report Output Type"; begin RunOnRec := RecRef.Get(JobQueueEntry."Record ID to Process"); if RunOnRec then RecRef.SetRecFilter(); if RunOnRec then REPORT.Execute(ReportID, JobQueueEntry.GetReportParameters(), RecRef) else
All 53 lines
Events 2 in 29
| [IntegrationEvent] OnAfterExecuteReport(ReportID: Integer; var JobQueueEntry: Record "Job Queue Entry"; var ShouldModifyNotifyOnSuccess: Boolean) | new in 27 |
| [IntegrationEvent] OnAfterRunReport(ReportID: Integer; var JobQueueEntry: Record "Job Queue Entry") | new in 27 |
Public procedures 1 in 29
| RunReport(ReportID: Integer; var JobQueueEntry: Record "Job Queue Entry") | new in 27 |