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