Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/363
Table Type: Company
Table Name: Analysis View
Database Table Name: CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext
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 View can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext]
Show/hide an example select of all columns by name
SELECT
[Code]
,[Name]
,[Account Source]
,[Last Entry No_]
,[Last Budget Entry No_]
,[Last Date Updated]
,[Update on Posting]
,[Blocked]
,[Account Filter]
,[Business Unit Filter]
,[Starting Date]
,[Date Compression]
,[Dimension 1 Code]
,[Dimension 2 Code]
,[Dimension 3 Code]
,[Dimension 4 Code]
,[Include Budgets]
,[Refresh When Unblocked]
,[Reset Needed]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis View]
LEFT JOIN
[CRONUS UK Ltd_$Business Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Business Unit]
ON
[Analysis View].[Business Unit Filter] = [Business Unit].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Analysis View].[Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Analysis View].[Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Analysis View].[Dimension 3 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Analysis View].[Dimension 4 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Statistical Account$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Account]
ON
[Analysis View].[Statistical Account Filter] = [Statistical Account].[No_]
LEFT JOIN
[User] AS [User]
ON
[Analysis View].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Analysis View].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Analysis View table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Code | Code | Normal | Code | 10 | Code | nvarchar(20) |
2 | Name | Name | Normal | Text | 50 | Name | nvarchar(100) |
3 | Account Source | Account Source | Normal | Option | 4 | Account Source | int |
Available options are:
| |||||||
4 | Last Entry No. | Last Entry No. | Normal | Integer | 4 | Last Entry No_ | int |
5 | Last Budget Entry No. | Last Budget Entry No. | Normal | Integer | 4 | Last Budget Entry No_ | int |
6 | Last Date Updated | Last Date Updated | Normal | Date | 4 | Last Date Updated | datetime |
7 | Update on Posting | Update on Posting | Normal | Boolean | 4 | Update on Posting | tinyint |
8 | Blocked | Blocked | Normal | Boolean | 4 | Blocked | tinyint |
9 | Account Filter | Account Filter | Normal | Code | 250 | Account Filter | nvarchar(500) |
10 | Business Unit Filter | Business Unit Filter | Normal | Code | 250 | Business Unit Filter | nvarchar(500) |
Key to join to the Business Unit table.Show/hide example querySELECT [Analysis View].[Business Unit Filter] ,[Business Unit].[Code] FROM [CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View] LEFT JOIN [CRONUS UK Ltd_$Business Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Business Unit] ON [Analysis View].[Business Unit Filter] = [Business Unit].[Code] | |||||||
11 | Starting Date | Starting Date | Normal | Date | 4 | Starting Date | datetime |
12 | Date Compression | Date Compression | Normal | Option | 4 | Date Compression | int |
Available options are:
| |||||||
13 | Dimension 1 Code | Dimension 1 Code | Normal | Code | 20 | Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Analysis View].[Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Analysis View].[Dimension 1 Code] = [Dimension].[Code] | |||||||
14 | Dimension 2 Code | Dimension 2 Code | Normal | Code | 20 | Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Analysis View].[Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Analysis View].[Dimension 2 Code] = [Dimension].[Code] | |||||||
15 | Dimension 3 Code | Dimension 3 Code | Normal | Code | 20 | Dimension 3 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Analysis View].[Dimension 3 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Analysis View].[Dimension 3 Code] = [Dimension].[Code] | |||||||
16 | Dimension 4 Code | Dimension 4 Code | Normal | Code | 20 | Dimension 4 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Analysis View].[Dimension 4 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Analysis View].[Dimension 4 Code] = [Dimension].[Code] | |||||||
17 | Include Budgets | Include Budgets | Normal | Boolean | 4 | Include Budgets | tinyint |
18 | Refresh When Unblocked | Refresh When Unblocked | Normal | Boolean | 4 | Refresh When Unblocked | tinyint |
19 | Reset Needed | Data update needed | Normal | Boolean | 4 | Reset Needed | tinyint |
2625 | Statistical Account Filter | Statistical Account Filter | Normal | Code | 250 | ||
Key to join to the Statistical Account table.Show/hide example querySELECT [Analysis View].[] ,[Statistical Account].[No_] FROM [CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View] LEFT JOIN [CRONUS UK Ltd_$Statistical Account$ea130081-c669-460f-a5f4-5dde14f03131] AS [Statistical Account] ON [Analysis View].[] = [Statistical Account].[No_] | |||||||
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 View].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View] LEFT JOIN [User] AS [User] ON [Analysis View].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |