Codeunit 450 Job Queue Error Handler

Base Application, System.Threading

Source AL, 79 lines

src/Layers/W1/BaseApp/Modules/System/JobQueue/JobQueueErrorHandler.Codeunit.allines 5 to 20 of 79, Copyright (c) Microsoft Corporation. MIT

codeunit 450 "Job Queue Error Handler"{    Permissions = TableData "Job Queue Entry" = rimd,                    TableData "Job Queue Log Entry" = rm;    TableNo = "Job Queue Entry";    trigger OnRun()    begin        if Rec."Job Queue Category Code" <> '' then            Rec.ActivateNextJobInCategoryIfAny();        if Rec.GetRecLockedExtendedTimeout() then begin            Rec.Status := Rec.Status::Error;            LogError(Rec);        end;    end;

All 79 lines

Events 2 in 29

[IntegrationEvent] OnBeforeLogError(var JobQueueLogEntry: Record "Job Queue Log Entry"; var JobQueueEntry: Record "Job Queue Entry")17-29
[IntegrationEvent] OnAfterLogError(var JobQueueEntry: Record "Job Queue Entry"; var JobQueueLogEntry: Record "Job Queue Log Entry")new in 25

All 5 events in 17-29

Changes 2 in 27

List17181920212223242526272829
Events2222
[IntegrationEvent] OnLogErrorOnAfterJobQueueLogEntryModify(var JobQueueEntry: Record "Job Queue Entry")18 to 26
gone
[IntegrationEvent] OnLogErrorOnAfterJobQueueLogEntryFinalizeLogEntry(var JobQueueEntry: Record "Job Queue Entry")18 to 26
gone

All 8 changes in 17-29