Dimension Value

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/349

Table Type: Company

Table Name: Dimension Value
Database Table Name: CRONUS UK Ltd_$Dimension Value$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 349

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 Value can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Dimension Value$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Dimension Code]
   ,[Code]
   ,[Name]
   ,[Dimension Value Type]
   ,[Totaling]
   ,[Blocked]
   ,[Consolidation Code]
   ,[Indentation]
   ,[Global Dimension No_]
   ,[Map-to IC Dimension Code]
   ,[Map-to IC Dimension Value Code]
   ,[Dimension Value ID]
   ,[Id]
   ,[Last Modified Date Time]
   ,[Dimension Id]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Dimension Value$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 Value$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Value]
LEFT JOIN
   [CRONUS UK Ltd_$IC Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Dimension]
      ON
         [Dimension Value].[Map-to IC Dimension Code] = [IC Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Dimension Value].[Dimension Id] = [Dimension].[$systemId]
LEFT JOIN
   [User] AS [User]
      ON
         [Dimension Value].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Dimension Value].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Dimension Value table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Dimension Code Primary Key SearchDimension CodeNormalCode20Dimension Codenvarchar(40)
2Code Primary Key SearchCodeNormalCode20Codenvarchar(40)
3Name SearchNameNormalText50Namenvarchar(100)
4Dimension Value Type SearchDimension Value TypeNormalOption4Dimension Value Typeint
Available options are:
  • “Standard”
  • “Heading”
  • “Total”
  • “Begin-Total”
  • “End-Total”
5Totaling SearchTotalingNormalText250Totalingnvarchar(500)
6Blocked SearchBlockedNormalBoolean4Blockedtinyint
7Consolidation Code SearchConsolidation CodeNormalCode20Consolidation Codenvarchar(40)
8Indentation SearchIndentationNormalInteger4Indentationint
9Global Dimension No. SearchGlobal Dimension No.NormalInteger4Global Dimension No_int
10Map-to IC Dimension Code SearchMap-to IC Dimension CodeNormalCode20Map-to IC Dimension Codenvarchar(40)
Key to join to the IC Dimension table.

Show/hide example query

SELECT
       [Dimension Value].[Map-to IC Dimension Code]
       ,[IC Dimension].[Code]
FROM
       [CRONUS UK Ltd_$Dimension Value$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Value]
LEFT JOIN
       [CRONUS UK Ltd_$IC Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Dimension]
              ON
                     [Dimension Value].[Map-to IC Dimension Code] = [IC Dimension].[Code]
11Map-to IC Dimension Value Code SearchMap-to IC Dimension Value CodeNormalCode20Map-to IC Dimension Value Codenvarchar(40)
12Dimension Value ID SearchDimension Value IDNormalInteger4Dimension Value IDint
8000Id SearchIdNormalGUID16Iduniqueidentifier
8001Last Modified Date Time SearchLast Modified Date TimeNormalDateTime8Last Modified Date Timedatetime
8002Dimension Id SearchDimension IdNormalGUID16Dimension Iduniqueidentifier
Key to join to the Dimension table.

Show/hide example query

SELECT
       [Dimension Value].[Dimension Id]
       ,[Dimension].[$systemId]
FROM
       [CRONUS UK Ltd_$Dimension Value$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Value]
LEFT JOIN
       [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
              ON
                     [Dimension Value].[Dimension Id] = [Dimension].[$systemId]
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 Value].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Dimension Value$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Value]
LEFT JOIN
       [User] AS [User]
              ON
                     [Dimension Value].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [Dimension Value].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Dimension Value$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Value]
LEFT JOIN
       [User] AS [User]
              ON
                     [Dimension Value].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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