Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/472
Table Type: Company
Table Name: Job Queue Entry
Database Table Name: CRONUS UK Ltd_$Job Queue Entry$437dbf0e-84ff-417a-965d-ed2bb9650972
Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how Job Queue Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Job Queue Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[ID]
,[User ID]
,[XML]
,[Last Ready State]
,[Expiration Date_Time]
,[Earliest Start Date_Time]
,[Object Type to Run]
,[Object ID to Run]
,[Report Output Type]
,[Maximum No_ of Attempts to Run]
,[No_ of Attempts to Run]
,[Status]
,[Priority]
,[Record ID to Process]
,[Parameter String]
,[Recurring Job]
,[No_ of Minutes between Runs]
,[Run on Mondays]
,[Run on Tuesdays]
,[Run on Wednesdays]
,[Run on Thursdays]
,[Run on Fridays]
,[Run on Saturdays]
,[Run on Sundays]
,[Starting Time]
,[Ending Time]
,[Reference Starting Time]
,[Next Run Date Formula]
,[Description]
,[Run in User Session]
,[User Session ID]
,[Job Queue Category Code]
,[Error Message]
,[Error Message 2]
,[Error Message 3]
,[Error Message 4]
,[User Service Instance ID]
,[User Session Started]
,[Timeout (sec_)]
,[Notify On Success]
,[User Language ID]
,[Printer Name]
,[Report Request Page Options]
,[Rerun Delay (sec_)]
,[Manual Recurrence]
,[On Hold Due to Inactivity]
,[Inactivity Timeout Period]
,[Error Message Register Id]
,[Job Timeout]
,[Recovery Task Id]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Job Queue Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Job Queue Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Queue Entry]
LEFT JOIN
[CRONUS UK Ltd_$Job Queue Category$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Queue Category]
ON
[Job Queue Entry].[Job Queue Category Code] = [Job Queue Category].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Error Message Register$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Error Message Register]
ON
[Job Queue Entry].[Error Message Register Id] = [Error Message Register].[ID]
LEFT JOIN
[User] AS [User]
ON
[Job Queue Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Job Queue Entry].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Job Queue Entry table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | ID | ID | Normal | GUID | 16 | ID | uniqueidentifier |
2 | User ID | User ID | Normal | Text | 65 | User ID | nvarchar(130) |
3 | XML | XML | Normal | BLOB | 8 | XML | image |
4 | Last Ready State | Last Ready State | Normal | DateTime | 8 | Last Ready State | datetime |
5 | Expiration Date/Time | Expiration Date/Time | Normal | DateTime | 8 | Expiration Date_Time | datetime |
6 | Earliest Start Date/Time | Earliest Start Date/Time | Normal | DateTime | 8 | Earliest Start Date_Time | datetime |
7 | Object Type to Run | Object Type to Run | Normal | Option | 4 | Object Type to Run | int |
Available options are:
| |||||||
8 | Object ID to Run | Object ID to Run | Normal | Integer | 4 | Object ID to Run | int |
9 | Object Caption to Run | Object Caption to Run | FlowField | Text | 250 | ||
10 | Report Output Type | Report Output Type | Normal | Option | 4 | Report Output Type | int |
Available options are:
| |||||||
11 | Maximum No. of Attempts to Run | Maximum No. of Attempts to Run | Normal | Integer | 4 | Maximum No_ of Attempts to Run | int |
12 | No. of Attempts to Run | No. of Attempts to Run | Normal | Integer | 4 | No_ of Attempts to Run | int |
13 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
14 | Priority | Priority | Normal | Integer | 4 | Priority | int |
15 | Record ID to Process | Record ID to Process | Normal | RecordID | 448 | Record ID to Process | varbinary(448) |
16 | Parameter String | Parameter String | Normal | Text | 250 | Parameter String | nvarchar(500) |
17 | Recurring Job | Recurring Job | Normal | Boolean | 4 | Recurring Job | tinyint |
18 | No. of Minutes between Runs | No. of Minutes between Runs | Normal | Integer | 4 | No_ of Minutes between Runs | int |
19 | Run on Mondays | Run on Mondays | Normal | Boolean | 4 | Run on Mondays | tinyint |
20 | Run on Tuesdays | Run on Tuesdays | Normal | Boolean | 4 | Run on Tuesdays | tinyint |
21 | Run on Wednesdays | Run on Wednesdays | Normal | Boolean | 4 | Run on Wednesdays | tinyint |
22 | Run on Thursdays | Run on Thursdays | Normal | Boolean | 4 | Run on Thursdays | tinyint |
23 | Run on Fridays | Run on Fridays | Normal | Boolean | 4 | Run on Fridays | tinyint |
24 | Run on Saturdays | Run on Saturdays | Normal | Boolean | 4 | Run on Saturdays | tinyint |
25 | Run on Sundays | Run on Sundays | Normal | Boolean | 4 | Run on Sundays | tinyint |
26 | Starting Time | Starting Time | Normal | Time | 4 | Starting Time | datetime |
27 | Ending Time | Ending Time | Normal | Time | 4 | Ending Time | datetime |
28 | Reference Starting Time | Reference Starting Time | Normal | DateTime | 8 | Reference Starting Time | datetime |
29 | Next Run Date Formula | Next Run Date Formula | Normal | DateFormula | 32 | Next Run Date Formula | varchar(32) |
30 | Description | Description | Normal | Text | 250 | Description | nvarchar(500) |
31 | Run in User Session | Run in User Session | Normal | Boolean | 4 | Run in User Session | tinyint |
32 | User Session ID | User Session ID | Normal | Integer | 4 | User Session ID | int |
33 | Job Queue Category Code | Job Queue Category Code | Normal | Code | 10 | Job Queue Category Code | nvarchar(20) |
Key to join to the Job Queue Category table.Show/hide example querySELECT [Job Queue Entry].[Job Queue Category Code] ,[Job Queue Category].[Code] FROM [CRONUS UK Ltd_$Job Queue Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Queue Entry] LEFT JOIN [CRONUS UK Ltd_$Job Queue Category$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Queue Category] ON [Job Queue Entry].[Job Queue Category Code] = [Job Queue Category].[Code] | |||||||
34 | Error Message | Error Message | Normal | Text | 2048 | Error Message | nvarchar(4096) |
35 | Error Message 2 | Error Message 2 | Normal | Text | 250 | Error Message 2 | nvarchar(500) |
36 | Error Message 3 | Error Message 3 | Normal | Text | 250 | Error Message 3 | nvarchar(500) |
37 | Error Message 4 | Error Message 4 | Normal | Text | 250 | Error Message 4 | nvarchar(500) |
40 | User Service Instance ID | User Service Instance ID | Normal | Integer | 4 | User Service Instance ID | int |
41 | User Session Started | User Session Started | Normal | DateTime | 8 | User Session Started | datetime |
42 | Timeout (sec.) | Timeout (sec.) | Normal | Integer | 4 | Timeout (sec_) | int |
43 | Notify On Success | Notify On Success | Normal | Boolean | 4 | Notify On Success | tinyint |
44 | User Language ID | User Language ID | Normal | Integer | 4 | User Language ID | int |
45 | Printer Name | Printer Name | Normal | Text | 250 | Printer Name | nvarchar(500) |
46 | Report Request Page Options | Report Request Page Options | Normal | Boolean | 4 | Report Request Page Options | tinyint |
47 | Rerun Delay (sec.) | Rerun Delay (sec.) | Normal | Integer | 4 | Rerun Delay (sec_) | int |
48 | System Task ID | System Task ID | Normal | GUID | 16 | ||
49 | Scheduled | Scheduled | FlowField | Boolean | 4 | ||
50 | Manual Recurrence | Manual Recurrence | Normal | Boolean | 4 | Manual Recurrence | tinyint |
51 | On Hold Due to Inactivity | On Hold Due to Inactivity | Normal | Boolean | 4 | On Hold Due to Inactivity | tinyint |
52 | Inactivity Timeout Period | Inactivity Timeout Period | Normal | Integer | 4 | Inactivity Timeout Period | int |
53 | Error Message Register Id | Error Message Register Id | Normal | GUID | 16 | Error Message Register Id | uniqueidentifier |
Key to join to the Error Message Register table.Show/hide example querySELECT [Job Queue Entry].[Error Message Register Id] ,[Error Message Register].[ID] FROM [CRONUS UK Ltd_$Job Queue Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Queue Entry] LEFT JOIN [CRONUS UK Ltd_$Error Message Register$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Error Message Register] ON [Job Queue Entry].[Error Message Register Id] = [Error Message Register].[ID] | |||||||
54 | Job Timeout | Job Timeout | Normal | Duration | 8 | Job Timeout | bigint |
55 | Recovery Task Id | Recovery Task Id | Normal | GUID | 16 | Recovery Task Id | uniqueidentifier |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [Job Queue Entry].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Job Queue Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Queue Entry] LEFT JOIN [User] AS [User] ON [Job Queue Entry].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |