Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/9182
Table Type: Company
Table Name: Generic Chart Y-Axis
Database Table Name: CRONUS UK Ltd_$Generic Chart Y-Axis$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 Y-Axis can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Generic Chart Y-Axis$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[ID]
,[Line No_]
,[Y-Axis Measure Field ID]
,[Y-Axis Measure Field Name]
,[Measure Operator]
,[Y-Axis Measure Field Caption]
,[Show Title]
,[Aggregation]
,[Chart Type]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Generic Chart Y-Axis$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 Y-Axis$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Generic Chart Y-Axis]
LEFT JOIN
[User] AS [User]
ON
[Generic Chart Y-Axis].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Generic Chart Y-Axis].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Generic Chart Y-Axis 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 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
10 | Y-Axis Measure Field ID | Y-Axis Measure Field ID | Normal | Integer | 4 | Y-Axis Measure Field ID | int |
11 | Y-Axis Measure Field Name | Y-Axis Measure Field Name | Normal | Text | 50 | Y-Axis Measure Field Name | nvarchar(100) |
12 | Measure Operator | Measure Operator | Normal | Option | 4 | Measure Operator | int |
Available options are:
| |||||||
13 | Y-Axis Measure Field Caption | Y-Axis Measure Field Caption | Normal | Text | 250 | Y-Axis Measure Field Caption | nvarchar(500) |
20 | Show Title | Show Title | Normal | Boolean | 4 | Show Title | tinyint |
21 | Aggregation | Aggregation | Normal | Option | 4 | Aggregation | int |
Available options are:
| |||||||
22 | Chart Type | Chart Type | Normal | Option | 4 | Chart Type | int |
Available options are:
| |||||||
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 Y-Axis].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Generic Chart Y-Axis$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Generic Chart Y-Axis] LEFT JOIN [User] AS [User] ON [Generic Chart Y-Axis].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |