---
title: "Table 472 Job Queue Entry"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/472-job-queue-entry/
type: table
id: 472
name: "Job Queue Entry"
app: "Base Application"
namespace: System.Threading
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/472-job-queue-entry/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 472 Job Queue Entry

Jonas Paprotka, https://jonas-paprotka.de/ref/table/472-job-queue-entry/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Threading |
| Versions | 17-28 |
| Source file | Modules/System/JobQueue/JobQueueEntry.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | ID | Guid | 17-28 | - | - |
| 2 | User ID | Text[65] | 17-28 | - | - |
| 3 | XML | Blob | 17-28 | - | - |
| 4 | Last Ready State | DateTime | 17-28 | - | - |
| 5 | Expiration Date/Time | DateTime | 17-28 | - | - |
| 6 | Earliest Start Date/Time | DateTime | 17-28 | - | - |
| 7 | Object Type to Run | Option | 17-28 | - | - |
| 8 | Object ID to Run | Integer | 17-28 | - | - |
| 9 | Object Caption to Run | Text[250] | 17-28 | - | - |
| 10 | Report Output Type | Enum Job Queue Report Output Type | 17-28 | - | - |
| 11 | Maximum No. of Attempts to Run | Integer | 17-28 | - | - |
| 12 | No. of Attempts to Run | Integer | 17-28 | - | - |
| 13 | Status | Option | 17-28 | - | - |
| 14 | Priority | Integer | 17-25 | Removed 15.0 | No longer supported. |
| 15 | Record ID to Process | RecordId | 17-28 | - | - |
| 16 | Parameter String | Text[250] | 17-28 | - | - |
| 17 | Recurring Job | Boolean | 17-28 | - | - |
| 18 | No. of Minutes between Runs | Integer | 17-28 | - | - |
| 19 | Run on Mondays | Boolean | 17-28 | - | - |
| 20 | Run on Tuesdays | Boolean | 17-28 | - | - |
| 21 | Run on Wednesdays | Boolean | 17-28 | - | - |
| 22 | Run on Thursdays | Boolean | 17-28 | - | - |
| 23 | Run on Fridays | Boolean | 17-28 | - | - |
| 24 | Run on Saturdays | Boolean | 17-28 | - | - |
| 25 | Run on Sundays | Boolean | 17-28 | - | - |
| 26 | Starting Time | Time | 17-28 | - | - |
| 27 | Ending Time | Time | 17-28 | - | - |
| 28 | Reference Starting Time | DateTime | 17-28 | - | - |
| 29 | Next Run Date Formula | DateFormula | 17-28 | - | - |
| 30 | Description | Text[250] | 17-28 | - | - |
| 31 | Run in User Session | Boolean | 17-28 | - | - |
| 32 | User Session ID | Integer | 17-28 | - | - |
| 33 | Job Queue Category Code | Code[10] | 17-28 | - | - |
| 34 | Error Message | Text[2048] | 17-28 | - | - |
| 35 | Error Message 2 | Text[250] | 17-25 | Removed 15.0 | Error Message field size has been increased. |
| 36 | Error Message 3 | Text[250] | 17-25 | Removed 15.0 | Error Message field size has been increased. |
| 37 | Error Message 4 | Text[250] | 17-25 | Removed 15.0 | Error Message field size has been increased. |
| 40 | User Service Instance ID | Integer | 17-28 | - | - |
| 41 | User Session Started | DateTime | 17-28 | - | - |
| 42 | Timeout (sec.) | Integer | 17-25 | Removed 15.0 | No longer supported. |
| 43 | Notify On Success | Boolean | 17-28 | - | - |
| 44 | User Language ID | Integer | 17-28 | - | - |
| 45 | Printer Name | Text[250] | 17-28 | - | - |
| 46 | Report Request Page Options | Boolean | 17-28 | - | - |
| 47 | Rerun Delay (sec.) | Integer | 17-28 | - | - |
| 48 | System Task ID | Guid | 17-28 | - | - |
| 49 | Scheduled | Boolean | 17-28 | - | - |
| 50 | Manual Recurrence | Boolean | 17-28 | - | - |
| 51 | On Hold Due to Inactivity | Boolean | 17-25 | Removed 18.0 | Functionality moved into new job queue status |
| 52 | Inactivity Timeout Period | Integer | 17-28 | - | - |
| 53 | Error Message Register Id | Guid | 17-28 | - | - |
| 54 | Job Timeout | Duration | 18-28 | - | - |
| 55 | Recovery Task Id | Guid | 18-25 | Removed 23.0 | The recovery job is no longer needed. |
| 56 | Entry No. | BigInteger | 24-28 | - | - |
| 57 | Priority Within Category | Enum Job Queue Priority | 24-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | ID | 17-28 |
| Key2 | Job Queue Category Code, Priority Within Category, Entry No. | 17-28 |
| Key3 | Last Ready State | 17-28 |
| Key4 | Recurring Job | 17-28 |
| Key5 | System Task ID | 18-28 |
| Key6 | User ID, Status, Recurring Job | 22-28 |
| Key7 | Object ID to Run, Object Type to Run | 23-28 |
| Key8 | Error Message Register Id | 25-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| DoesExistLocked | () | Boolean | public | 17-28 | - | - |
| RefreshLocked | () | - | public | 17-28 | - | - |
| IsExpired | (DateTime) | Boolean | public | 17-28 | - | - |
| IsReadyToStart | () | Boolean | public | 17-28 | - | - |
| ShowErrorMessage | () | - | public | 17-28 | - | - |
| SetError | (Text) | - | public | 17-28 | - | - |
| SetResult | (Boolean, Option, Guid) | - | public | 17-28 | - | - |
| SetResultDeletedEntry | () | - | public | 17-28 | - | - |
| FinalizeRun | () | - | public | 17-28 | - | - |
| GetLastLogEntryNo | () | Integer | public | 17-28 | - | - |
| InsertLogEntry | (var Record Job Queue Log Entry) | - | public | 17-28 | - | - |
| FinalizeLogEntry | (Record Job Queue Log Entry) | - | public | 17-28 | - | - |
| FinalizeLogEntry | (Record Job Queue Log Entry, Text) | - | public | 17-28 | - | - |
| SetStatus | (Option) | - | public | 17-28 | - | - |
| Cancel | () | - | public | 17-28 | - | - |
| DeleteTask | () | - | public | 17-28 | - | - |
| DeleteTasks | () | - | public | 17-28 | - | - |
| Restart | () | - | public | 17-28 | - | - |
| TryCheckRequiredPermissions | () | Boolean | internal | 17-28 | - | - |
| CancelTask | () | - | public | 17-28 | - | - |
| ScheduleTask | () | Guid | public | 17-28 | - | - |
| ReuseExistingJobFromID | (Guid, DateTime) | Boolean | public | 17-28 | - | - |
| ReuseExistingJobFromCatagory | (Code[10], DateTime) | Boolean | public | 17-22 | Pending 20.0 | Renamed function to ReuseExistingJobFromCategory |
| IsNextRunDateFormulaSet | () | Boolean | public | 17-28 | - | - |
| ShowStatusMsg | (Guid) | - | public | 17-28 | - | - |
| LookupRecordToProcess | () | - | public | 17-28 | - | - |
| LookupObjectID | (var Integer) | Boolean | public | 17-28 | - | - |
| GetXmlContent | () | Text | public | 17-28 | - | - |
| SetXmlContent | (Text) | - | public | 17-28 | - | - |
| GetReportParameters | () | Text | public | 17-28 | - | - |
| SetReportParameters | (Text) | - | public | 17-28 | - | - |
| RunReportRequestPage | () | - | public | 17-28 | - | - |
| ScheduleJobQueueEntry | (Integer, RecordId) | - | public | 17-28 | - | - |
| ScheduleJobQueueEntryWithParameters | (Integer, RecordId, Text[250]) | - | public | 17-28 | - | - |
| ScheduleJobQueueEntryForLater | (Integer, DateTime, Code[10], Text) | - | public | 17-28 | - | - |
| GetStartingDateTime | (DateTime) | DateTime | public | 17-28 | - | - |
| GetEndingDateTime | (DateTime) | DateTime | public | 17-28 | - | - |
| ScheduleRecurrentJobQueueEntry | (Option, Integer, RecordId) | - | public | 17-28 | - | - |
| ScheduleRecurrentJobQueueEntryWtihFrequency | (Option, Integer, RecordId, Integer) | - | public | 17-19 | Pending 17.0 | Replaced by ScheduleRecurrentJobQueueEntryWithFrequency to fix typo in the name |
| ScheduleRecurrentJobQueueEntryWtihFrequency | (Option, Integer, RecordId, Integer, Integer, Integer) | - | public | 17-19 | Pending 17.0 | Replaced by ScheduleRecurrentJobQueueEntryWithFrequency to fix typo in the name |
| ScheduleRecurrentJobQueueEntryWithFrequency | (Option, Integer, RecordId, Integer) | - | public | 17-28 | - | - |
| ScheduleRecurrentJobQueueEntryWithFrequency | (Option, Integer, RecordId, Integer, Time) | - | public | 17-28 | - | - |
| ScheduleRecurrentJobQueueEntryWithFrequency | (Option, Integer, RecordId, Integer, Integer, Integer, Time) | - | internal | 17-28 | - | - |
| ScheduleRecurrentJobQueueEntryWithRunDateFormula | (Option, Integer, RecordId, Code[10], Integer, DateFormula, Time) | - | public | 17-28 | - | - |
| InitRecurringJob | (Integer) | - | public | 17-28 | - | - |
| FindJobQueueEntry | (Option, Integer) | Boolean | public | 17-28 | - | - |
| GetDefaultDescription | () | Text[250] | public | 17-28 | - | - |
| IsToReportInbox | () | Boolean | public | 17-26 | - | - |
| FilterInactiveOnHoldEntries | () | - | public | 17-28 | - | - |
| DoesJobNeedToBeRun | () | Boolean | public | 17-28 | - | - |
| CheckRequiredPermissions | () | - | public | 18-28 | - | - |
| DefaultJobTimeout | () | Duration | public | 18-28 | - | - |
| ScheduleRecoveryJob | () | - | public | 18-21 | Pending 19.0 | The recovery job is no longer needed. |
| SetResult | (Option) | - | internal | 19-28 | - | - |
| ReuseExistingJobFromCategory | (Code[10], DateTime) | Boolean | public | 19-28 | - | - |
| ReuseExistingJobFromCategoryAndUser | (Code[10], Text, DateTime) | Boolean | public | 19-28 | - | - |
| ReuseExistingJobFromCategoryAndParamString | (Code[10], Text[250], DateTime) | Boolean | internal | 19-28 | - | - |
| ReuseExistingJobFromUserCategoryAndParamString | (Text, Code[10], Text[250], DateTime) | Boolean | internal | 19-28 | - | - |
| ScheduleRecurrentJobQueueEntryWithRunDateFormula | (Option, Integer, RecordId, Code[10], Integer, DateFormula, Time, Duration) | - | internal | 21-28 | - | - |
| CleanupAfterExecution | () | - | public | 22-28 | - | - |
| HasRequiredPermissions | () | Boolean | public | 23-28 | - | - |
| GetRecLockedExtendedTimeout | () | Boolean | public | 24-28 | - | - |
| CancelTask | (Boolean) | - | internal | 24-28 | - | - |
| RemoveFailedJobs | (Boolean) | - | internal | 24-28 | - | - |
| AnyReadyJobInCategory | (var Record Job Queue Category) | Boolean | internal | 24-28 | - | - |
| ActivateNextJobInCategory | (var Record Job Queue Category) | Boolean | internal | 24-28 | - | - |
| RefreshRecoveryTask | (var Record Job Queue Category) | - | internal | 24-28 | - | - |
| ActivateNextJobInCategoryIfAny | () | - | internal | 24-28 | - | - |
| ActivateNextJobInCategory | () | - | internal | 24-28 | - | - |
| SetPriority | (Enum Job Queue Priority) | - | internal | 24-28 | - | - |
| ReuseExistingJobFromUserCategoryCodeunitAndParamString | (Text, Code[10], Integer, Text[250], DateTime) | Boolean | internal | 26-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterReschedule | (var Record Job Queue Entry) | 17-28 | - | - |
| Integration event | OnAfterSetDefaultValues | (var Record Job Queue Entry) | 17-28 | - | - |
| Integration event | OnBeforeClearServiceValues | (var Record Job Queue Entry) | 17-28 | - | - |
| Integration event | OnAfterFinalizeRun | (Record Job Queue Entry) | 17-28 | - | - |
| Integration event | OnBeforeInsertLogEntry | (var Record Job Queue Log Entry, var Record Job Queue Entry) | 17-28 | - | - |
| Integration event | OnBeforeModifyLogEntry | (var Record Job Queue Log Entry, var Record Job Queue Entry) | 17-28 | - | - |
| Integration event | OnBeforeScheduleTask | (var Record Job Queue Entry, var Guid, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeSetStatusValue | (var Record Job Queue Entry, var Record Job Queue Entry, var Option) | 17-19 | - | - |
| Integration event | OnBeforeTryRunJobQueueSendNotification | (var Record Job Queue Entry, var Boolean) | 17-28 | - | - |
| Integration event | OnFindingIfJobNeedsToBeRun | (var Boolean) | 17-28 | - | - |
| Integration event | OnInsertOnBeforeSetDefaultValues | (var Record Job Queue Entry, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeScheduleRecoveryJob | (var Record Job Queue Entry, var Duration) | 18-21 | Pending 19.0 | The recovery job is no longer needed. |
| Internal event | OnReuseExisingJobFromId | (var Record Job Queue Entry) | 18-27 | - | - |
| Integration event | OnBeforeSetRecurringField | (var Record Job Queue Entry, var Boolean) | 19-28 | - | - |
| Integration event | OnAfterCleanupAfterExecution | (var Record Job Queue Entry) | 20-28 | - | - |
| Integration event | OnAfterGetXmlContent | (var Record Job Queue Entry, var Text) | 20-28 | - | - |
| Integration event | OnAfterRunReportRequestPage | (Record Job Queue Entry, var Text) | 20-28 | - | - |
| Integration event | OnBeforeSetStatusValue | (var Record Job Queue Entry, var Record Job Queue Entry, var Option, var Boolean) | 20-28 | - | - |
| Integration event | OnRunReportRequestPageBeforeGetReportParameters | (Record Job Queue Entry) | 20-28 | - | - |
| Integration event | OnSetXmlContentOnBeforeModify | (var Record Job Queue Entry, var Text) | 20-28 | - | - |
| Integration event | OnBeforeCleanupAfterExecution | (var Record Job Queue Entry, var Boolean) | 20-28 | - | - |
| Integration event | OnScheduleTaskOnAfterCalcShouldChangeUserID | (var Record Job Queue Entry, var Boolean) | 21-27 | Pending 25.0 | Function ScheduleTask no longer changes user ID. |
| Integration event | OnBeforeRestart | (Record Job Queue Entry) | 22-28 | - | - |
| Integration event | OnAfterSetReportParameters | (var Record Job Queue Entry) | 22-28 | - | - |
| Integration event | OnScheduleRecurrentJobQueueEntryOnBeforeEnqueueTask | (var Record Job Queue Entry) | 22-28 | - | - |
| Integration event | OnModifyOnAfterRunParametersChangedCalculated | (var Record Job Queue Entry, var Record Job Queue Entry, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeHandleExecutionError | (var Record Job Queue Entry, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeIsReadyToStart | (var Record Job Queue Entry, var Boolean, var Boolean) | 23-28 | - | - |
| Integration event | OnValidateReportOutputTypeOnBeforeShowPrintNotAllowedInSaaS | (var Record Job Queue Entry, var Boolean) | 24-26 | - | - |
| Integration event | OnAfterSetStatusValue | (var Record Job Queue Entry, var Record Job Queue Entry) | 26-28 | - | - |
| Internal event | OnReuseExisingJobFromId | (var Record Job Queue Entry, DateTime) | 28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
