Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7159
Table Type: Company
Table Name: Analysis Selected Dimension
Database Table Name: CRONUS UK Ltd_$Analysis Selected Dimension$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 Analysis Selected Dimension can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Analysis Selected Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[User ID]
,[Object Type]
,[Object ID]
,[Dimension Code]
,[New Dimension Value Code]
,[Dimension Value Filter]
,[Level]
,[Analysis View Code]
,[Analysis Area]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Analysis Selected 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_$Analysis Selected Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Selected Dimension]
LEFT JOIN
[CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View]
ON
[Analysis Selected Dimension].[Analysis View Code] = [Analysis View].[Code]
LEFT JOIN
[User] AS [User]
ON
[Analysis Selected Dimension].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Analysis Selected Dimension].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Analysis Selected Dimension table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | User ID | User ID | Normal | Code | 50 | User ID | nvarchar(100) |
2 | Object Type | Object Type | Normal | Integer | 4 | Object Type | int |
3 | Object ID | Object ID | Normal | Integer | 4 | Object ID | int |
4 | Dimension Code | Dimension Code | Normal | Text | 30 | Dimension Code | nvarchar(60) |
5 | New Dimension Value Code | New Dimension Value Code | Normal | Code | 20 | New Dimension Value Code | nvarchar(40) |
6 | Dimension Value Filter | Dimension Value Filter | Normal | Code | 250 | Dimension Value Filter | nvarchar(500) |
7 | Level | Level | Normal | Option | 4 | Level | int |
Available options are:
| |||||||
8 | Analysis View Code | Analysis View Code | Normal | Code | 10 | Analysis View Code | nvarchar(20) |
Key to join to the Analysis View table.Show/hide example querySELECT [Analysis Selected Dimension].[Analysis View Code] ,[Analysis View].[Code] FROM [CRONUS UK Ltd_$Analysis Selected Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Selected Dimension] LEFT JOIN [CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View] ON [Analysis Selected Dimension].[Analysis View Code] = [Analysis View].[Code] | |||||||
9 | Analysis Area | Analysis Area | Normal | Option | 4 | Analysis Area | 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 [Analysis Selected Dimension].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Analysis Selected Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Selected Dimension] LEFT JOIN [User] AS [User] ON [Analysis Selected Dimension].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |