Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7152
Table Type: Company
Table Name: Item Analysis View
Database Table Name: CRONUS UK Ltd_$Item Analysis View$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 Item Analysis View can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Item Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Analysis Area]
,[Code]
,[Name]
,[Last Entry No_]
,[Last Budget Entry No_]
,[Last Date Updated]
,[Update on Posting]
,[Blocked]
,[Item Filter]
,[Location Filter]
,[Starting Date]
,[Date Compression]
,[Dimension 1 Code]
,[Dimension 2 Code]
,[Dimension 3 Code]
,[Include Budgets]
,[Refresh When Unblocked]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Item Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Item Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View]
LEFT JOIN
[CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
ON
[Item Analysis View].[Item Filter] = [Item].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Item Analysis View].[Location Filter] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Item Analysis View].[Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Item Analysis View].[Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Item Analysis View].[Dimension 3 Code] = [Dimension].[Code]
LEFT JOIN
[User] AS [User]
ON
[Item Analysis View].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Item Analysis View].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Item Analysis View table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Analysis Area | Analysis Area | Normal | Option | 4 | Analysis Area | int |
Available options are:
| |||||||
2 | Code | Code | Normal | Code | 10 | Code | nvarchar(20) |
3 | Name | Name | Normal | Text | 50 | Name | nvarchar(100) |
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 | Item Filter | Item Filter | Normal | Code | 250 | Item Filter | nvarchar(500) |
Key to join to the Item table.Show/hide example querySELECT [Item Analysis View].[Item Filter] ,[Item].[No_] FROM [CRONUS UK Ltd_$Item Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Item Analysis View].[Item Filter] = [Item].[No_] | |||||||
10 | Location Filter | Location Filter | Normal | Code | 250 | Location Filter | nvarchar(500) |
Key to join to the Location table.Show/hide example querySELECT [Item Analysis View].[Location Filter] ,[Location].[Code] FROM [CRONUS UK Ltd_$Item Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Item Analysis View].[Location Filter] = [Location].[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 [Item Analysis View].[Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Item Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Item 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 [Item Analysis View].[Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Item Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Item 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 [Item Analysis View].[Dimension 3 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Item Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Item Analysis View].[Dimension 3 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 |
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 [Item Analysis View].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Item Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View] LEFT JOIN [User] AS [User] ON [Item 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 |