Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/481
Table Type: Company
Table Name: Dimension Set Tree Node
Database Table Name: CRONUS UK Ltd_$Dimension Set Tree Node$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 Dimension Set Tree Node can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Dimension Set Tree Node$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Parent Dimension Set ID]
,[Dimension Value ID]
,[Dimension Set ID]
,[In Use]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Dimension Set Tree Node$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Dimension Set Tree Node$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Tree Node]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Dimension Set Tree Node].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[Dimension Set Tree Node].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Dimension Set Tree Node].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Dimension Set Tree Node table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Parent Dimension Set ID | Parent Dimension Set ID | Normal | Integer | 4 | Parent Dimension Set ID | int |
2 | Dimension Value ID | Dimension Value ID | Normal | Integer | 4 | Dimension Value ID | int |
3 | Dimension Set ID | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
Key to join to the Dimension Set Entry table.Show/hide example querySELECT [Dimension Set Tree Node].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Dimension Set Tree Node$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Tree Node] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Dimension Set Tree Node].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
4 | In Use | In Use | Normal | Boolean | 4 | In Use | tinyint |
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 [Dimension Set Tree Node].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Dimension Set Tree Node$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Tree Node] LEFT JOIN [User] AS [User] ON [Dimension Set Tree Node].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |