Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2681
Table Type: Company
Table Name: Data Search Setup (Table)
Database Table Name: CRONUS UK Ltd_$Data Search Setup (Table)$ac14293f-1eb7-4a7b-9936-b280da31970b
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 Data Search Setup (Table) can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Data Search Setup (Table)$ac14293f-1eb7-4a7b-9936-b280da31970b]
Show/hide an example select of all columns by name
SELECT
[Table No_]
,[Table Subtype]
,[Role Center ID]
,[No_ of Hits]
,[Table_Type ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Data Search Setup (Table)$ac14293f-1eb7-4a7b-9936-b280da31970b]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Data Search Setup (Table)$ac14293f-1eb7-4a7b-9936-b280da31970b] AS [Data Search Setup (Table)]
LEFT JOIN
[User] AS [User]
ON
[Data Search Setup (Table)].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Data Search Setup (Table)].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Data Search Setup (Table) table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Table No. | Table No. | Normal | Integer | 4 | Table No_ | int |
2 | Table Subtype | Table Subtype | Normal | Integer | 4 | Table Subtype | int |
3 | Role Center ID | Role Center ID | Normal | Integer | 4 | Role Center ID | int |
4 | No. of Hits | No. of Hits | Normal | Integer | 4 | No_ of Hits | int |
5 | Table/Type ID | Table/Type ID | Normal | Integer | 4 | Table_Type ID | int |
9 | Table Caption | Table Caption | FlowField | Text | 250 | ||
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 [Data Search Setup (Table)].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Data Search Setup (Table)$ac14293f-1eb7-4a7b-9936-b280da31970b] AS [Data Search Setup (Table)] LEFT JOIN [User] AS [User] ON [Data Search Setup (Table)].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |