Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/9180
Table Type: Company
Table Name: Generic Chart Setup
Database Table Name: CRONUS UK Ltd_$Generic Chart Setup$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 Generic Chart Setup can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Generic Chart Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[ID]
,[Source Type]
,[Name]
,[Title]
,[Filter Text]
,[Type]
,[Source ID]
,[Object Name]
,[X-Axis Field ID]
,[X-Axis Field Name]
,[X-Axis Field Caption]
,[X-Axis Title]
,[X-Axis Show Title]
,[Y-Axis Title]
,[Y-Axis Show Title]
,[Z-Axis Field ID]
,[Z-Axis Field Name]
,[Z-Axis Field Caption]
,[Z-Axis Title]
,[Z-Axis Show Title]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Generic Chart Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Generic Chart Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Generic Chart Setup]
LEFT JOIN
[User] AS [User]
ON
[Generic Chart Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Generic Chart Setup].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Generic Chart Setup table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
2 | ID | ID | Normal | Code | 20 | ID | nvarchar(40) |
3 | Source Type | Source Type | Normal | Option | 4 | Source Type | int |
Available options are:
| |||||||
10 | Name | Name | Normal | Text | 50 | Name | nvarchar(100) |
11 | Title | Title | Normal | Text | 250 | Title | nvarchar(500) |
12 | Filter Text | Filter Text | Normal | Text | 250 | Filter Text | nvarchar(500) |
15 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
16 | Source ID | Source ID | Normal | Integer | 4 | Source ID | int |
17 | Object Name | Object Name | Normal | Text | 30 | Object Name | nvarchar(60) |
20 | X-Axis Field ID | X-Axis Field ID | Normal | Integer | 4 | X-Axis Field ID | int |
21 | X-Axis Field Name | X-Axis Field Name | Normal | Text | 80 | X-Axis Field Name | nvarchar(160) |
22 | X-Axis Field Caption | X-Axis Field Caption | Normal | Text | 250 | X-Axis Field Caption | nvarchar(500) |
23 | X-Axis Title | X-Axis Title | Normal | Text | 250 | X-Axis Title | nvarchar(500) |
24 | X-Axis Show Title | X-Axis Show Title | Normal | Boolean | 4 | X-Axis Show Title | tinyint |
30 | Y-Axis Fields | Y-Axis Fields | FlowField | Integer | 4 | ||
31 | Y-Axis Title | Y-Axis Title | Normal | Text | 250 | Y-Axis Title | nvarchar(500) |
32 | Y-Axis Show Title | Y-Axis Show Title | Normal | Boolean | 4 | Y-Axis Show Title | tinyint |
34 | Z-Axis Field ID | Z-Axis Field ID | Normal | Integer | 4 | Z-Axis Field ID | int |
35 | Z-Axis Field Name | Z-Axis Field Name | Normal | Text | 80 | Z-Axis Field Name | nvarchar(160) |
36 | Z-Axis Field Caption | Z-Axis Field Caption | Normal | Text | 250 | Z-Axis Field Caption | nvarchar(500) |
38 | Z-Axis Title | Z-Axis Title | Normal | Text | 250 | Z-Axis Title | nvarchar(500) |
39 | Z-Axis Show Title | Z-Axis Show Title | Normal | Boolean | 4 | Z-Axis Show Title | tinyint |
40 | Chart Exists | Chart Exists | FlowField | Boolean | 4 | ||
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 [Generic Chart Setup].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Generic Chart Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Generic Chart Setup] LEFT JOIN [User] AS [User] ON [Generic Chart Setup].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |