Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5304
Table Type: Company
Table Name: Outlook Synch. Field
Database Table Name: CRONUS UK Ltd_$Outlook Synch_ Field$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 Outlook Synch. Field can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Outlook Synch_ Field$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Synch_ Entity Code]
,[Element No_]
,[Line No_]
,[Master Table No_]
,[Outlook Object]
,[Outlook Property]
,[User-Defined]
,[Search Field]
,[Condition]
,[Table No_]
,[Table Relation]
,[Field No_]
,[Read-Only Status]
,[Field Default Value]
,[Record GUID]
,[DefaultValueExpression]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Outlook Synch_ Field$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Outlook Synch_ Field$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Outlook Synch. Field]
LEFT JOIN
[User] AS [User]
ON
[Outlook Synch. Field].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Outlook Synch. Field].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Outlook Synch. Field table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Synch. Entity Code | Synch. Entity Code | Normal | Code | 10 | Synch_ Entity Code | nvarchar(20) |
2 | Element No. | Element No. | Normal | Integer | 4 | Element No_ | int |
3 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
4 | Master Table No. | Master Table No. | Normal | Integer | 4 | Master Table No_ | int |
5 | Outlook Object | Outlook Object | Normal | Text | 80 | Outlook Object | nvarchar(160) |
6 | Outlook Property | Outlook Property | Normal | Text | 80 | Outlook Property | nvarchar(160) |
7 | User-Defined | User-Defined | Normal | Boolean | 4 | User-Defined | tinyint |
8 | Search Field | Search Field | Normal | Boolean | 4 | Search Field | tinyint |
9 | Condition | Condition | Normal | Text | 250 | Condition | nvarchar(500) |
10 | Table No. | Table No. | Normal | Integer | 4 | Table No_ | int |
11 | Table Caption | Table Caption | FlowField | Text | 250 | ||
12 | Table Relation | Table Relation | Normal | Text | 250 | Table Relation | nvarchar(500) |
13 | Field No. | Field No. | Normal | Integer | 4 | Field No_ | int |
15 | Read-Only Status | Read-Only Status | Normal | Option | 4 | Read-Only Status | int |
Available options are:
| |||||||
16 | Field Default Value | Field Default Value | Normal | Text | 250 | Field Default Value | nvarchar(500) |
17 | Record GUID | Record GUID | Normal | GUID | 16 | Record GUID | uniqueidentifier |
99 | DefaultValueExpression | DefaultValueExpression | Normal | Text | 250 | DefaultValueExpression | nvarchar(500) |
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 [Outlook Synch. Field].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Outlook Synch_ Field$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Outlook Synch. Field] LEFT JOIN [User] AS [User] ON [Outlook Synch. Field].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |