Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7156
Table Type: Company
Table Name: Item Analysis View Budg. Entry
Database Table Name: CRONUS UK Ltd_$Item Analysis View Budg_ Entry$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 Budg. Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Item Analysis View Budg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Analysis Area]
,[Analysis View Code]
,[Budget Name]
,[Item No_]
,[Source Type]
,[Source No_]
,[Location Code]
,[Dimension 1 Value Code]
,[Dimension 2 Value Code]
,[Dimension 3 Value Code]
,[Posting Date]
,[Entry No_]
,[Quantity]
,[Sales Amount]
,[Cost Amount]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Item Analysis View Budg_ Entry$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 Budg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View Budg. Entry]
LEFT JOIN
[CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View]
ON
[Item Analysis View Budg. Entry].[Analysis View Code] = [Analysis View].[Code]
LEFT JOIN
[CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Name]
ON
[Item Analysis View Budg. Entry].[Budget Name] = [G/L Budget Name].[Name]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Item Analysis View Budg. Entry].[Location Code] = [Location].[Code]
LEFT JOIN
[User] AS [User]
ON
[Item Analysis View Budg. Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Item Analysis View Budg. Entry].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Item Analysis View Budg. Entry 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 | 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 [Item Analysis View Budg. Entry].[Analysis View Code] ,[Analysis View].[Code] FROM [CRONUS UK Ltd_$Item Analysis View Budg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View Budg. Entry] LEFT JOIN [CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View] ON [Item Analysis View Budg. Entry].[Analysis View Code] = [Analysis View].[Code] | |||||||
3 | Budget Name | Budget Name | Normal | Code | 10 | Budget Name | nvarchar(20) |
Key to join to the G/L Budget Name table.Show/hide example querySELECT [Item Analysis View Budg. Entry].[Budget Name] ,[G/L Budget Name].[Name] FROM [CRONUS UK Ltd_$Item Analysis View Budg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View Budg. Entry] LEFT JOIN [CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Name] ON [Item Analysis View Budg. Entry].[Budget Name] = [G/L Budget Name].[Name] | |||||||
4 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Item Analysis View Budg. Entry].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Item Analysis View Budg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View Budg. Entry] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Item Analysis View Budg. Entry].[Item No_] = [Item].[No_] | |||||||
5 | Source Type | Source Type | Normal | Option | 4 | Source Type | int |
Available options are:
| |||||||
6 | Source No. | Source No. | Normal | Code | 20 | Source No_ | nvarchar(40) |
8 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Item Analysis View Budg. Entry].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Item Analysis View Budg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View Budg. Entry] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Item Analysis View Budg. Entry].[Location Code] = [Location].[Code] | |||||||
9 | Dimension 1 Value Code | Dimension 1 Value Code | Normal | Code | 20 | Dimension 1 Value Code | nvarchar(40) |
10 | Dimension 2 Value Code | Dimension 2 Value Code | Normal | Code | 20 | Dimension 2 Value Code | nvarchar(40) |
11 | Dimension 3 Value Code | Dimension 3 Value Code | Normal | Code | 20 | Dimension 3 Value Code | nvarchar(40) |
12 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
13 | Entry No. | Entry No. | Normal | Integer | 4 | Entry No_ | int |
21 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
22 | Sales Amount | Sales Amount | Normal | Decimal | 12 | Sales Amount | decimal(38,38) |
23 | Cost Amount | Cost Amount | Normal | Decimal | 12 | Cost Amount | decimal(38,38) |
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 Budg. Entry].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Item Analysis View Budg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Analysis View Budg. Entry] LEFT JOIN [User] AS [User] ON [Item Analysis View Budg. Entry].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |