Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/376
Table Type: Company
Table Name: G/L Account (Analysis View)
Database Table Name: CRONUS UK Ltd_$G_L Account (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 G/L Account (Analysis View) can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[No_]
,[Name]
,[Search Name]
,[Account Type]
,[Account Source]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[Income_Balance]
,[Debit_Credit]
,[No_ 2]
,[Blocked]
,[Direct Posting]
,[Reconciliation Account]
,[New Page]
,[No_ of Blank Lines]
,[Indentation]
,[Last Date Modified]
,[Totaling]
,[Consol_ Debit Acc_]
,[Consol_ Credit Acc_]
,[Gen_ Posting Type]
,[Gen_ Bus_ Posting Group]
,[Gen_ Prod_ Posting Group]
,[Automatic Ext_ Texts]
,[Tax Area Code]
,[Tax Liable]
,[Tax Group Code]
,[VAT Bus_ Posting Group]
,[VAT Prod_ Posting Group]
,[Exchange Rate Adjustment]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$G_L Account (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_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[G/L Account (Analysis View)].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[G/L Account (Analysis View)].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Cash Flow Forecast$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cash Flow Forecast]
ON
[G/L Account (Analysis View)].[Cash Flow Forecast Filter] = [Cash Flow Forecast].[No_]
LEFT JOIN
[CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Name]
ON
[G/L Account (Analysis View)].[Budget Filter] = [G/L Budget Name].[Name]
LEFT JOIN
[CRONUS UK Ltd_$Business Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Business Unit]
ON
[G/L Account (Analysis View)].[Business Unit Filter] = [Business Unit].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area]
ON
[G/L Account (Analysis View)].[Tax Area Code] = [Tax Area].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Tax Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Group]
ON
[G/L Account (Analysis View)].[Tax Group Code] = [Tax Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View]
ON
[G/L Account (Analysis View)].[Analysis View Filter] = [Analysis View].[Code]
LEFT JOIN
[User] AS [User]
ON
[G/L Account (Analysis View)].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[G/L Account (Analysis View)].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in G/L Account (Analysis View) table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
2 | Name | Name | Normal | Text | 100 | Name | nvarchar(200) |
3 | Search Name | Search Name | Normal | Code | 100 | Search Name | nvarchar(200) |
4 | Account Type | Account Type | Normal | Option | 4 | Account Type | int |
Available options are:
| |||||||
5 | Account Source | Account Source | Normal | Option | 4 | Account Source | int |
Available options are:
| |||||||
6 | 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 Account (Analysis View)].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [G/L Account (Analysis View)].[Global Dimension 1 Code] = [Dimension].[Code] | |||||||
7 | 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 Account (Analysis View)].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [G/L Account (Analysis View)].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
9 | Income/Balance | Income/Balance | Normal | Option | 4 | Income_Balance | int |
10 | Debit/Credit | Debit/Credit | Normal | Option | 4 | Debit_Credit | int |
11 | No. 2 | No. 2 | Normal | Code | 20 | No_ 2 | nvarchar(40) |
12 | Comment | Comment | FlowField | Boolean | 4 | ||
13 | Blocked | Blocked | Normal | Boolean | 4 | Blocked | tinyint |
14 | Direct Posting | Direct Posting | Normal | Boolean | 4 | Direct Posting | tinyint |
16 | Reconciliation Account | Reconciliation Account | Normal | Boolean | 4 | Reconciliation Account | tinyint |
17 | New Page | New Page | Normal | Boolean | 4 | New Page | tinyint |
18 | No. of Blank Lines | No. of Blank Lines | Normal | Integer | 4 | No_ of Blank Lines | int |
19 | Indentation | Indentation | Normal | Integer | 4 | Indentation | int |
26 | Last Date Modified | Last Date Modified | Normal | Date | 4 | Last Date Modified | datetime |
27 | Cash Flow Forecast Filter | Cash Flow Forecast Filter | FlowFilter | Code | 20 | ||
Key to join to the Cash Flow Forecast table.Show/hide example querySELECT [G/L Account (Analysis View)].[] ,[Cash Flow Forecast].[No_] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [CRONUS UK Ltd_$Cash Flow Forecast$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cash Flow Forecast] ON [G/L Account (Analysis View)].[] = [Cash Flow Forecast].[No_] | |||||||
28 | Date Filter | Date Filter | FlowFilter | Date | 4 | ||
29 | Global Dimension 1 Filter | Global Dimension 1 Filter | FlowFilter | Code | 20 | ||
30 | Global Dimension 2 Filter | Global Dimension 2 Filter | FlowFilter | Code | 20 | ||
31 | Balance at Date | Balance at Date | FlowField | Decimal | 12 | ||
32 | Net Change | Net Change | FlowField | Decimal | 12 | ||
33 | Budgeted Amount | Budgeted Amount | FlowField | Decimal | 12 | ||
34 | Totaling | Totaling | Normal | Text | 250 | Totaling | nvarchar(500) |
35 | Budget Filter | Budget Filter | FlowFilter | Code | 10 | ||
Key to join to the G/L Budget Name table.Show/hide example querySELECT [G/L Account (Analysis View)].[] ,[G/L Budget Name].[Name] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Name] ON [G/L Account (Analysis View)].[] = [G/L Budget Name].[Name] | |||||||
36 | Balance | Balance | FlowField | Decimal | 12 | ||
37 | Budgeted at Date | Budgeted at Date | FlowField | Decimal | 12 | ||
40 | Consol. Debit Acc. | Consol. Debit Acc. | Normal | Code | 20 | Consol_ Debit Acc_ | nvarchar(40) |
41 | Consol. Credit Acc. | Consol. Credit Acc. | Normal | Code | 20 | Consol_ Credit Acc_ | nvarchar(40) |
42 | Business Unit Filter | Business Unit Filter | FlowFilter | Code | 20 | ||
Key to join to the Business Unit table.Show/hide example querySELECT [G/L Account (Analysis View)].[] ,[Business Unit].[Code] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [CRONUS UK Ltd_$Business Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Business Unit] ON [G/L Account (Analysis View)].[] = [Business Unit].[Code] | |||||||
43 | Gen. Posting Type | Gen. Posting Type | Normal | Option | 4 | Gen_ Posting Type | int |
Available options are:
| |||||||
44 | Gen. Bus. Posting Group | Gen. Bus. Posting Group | Normal | Code | 20 | Gen_ Bus_ Posting Group | nvarchar(40) |
Key to join to the Gen. Business Posting Group table.Show/hide example querySELECT [G/L Account (Analysis View)].[Gen_ Bus_ Posting Group] ,[Gen. Business Posting Group].[Code] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [CRONUS UK Ltd_$Gen_ Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Business Posting Group] ON [G/L Account (Analysis View)].[Gen_ Bus_ Posting Group] = [Gen. Business Posting Group].[Code] | |||||||
45 | Gen. Prod. Posting Group | Gen. Prod. Posting Group | Normal | Code | 20 | Gen_ Prod_ Posting Group | nvarchar(40) |
Key to join to the Gen. Product Posting Group table.Show/hide example querySELECT [G/L Account (Analysis View)].[Gen_ Prod_ Posting Group] ,[Gen. Product Posting Group].[Code] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [CRONUS UK Ltd_$Gen_ Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Product Posting Group] ON [G/L Account (Analysis View)].[Gen_ Prod_ Posting Group] = [Gen. Product Posting Group].[Code] | |||||||
47 | Debit Amount | Debit Amount | FlowField | Decimal | 12 | ||
48 | Credit Amount | Credit Amount | FlowField | Decimal | 12 | ||
49 | Automatic Ext. Texts | Automatic Ext. Texts | Normal | Boolean | 4 | Automatic Ext_ Texts | tinyint |
52 | Budgeted Debit Amount | Budgeted Debit Amount | FlowField | Decimal | 12 | ||
53 | Budgeted Credit Amount | Budgeted Credit Amount | FlowField | Decimal | 12 | ||
54 | Tax Area Code | Tax Area Code | Normal | Code | 20 | Tax Area Code | nvarchar(40) |
Key to join to the Tax Area table.Show/hide example querySELECT [G/L Account (Analysis View)].[Tax Area Code] ,[Tax Area].[Code] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area] ON [G/L Account (Analysis View)].[Tax Area Code] = [Tax Area].[Code] | |||||||
55 | Tax Liable | Tax Liable | Normal | Boolean | 4 | Tax Liable | tinyint |
56 | Tax Group Code | Tax Group Code | Normal | Code | 20 | Tax Group Code | nvarchar(40) |
Key to join to the Tax Group table.Show/hide example querySELECT [G/L Account (Analysis View)].[Tax Group Code] ,[Tax Group].[Code] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [CRONUS UK Ltd_$Tax Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Group] ON [G/L Account (Analysis View)].[Tax Group Code] = [Tax Group].[Code] | |||||||
57 | VAT Bus. Posting Group | Tax Bus. Posting Group | Normal | Code | 20 | VAT Bus_ Posting Group | nvarchar(40) |
Key to join to the VAT Business Posting Group table.Show/hide example querySELECT [G/L Account (Analysis View)].[VAT Bus_ Posting Group] ,[VAT Business Posting Group].[Code] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [CRONUS UK Ltd_$VAT Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Business Posting Group] ON [G/L Account (Analysis View)].[VAT Bus_ Posting Group] = [VAT Business Posting Group].[Code] | |||||||
58 | VAT Prod. Posting Group | Tax Prod. Posting Group | Normal | Code | 20 | VAT Prod_ Posting Group | nvarchar(40) |
Key to join to the VAT Product Posting Group table.Show/hide example querySELECT [G/L Account (Analysis View)].[VAT Prod_ Posting Group] ,[VAT Product Posting Group].[Code] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [CRONUS UK Ltd_$VAT Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Product Posting Group] ON [G/L Account (Analysis View)].[VAT Prod_ Posting Group] = [VAT Product Posting Group].[Code] | |||||||
60 | Additional-Currency Net Change | Additional-Currency Net Change | FlowField | Decimal | 12 | ||
61 | Add.-Currency Balance at Date | Add.-Currency Balance at Date | FlowField | Decimal | 12 | ||
62 | Additional-Currency Balance | Additional-Currency Balance | FlowField | Decimal | 12 | ||
63 | Exchange Rate Adjustment | Exchange Rate Adjustment | Normal | Option | 4 | Exchange Rate Adjustment | int |
Available options are:
| |||||||
64 | Add.-Currency Debit Amount | Add.-Currency Debit Amount | FlowField | Decimal | 12 | ||
65 | Add.-Currency Credit Amount | Add.-Currency Credit Amount | FlowField | Decimal | 12 | ||
66 | Analysis View Filter | Analysis View Filter | FlowFilter | Code | 10 | ||
Key to join to the Analysis View table.Show/hide example querySELECT [G/L Account (Analysis View)].[] ,[Analysis View].[Code] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [CRONUS UK Ltd_$Analysis View$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Analysis View] ON [G/L Account (Analysis View)].[] = [Analysis View].[Code] | |||||||
67 | Dimension 1 Filter | Dimension 1 Filter | FlowFilter | Code | 20 | ||
68 | Dimension 2 Filter | Dimension 2 Filter | FlowFilter | Code | 20 | ||
69 | Dimension 3 Filter | Dimension 3 Filter | FlowFilter | Code | 20 | ||
70 | Dimension 4 Filter | Dimension 4 Filter | FlowFilter | Code | 20 | ||
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 Account (Analysis View)].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$G_L Account (Analysis View)$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account (Analysis View)] LEFT JOIN [User] AS [User] ON [G/L Account (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 |