Table 472 Job Queue Entry in 27
- App
- Base Application
- Namespace
- System.Threading
Fields, 48Keys, 8Procedures, 66Events, 27
Versions171819202122232425262728latest
Source29
Fields, 48
| Id | Name | Type | Obsolete |
|---|---|---|---|
| 1 | ID | Guid | - |
| 2 | User ID | Text[65] | - |
| 3 | XML | Blob | - |
| 4 | Last Ready State | DateTime | - |
| 5 | Expiration Date/Time | DateTime | - |
| 6 | Earliest Start Date/Time | DateTime | - |
| 7 | Object Type to Run | Option | - |
| 8 | Object ID to Run | Integer | - |
| 9 | Object Caption to Run | Text[250] | - |
| 10 | Report Output Type | Enum Job Queue Report Output Type | - |
| 11 | Maximum No. of Attempts to Run | Integer | - |
| 12 | No. of Attempts to Run | Integer | - |
| 13 | Status | Option | - |
| 15 | Record ID to Process | RecordId | - |
| 16 | Parameter String | Text[250] | - |
| 17 | Recurring Job | Boolean | - |
| 18 | No. of Minutes between Runs | Integer | - |
| 19 | Run on Mondays | Boolean | - |
| 20 | Run on Tuesdays | Boolean | - |
| 21 | Run on Wednesdays | Boolean | - |
| 22 | Run on Thursdays | Boolean | - |
| 23 | Run on Fridays | Boolean | - |
| 24 | Run on Saturdays | Boolean | - |
| 25 | Run on Sundays | Boolean | - |
| 26 | Starting Time | Time | - |
| 27 | Ending Time | Time | - |
| 28 | Reference Starting Time | DateTime | - |
| 29 | Next Run Date Formula | DateFormula | - |
| 30 | Description | Text[250] | - |
| 31 | Run in User Session | Boolean | - |
| 32 | User Session ID | Integer | - |
| 33 | Job Queue Category Code | Code[10] | - |
| 34 | Error Message | Text[2048] | - |
| 40 | User Service Instance ID | Integer | - |
| 41 | User Session Started | DateTime | - |
| 43 | Notify On Success | Boolean | - |
| 44 | User Language ID | Integer | - |
| 45 | Printer Name | Text[250] | - |
| 46 | Report Request Page Options | Boolean | - |
| 47 | Rerun Delay (sec.) | Integer | - |
| 48 | System Task ID | Guid | - |
| 49 | Scheduled | Boolean | - |
| 50 | Manual Recurrence | Boolean | - |
| 52 | Inactivity Timeout Period | Integer | - |
| 53 | Error Message Register Id | Guid | - |
| 54 | Job Timeout | Duration | - |
| 56 | Entry No. | BigInteger | - |
| 57 | Priority Within Category | Enum Job Queue Priority | - |
Keys, 8
| Name | Fields | Obsolete |
|---|---|---|
| Key1, clustered | ID | - |
| Key2 | Job Queue Category Code, Priority Within Category, Entry No. | - |
| Key3 | Last Ready State | - |
| Key4 | Recurring Job | - |
| Key5 | System Task ID | - |
| Key6 | User ID, Status, Recurring Job | - |
| Key7 | Object ID to Run, Object Type to Run | - |
| Key8 | Error Message Register Id | - |
Procedures, 66
| Name | Parameters | Returns | Access | Obsolete |
|---|---|---|---|---|
| DoesExistLocked | () | Boolean | public | - |
| RefreshLocked | () | public | - | |
| IsExpired | (DateTime) | Boolean | public | - |
| IsReadyToStart | () | Boolean | public | - |
| ShowErrorMessage | () | public | - | |
| SetError | (Text) | public | - | |
| SetResult | (Boolean, Option, Guid) | public | - | |
| SetResultDeletedEntry | () | public | - | |
| FinalizeRun | () | public | - | |
| GetLastLogEntryNo | () | Integer | public | - |
| InsertLogEntry | (var Record Job Queue Log Entry) | public | - | |
| FinalizeLogEntry | (Record Job Queue Log Entry) | public | - | |
| FinalizeLogEntry | (Record Job Queue Log Entry, Text) | public | - | |
| SetStatus | (Option) | public | - | |
| Cancel | () | public | - | |
| DeleteTask | () | public | - | |
| DeleteTasks | () | public | - | |
| Restart | () | public | - | |
| TryCheckRequiredPermissions | () | Boolean | internal | - |
| CancelTask | () | public | - | |
| ScheduleTask | () | Guid | public | - |
| ReuseExistingJobFromID | (Guid, DateTime) | Boolean | public | - |
| IsNextRunDateFormulaSet | () | Boolean | public | - |
| ShowStatusMsg | (Guid) | public | - | |
| LookupRecordToProcess | () | public | - | |
| LookupObjectID | (var Integer) | Boolean | public | - |
| GetXmlContent | () | Text | public | - |
| SetXmlContent | (Text) | public | - | |
| GetReportParameters | () | Text | public | - |
| SetReportParameters | (Text) | public | - | |
| RunReportRequestPage | () | public | - | |
| ScheduleJobQueueEntry | (Integer, RecordId) | public | - | |
| ScheduleJobQueueEntryWithParameters | (Integer, RecordId, Text[250]) | public | - | |
| ScheduleJobQueueEntryForLater | (Integer, DateTime, Code[10], Text) | public | - | |
| GetStartingDateTime | (DateTime) | DateTime | public | - |
| GetEndingDateTime | (DateTime) | DateTime | public | - |
| ScheduleRecurrentJobQueueEntry | (Option, Integer, RecordId) | public | - | |
| ScheduleRecurrentJobQueueEntryWithFrequency | (Option, Integer, RecordId, Integer) | public | - | |
| ScheduleRecurrentJobQueueEntryWithFrequency | (Option, Integer, RecordId, Integer, Time) | public | - | |
| ScheduleRecurrentJobQueueEntryWithFrequency | (Option, Integer, RecordId, Integer, Integer, Integer, Time) | internal | - | |
| ScheduleRecurrentJobQueueEntryWithRunDateFormula | (Option, Integer, RecordId, Code[10], Integer, DateFormula, Time) | public | - | |
| InitRecurringJob | (Integer) | public | - | |
| FindJobQueueEntry | (Option, Integer) | Boolean | public | - |
| GetDefaultDescription | () | Text[250] | public | - |
| FilterInactiveOnHoldEntries | () | public | - | |
| DoesJobNeedToBeRun | () | Boolean | public | - |
| CheckRequiredPermissions | () | public | - | |
| DefaultJobTimeout | () | Duration | public | - |
| SetResult | (Option) | internal | - | |
| ReuseExistingJobFromCategory | (Code[10], DateTime) | Boolean | public | - |
| ReuseExistingJobFromCategoryAndUser | (Code[10], Text, DateTime) | Boolean | public | - |
| ReuseExistingJobFromCategoryAndParamString | (Code[10], Text[250], DateTime) | Boolean | internal | - |
| ReuseExistingJobFromUserCategoryAndParamString | (Text, Code[10], Text[250], DateTime) | Boolean | internal | - |
| ScheduleRecurrentJobQueueEntryWithRunDateFormula | (Option, Integer, RecordId, Code[10], Integer, DateFormula, Time, Duration) | internal | - | |
| CleanupAfterExecution | () | public | - | |
| HasRequiredPermissions | () | Boolean | public | - |
| GetRecLockedExtendedTimeout | () | Boolean | public | - |
| CancelTask | (Boolean) | internal | - | |
| RemoveFailedJobs | (Boolean) | internal | - | |
| AnyReadyJobInCategory | (var Record Job Queue Category) | Boolean | internal | - |
| ActivateNextJobInCategory | (var Record Job Queue Category) | Boolean | internal | - |
| RefreshRecoveryTask | (var Record Job Queue Category) | internal | - | |
| ActivateNextJobInCategoryIfAny | () | internal | - | |
| ActivateNextJobInCategory | () | internal | - | |
| SetPriority | (Enum Job Queue Priority) | internal | - | |
| ReuseExistingJobFromUserCategoryCodeunitAndParamString | (Text, Code[10], Integer, Text[250], DateTime) | Boolean | internal | - |
Events, 27
| Kind | Name | Parameters | Obsolete | ||||
|---|---|---|---|---|---|---|---|
| Integration event | OnAfterReschedule | (var Record Job Queue Entry) | - | ||||
| Integration event | OnAfterSetDefaultValues | (var Record Job Queue Entry) | - | ||||
| Integration event | OnBeforeClearServiceValues | (var Record Job Queue Entry) | - | ||||
| Integration event | OnAfterFinalizeRun | (Record Job Queue Entry) | - | ||||
| Integration event | OnBeforeInsertLogEntry | (var Record Job Queue Log Entry, var Record Job Queue Entry) | - | ||||
| Integration event | OnBeforeModifyLogEntry | (var Record Job Queue Log Entry, var Record Job Queue Entry) | - | ||||
| Integration event | OnBeforeScheduleTask | (var Record Job Queue Entry, var Guid, var Boolean) | - | ||||
| Integration event | OnBeforeTryRunJobQueueSendNotification | (var Record Job Queue Entry, var Boolean) | - | ||||
| Integration event | OnFindingIfJobNeedsToBeRun | (var Boolean) | - | ||||
| Integration event | OnInsertOnBeforeSetDefaultValues | (var Record Job Queue Entry, var Boolean) | - | ||||
| Internal event | OnReuseExisingJobFromId | (var Record Job Queue Entry) | - | ||||
| Integration event | OnBeforeSetRecurringField | (var Record Job Queue Entry, var Boolean) | - | ||||
| Integration event | OnAfterCleanupAfterExecution | (var Record Job Queue Entry) | - | ||||
| Integration event | OnAfterGetXmlContent | (var Record Job Queue Entry, var Text) | - | ||||
| Integration event | OnAfterRunReportRequestPage | (Record Job Queue Entry, var Text) | - | ||||
| Integration event | OnBeforeSetStatusValue | (var Record Job Queue Entry, var Record Job Queue Entry, var Option, var Boolean) | - | ||||
| Integration event | OnRunReportRequestPageBeforeGetReportParameters | (Record Job Queue Entry) | - | ||||
| Integration event | OnSetXmlContentOnBeforeModify | (var Record Job Queue Entry, var Text) | - | ||||
| Integration event | OnBeforeCleanupAfterExecution | (var Record Job Queue Entry, var Boolean) | - | ||||
| Integration event | OnScheduleTaskOnAfterCalcShouldChangeUserID | (var Record Job Queue Entry, var Boolean) | Pending 25.0 | ||||
| Function ScheduleTask no longer changes user ID. | |||||||
| Integration event | OnBeforeRestart | (Record Job Queue Entry) | - | ||||
| Integration event | OnAfterSetReportParameters | (var Record Job Queue Entry) | - | ||||
| Integration event | OnScheduleRecurrentJobQueueEntryOnBeforeEnqueueTask | (var Record Job Queue Entry) | - | ||||
| Integration event | OnModifyOnAfterRunParametersChangedCalculated | (var Record Job Queue Entry, var Record Job Queue Entry, var Boolean) | - | ||||
| Integration event | OnBeforeHandleExecutionError | (var Record Job Queue Entry, var Boolean) | - | ||||
| Integration event | OnBeforeIsReadyToStart | (var Record Job Queue Entry, var Boolean, var Boolean) | - | ||||
| Integration event | OnAfterSetStatusValue | (var Record Job Queue Entry, var Record Job Queue Entry) | - | ||||