Codeunit 448 Job Queue Dispatcher
src/Layers/W1/BaseApp/Modules/System/JobQueue/JobQueueDispatcher.Codeunit.al16 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnRun line 13, trigger
- 17raisesOnBeforeRun
- 19callsCodeunit 9803 Job Queue Telemetry SendJobQueueSkippedTelemetry
- 24callsRunCleanupForCurrentJob
- 27callsCodeunit 9803 Job Queue Telemetry SendJobQueueNotReadyToStartTelemetry
- 34callsCodeunit 9803 Job Queue Telemetry SendJobQueueExpiredTelemetry
- 38callsIsWithinStartEndTime
- 39callsReschedule
- 40callsCodeunit 9803 Job Queue Telemetry SendJobQueueRescheduledDueToStartEndTimeTelemetry
- 43callsWaitForOthersWithSameCategory
- 44callsRescheduleAsWaiting
- 45callsCodeunit 9803 Job Queue Telemetry SendJobQueueRescheduleAsWaitingTelemetry
- 48callsHandleRequest
- 55callsCleanupCurrentUsersJobsWithSameCategory
- 56callsCleanupStaleJobs
HandleRequest line 76, local
- 83raisesOnBeforeHandleRequest
- 92writesTable 472 Job Queue Entry Modify
- 95callsTable 472 Job Queue Entry InsertLogEntry
- 99raisesOnBeforeExecuteJob
- 102runsCodeunit 449 Job Queue Start Codeunit
- 105raisesOnAfterSuccessExecuteJob
- 109callsTable 472 Job Queue Entry DoesExistLocked
- 110callsTable 472 Job Queue Entry SetResult
- 112callsSendTraceOnFailedtoGetRecordBeforeUpdatingStatus
- 113callsTable 472 Job Queue Entry SetResultDeletedEntry
- 117callsTable 472 Job Queue Entry FinalizeLogEntry
- 119callsTable 472 Job Queue Entry DoesExistLocked
- 120callsTable 472 Job Queue Entry FinalizeRun
- 122callsSendTraceOnFailedToGetRecordBeforeFinalizingRecord
- 124raisesOnAfterSuccessHandleRequest
WaitForOthersWithSameCategory line 161
- 168raisesOnBeforeWaitForOthersWithSameCategoryIsHandled
CleanupCurrentUsersJobsWithSameCategory line 198, local
- 219callsTable 472 Job Queue Entry IsExpired
- 220callsTable 472 Job Queue Entry DeleteTask
- 222callsReschedule
CleanupStaleJobs line 226, local
- 247validatesTable 472 Job Queue Entry Run on Mondays
- 248validatesTable 472 Job Queue Entry Run on Tuesdays
- 249validatesTable 472 Job Queue Entry Run on Wednesdays
- 250validatesTable 472 Job Queue Entry Run on Thursdays
- 251validatesTable 472 Job Queue Entry Run on Fridays
- 252validatesTable 472 Job Queue Entry Run on Saturdays
- 253validatesTable 472 Job Queue Entry Run on Sundays
- 254validatesTable 472 Job Queue Entry Starting Time
- 255callsCalcInitialRunTime
- 256runsCodeunit 453 Job Queue - Enqueue
- 259callsTable 472 Job Queue Entry Restart
- 262callsTable 472 Job Queue Entry GetRecLockedExtendedTimeout
- 263callsTable 472 Job Queue Entry SetStatus
- 264validatesTable 472 Job Queue Entry Starting Time
- 265callsCalcInitialRunTime
- 266writesTable 472 Job Queue Entry Modify
- 267callsTable 472 Job Queue Entry SetStatus
Reschedule line 277, local
- 280callsCalcInitialRunTime
- 281raisesOnRescheduleOnBeforeJobQueueEnqueue
- 284writesTable 472 Job Queue Entry Modify
RescheduleAsWaiting line 287, local
ActivateNextJobInCategory line 299, internal
- 315writesTable 472 Job Queue Entry Modify
CalcNextRunTimeForRecurringJob line 319
- 325callsIsNextRecurringRunTimeCalculated
- 328callsTable 472 Job Queue Entry IsNextRunDateFormulaSet
- 334callsAddMinutesToDateTime
- 342raisesOnCalcNextRunTimeForRecurringJobOnAfterCalcNewRunDateTimeIsHandled
- 346callsCalcRunTimeForRecurringJob
CalcNextRunTimeHoldDuetoInactivityJob line 349
- 353callsAddMinutesToDateTime
- 354callsCalcRunTimeForRecurringJob
CalcInitialRunTime line 362
- 373raisesOnCalcInitialRunTimeOnAfterCalcEarliestPossibleRunTimeIsHandled
- 377callsTable 472 Job Queue Entry IsNextRunDateFormulaSet
- 378callsCalcRunTimeForRecurringJob
CalcRunTimeForRecurringJob line 383, local
- 401raisesOnCalcRunTimeForRecurringJobOnAfterInitDays
- 412callsTable 472 Job Queue Entry GetStartingDateTime
- 419raisesOnCalcRunTimeForRecurringJob
- 427callsTable 472 Job Queue Entry GetStartingDateTime
- 428callsTable 472 Job Queue Entry GetEndingDateTime
- 430callsTable 472 Job Queue Entry GetStartingDateTime
- 432callsTable 472 Job Queue Entry GetStartingDateTime
- 433callsTable 472 Job Queue Entry GetStartingDateTime
- 441raisesOnAfterCalcRunTimeForRecurringJob
IsNextRecurringRunTimeCalculated line 444, local
- 446raisesOnBeforeCalcNextRunTimeForRecurringJobIsHandled
SendTraceOnFailedToGetRecordBeforeFinalizingRecord line 449, local
- 454callsCodeunit 53 Translation Helper SetGlobalLanguageToDefault
- 469callsCodeunit 53 Translation Helper RestoreGlobalLanguage
SendTraceOnFailedtoGetRecordBeforeUpdatingStatus line 472, local
- 477callsCodeunit 53 Translation Helper SetGlobalLanguageToDefault
- 492callsCodeunit 53 Translation Helper RestoreGlobalLanguage