Dimension Set Tree Node

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

Table Number: 481

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 NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Parent Dimension Set ID SearchParent Dimension Set IDNormalInteger4Parent Dimension Set IDint
2Dimension Value ID Primary Key SearchDimension Value IDNormalInteger4Dimension Value IDint
3Dimension Set ID Primary Key SearchDimension Set IDNormalInteger4Dimension Set IDint
Key to join to the Dimension Set Entry table.

Show/hide example query

SELECT
	       [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]
4In Use SearchIn UseNormalBoolean4In Usetinyint
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [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]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

Your email address will not be published. Required fields are marked *