Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5338
Table Type: Company
Table Name: Integration Synch. Job
Database Table Name: CRONUS UK Ltd_$Integration Synch_ Job$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 Integration Synch. Job can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Integration Synch_ Job$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[ID]
,[Start Date_Time]
,[Finish Date_Time]
,[Message]
,[Integration Table Mapping Name]
,[Inserted]
,[Modified]
,[Deleted]
,[Unchanged]
,[Skipped]
,[Failed]
,[Synch_ Direction]
,[Job Queue Log Entry No_]
,[Type]
,[Uncoupled]
,[Coupled]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Integration Synch_ Job$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Integration Synch_ Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Integration Synch. Job]
LEFT JOIN
[CRONUS UK Ltd_$Integration Table Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Integration Table Mapping]
ON
[Integration Synch. Job].[Integration Table Mapping Name] = [Integration Table Mapping].[Name]
LEFT JOIN
[User] AS [User]
ON
[Integration Synch. Job].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Integration Synch. Job].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Integration Synch. Job table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | ID | ID | Normal | GUID | 16 | ID | uniqueidentifier |
2 | Start Date/Time | Start Date/Time | Normal | DateTime | 8 | Start Date_Time | datetime |
3 | Finish Date/Time | Finish Date/Time | Normal | DateTime | 8 | Finish Date_Time | datetime |
4 | Message | Message | Normal | Text | 250 | Message | nvarchar(500) |
5 | Integration Table Mapping Name | Integration Table Mapping Name | Normal | Code | 20 | Integration Table Mapping Name | nvarchar(40) |
Key to join to the Integration Table Mapping table.Show/hide example querySELECT [Integration Synch. Job].[Integration Table Mapping Name] ,[Integration Table Mapping].[Name] FROM [CRONUS UK Ltd_$Integration Synch_ Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Integration Synch. Job] LEFT JOIN [CRONUS UK Ltd_$Integration Table Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Integration Table Mapping] ON [Integration Synch. Job].[Integration Table Mapping Name] = [Integration Table Mapping].[Name] | |||||||
6 | Inserted | Inserted | Normal | Integer | 4 | Inserted | int |
7 | Modified | Modified | Normal | Integer | 4 | Modified | int |
8 | Deleted | Deleted | Normal | Integer | 4 | Deleted | int |
9 | Unchanged | Unchanged | Normal | Integer | 4 | Unchanged | int |
10 | Skipped | Skipped | Normal | Integer | 4 | Skipped | int |
11 | Failed | Failed | Normal | Integer | 4 | Failed | int |
12 | Synch. Direction | Synch. Direction | Normal | Option | 4 | Synch_ Direction | int |
Available options are:
| |||||||
13 | Job Queue Log Entry No. | Job Queue Log Entry No. | Normal | Integer | 4 | Job Queue Log Entry No_ | int |
14 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
15 | Uncoupled | Uncoupled | Normal | Integer | 4 | Uncoupled | int |
16 | Coupled | Coupled | Normal | Integer | 4 | Coupled | int |
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 [Integration Synch. Job].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Integration Synch_ Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Integration Synch. Job] LEFT JOIN [User] AS [User] ON [Integration Synch. Job].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |