Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/96
Table Type: Company
Table Name: G/L Budget Entry
Database Table Name: CRONUS UK Ltd_$G_L 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 G/L Budget Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$G_L Budget Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Entry No_]
,[Budget Name]
,[G_L Account No_]
,[Date]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[Amount]
,[Description]
,[Business Unit Code]
,[User ID]
,[Budget Dimension 1 Code]
,[Budget Dimension 2 Code]
,[Budget Dimension 3 Code]
,[Budget Dimension 4 Code]
,[Last Date Modified]
,[Dimension Set ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$G_L 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_$G_L Budget Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Entry]
LEFT JOIN
[CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Name]
ON
[G/L Budget Entry].[Budget Name] = [G/L Budget Name].[Name]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[G/L Budget Entry].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[G/L Budget Entry].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Business Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Business Unit]
ON
[G/L Budget Entry].[Business Unit Code] = [Business Unit].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[G/L Budget Entry].[Budget Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[G/L Budget Entry].[Budget Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[G/L Budget Entry].[Budget Dimension 3 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[G/L Budget Entry].[Budget Dimension 4 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[G/L Budget Entry].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[G/L Budget Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[G/L Budget Entry].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in G/L 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 | 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 [G/L Budget Entry].[Budget Name] ,[G/L Budget Name].[Name] FROM [CRONUS UK Ltd_$G_L Budget Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Entry] LEFT JOIN [CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Name] ON [G/L Budget Entry].[Budget Name] = [G/L Budget Name].[Name] | |||||||
3 | G/L Account No. | G/L Account No. | Normal | Code | 20 | G_L Account No_ | nvarchar(40) |
4 | Date | Date | Normal | Date | 4 | Date | datetime |
5 | 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 [G/L Budget Entry].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$G_L Budget Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [G/L Budget Entry].[Global Dimension 1 Code] = [Dimension].[Code] | |||||||
6 | 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 [G/L Budget Entry].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$G_L Budget Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [G/L Budget Entry].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
7 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
9 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
10 | Business Unit Code | Business Unit Code | Normal | Code | 20 | Business Unit Code | nvarchar(40) |
Key to join to the Business Unit table.Show/hide example querySELECT [G/L Budget Entry].[Business Unit Code] ,[Business Unit].[Code] FROM [CRONUS UK Ltd_$G_L Budget Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Entry] LEFT JOIN [CRONUS UK Ltd_$Business Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Business Unit] ON [G/L Budget Entry].[Business Unit Code] = [Business Unit].[Code] | |||||||
11 | User ID | User ID | Normal | Code | 50 | User ID | nvarchar(100) |
12 | 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 [G/L Budget Entry].[Budget Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$G_L Budget Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [G/L Budget Entry].[Budget Dimension 1 Code] = [Dimension].[Code] | |||||||
13 | 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 [G/L Budget Entry].[Budget Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$G_L Budget Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [G/L Budget Entry].[Budget Dimension 2 Code] = [Dimension].[Code] | |||||||
14 | 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 [G/L Budget Entry].[Budget Dimension 3 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$G_L Budget Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [G/L Budget Entry].[Budget Dimension 3 Code] = [Dimension].[Code] | |||||||
15 | Budget Dimension 4 Code | Budget Dimension 4 Code | Normal | Code | 20 | Budget Dimension 4 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [G/L Budget Entry].[Budget Dimension 4 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$G_L Budget Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [G/L Budget Entry].[Budget Dimension 4 Code] = [Dimension].[Code] | |||||||
16 | Last Date Modified | Last Date Modified | Normal | Date | 4 | Last Date Modified | datetime |
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 [G/L Budget Entry].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$G_L Budget Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [G/L 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 [G/L Budget Entry].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$G_L Budget Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Entry] LEFT JOIN [User] AS [User] ON [G/L 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 |