Default Dimension

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

Table Type: Company

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

Table Number: 352

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Table ID]
   ,[No_]
   ,[Dimension Code]
   ,[Dimension Value Code]
   ,[Value Posting]
   ,[Multi Selection Action]
   ,[Parent Type]
   ,[Allowed Values Filter]
   ,[ParentId]
   ,[DimensionId]
   ,[DimensionValueId]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Default Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$Default Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Default Dimension]
LEFT JOIN
   [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
      ON
         [Default Dimension].[Table ID] = [Data Exch. Mapping].[Table ID]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Default Dimension].[DimensionId] = [Dimension].[$systemId]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension Value$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Value]
      ON
         [Default Dimension].[DimensionValueId] = [Dimension Value].[$systemId]
LEFT JOIN
   [User] AS [User]
      ON
         [Default Dimension].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Default Dimension].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Default Dimension table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Table ID SearchTable IDNormalInteger4Table IDint
Key to join to the Data Exch. Mapping table.

Show/hide example query

SELECT
	       [Default Dimension].[Table ID]
	       ,[Data Exch. Mapping].[Table ID]
	FROM
	       [CRONUS UK Ltd_$Default Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Default Dimension]
	LEFT JOIN
	       [CRONUS UK Ltd_$Data Exch_ Mapping$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Data Exch. Mapping]
	              ON
	                     [Default Dimension].[Table ID] = [Data Exch. Mapping].[Table ID]
2No. Primary Key SearchNo.NormalCode20No_nvarchar(40)
3Dimension Code Primary Key SearchDimension CodeNormalCode20Dimension Codenvarchar(40)
4Dimension Value Code Primary Key SearchDimension Value CodeNormalCode20Dimension Value Codenvarchar(40)
5Value Posting SearchValue PostingNormalOption4Value Postingint
Available options are:
  • ” “
  • “Code Mandatory”
  • “Same Code”
  • “No Code”
6Table Caption SearchTable CaptionFlowFieldText250
7Multi Selection Action SearchMulti Selection ActionNormalOption4Multi Selection Actionint
Available options are:
  • ” “
  • “Change”
  • “Delete”
8Parent Type SearchParent TypeNormalOption4Parent Typeint
Available options are:
  • ” “
  • “Customer”
  • “Item”
  • “Vendor”
  • “Employee”
10Allowed Values Filter SearchAllowed Values FilterNormalText250Allowed Values Filternvarchar(500)
8000ParentId SearchParentIdNormalGUID16ParentIduniqueidentifier
8001DimensionId SearchDimensionIdNormalGUID16DimensionIduniqueidentifier
Key to join to the Dimension table.

Show/hide example query

SELECT
	       [Default Dimension].[DimensionId]
	       ,[Dimension].[$systemId]
	FROM
	       [CRONUS UK Ltd_$Default Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Default Dimension]
	LEFT JOIN
	       [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
	              ON
	                     [Default Dimension].[DimensionId] = [Dimension].[$systemId]
8002DimensionValueId SearchDimensionValueIdNormalGUID16DimensionValueIduniqueidentifier
Key to join to the Dimension Value table.

Show/hide example query

SELECT
	       [Default Dimension].[DimensionValueId]
	       ,[Dimension Value].[$systemId]
	FROM
	       [CRONUS UK Ltd_$Default Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Default Dimension]
	LEFT JOIN
	       [CRONUS UK Ltd_$Dimension Value$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Value]
	              ON
	                     [Default Dimension].[DimensionValueId] = [Dimension Value].[$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
	       [Default Dimension].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Default Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Default Dimension]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Default Dimension].[$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 *