Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/15
Table Type: Company
Table Name: G/L Account
Database Table Name: CRONUS UK Ltd_$G_L Account$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 can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[No_]
,[Name]
,[Search Name]
,[Account Type]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[Account Category]
,[Income_Balance]
,[Debit_Credit]
,[No_ 2]
,[Blocked]
,[Direct Posting]
,[Reconciliation Account]
,[New Page]
,[No_ of Blank Lines]
,[Indentation]
,[Last Modified Date Time]
,[Last Date Modified]
,[Totaling]
,[Consol_ Translation Method]
,[Consol_ Debit Acc_]
,[Consol_ Credit Acc_]
,[Gen_ Posting Type]
,[Gen_ Bus_ Posting Group]
,[Gen_ Prod_ Posting Group]
,[Picture]
,[Automatic Ext_ Texts]
,[Tax Area Code]
,[Tax Liable]
,[Tax Group Code]
,[VAT Bus_ Posting Group]
,[VAT Prod_ Posting Group]
,[Exchange Rate Adjustment]
,[Default IC Partner G_L Acc_ No]
,[Omit Default Descr_ in Jnl_]
,[Account Subcategory Entry No_]
,[Cost Type No_]
,[Default Deferral Template Code]
,[Id]
,[API Account Type]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$G_L Account$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$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[G/L Account].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[G/L Account].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Name]
ON
[G/L Account].[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].[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].[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].[Tax Group Code] = [Tax Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Deferral Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Deferral Template]
ON
[G/L Account].[Default Deferral Template Code] = [Deferral Template].[Deferral Code]
LEFT JOIN
[User] AS [User]
ON
[G/L Account].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[G/L Account].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in G/L Account 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:
| |||||||
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].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [G/L Account].[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].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [G/L Account].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
8 | Account Category | Account Category | Normal | Option | 4 | Account Category | int |
Available options are:
| |||||||
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 |
25 | Last Modified Date Time | Last Modified Date Time | Normal | DateTime | 8 | Last Modified Date Time | datetime |
26 | Last Date Modified | Last Date Modified | Normal | Date | 4 | Last Date Modified | datetime |
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].[] ,[G/L Budget Name].[Name] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Name] ON [G/L Account].[] = [G/L Budget Name].[Name] | |||||||
36 | Balance | Balance | FlowField | Decimal | 12 | ||
37 | Budget at Date | Budget at Date | FlowField | Decimal | 12 | ||
39 | Consol. Translation Method | Consol. Translation Method | Normal | Option | 4 | Consol_ Translation Method | int |
Available options are:
| |||||||
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].[] ,[Business Unit].[Code] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$Business Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Business Unit] ON [G/L Account].[] = [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].[Gen_ Bus_ Posting Group] ,[Gen. Business Posting Group].[Code] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$Gen_ Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Business Posting Group] ON [G/L Account].[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].[Gen_ Prod_ Posting Group] ,[Gen. Product Posting Group].[Code] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$Gen_ Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Product Posting Group] ON [G/L Account].[Gen_ Prod_ Posting Group] = [Gen. Product Posting Group].[Code] | |||||||
46 | Picture | Picture | Normal | BLOB | 8 | Picture | image |
47 | Debit Amount | Debit Amount | FlowField | Decimal | 12 | ||
48 | Credit Amount | Credit Amount | FlowField | Decimal | 12 | ||
49 | Automatic Ext. Texts | Automatic Ext. Text | 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].[Tax Area Code] ,[Tax Area].[Code] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$Tax Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Area] ON [G/L Account].[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].[Tax Group Code] ,[Tax Group].[Code] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$Tax Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Group] ON [G/L Account].[Tax Group Code] = [Tax Group].[Code] | |||||||
57 | VAT Bus. Posting Group | VAT 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].[VAT Bus_ Posting Group] ,[VAT Business Posting Group].[Code] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$VAT Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Business Posting Group] ON [G/L Account].[VAT Bus_ Posting Group] = [VAT Business Posting Group].[Code] | |||||||
58 | VAT Prod. Posting Group | VAT 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].[VAT Prod_ Posting Group] ,[VAT Product Posting Group].[Code] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$VAT Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Product Posting Group] ON [G/L Account].[VAT Prod_ Posting Group] = [VAT Product Posting Group].[Code] | |||||||
59 | VAT Amt. | Tax Amt. | FlowField | Decimal | 12 | ||
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 | Default IC Partner G/L Acc. No | Default IC Partner G/L Acc. No | Normal | Code | 20 | Default IC Partner G_L Acc_ No | nvarchar(40) |
70 | Omit Default Descr. in Jnl. | Omit Default Descr. in Jnl. | Normal | Boolean | 4 | Omit Default Descr_ in Jnl_ | tinyint |
80 | Account Subcategory Entry No. | Account Subcategory Entry No. | Normal | Integer | 4 | Account Subcategory Entry No_ | int |
Key to join to the G/L Account Category table.Show/hide example querySELECT [G/L Account].[Account Subcategory Entry No_] ,[G/L Account Category].[Entry No_] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$G_L Account Category$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account Category] ON [G/L Account].[Account Subcategory Entry No_] = [G/L Account Category].[Entry No_] | |||||||
81 | Account Subcategory Descript. | Account Subcategory Descript. | FlowField | Text | 80 | ||
82 | VAT Reporting Date Filter | Tax Reporting Date Filter | FlowFilter | Date | 4 | ||
400 | Dimension Set ID Filter | Dimension Set ID Filter | FlowFilter | Integer | 4 | ||
1100 | Cost Type No. | Cost Type No. | Normal | Code | 20 | Cost Type No_ | nvarchar(40) |
Key to join to the Cost Type table.Show/hide example querySELECT [G/L Account].[Cost Type No_] ,[Cost Type].[No_] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$Cost Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Type] ON [G/L Account].[Cost Type No_] = [Cost Type].[No_] | |||||||
1700 | Default Deferral Template Code | Default Deferral Template Code | Normal | Code | 10 | Default Deferral Template Code | nvarchar(20) |
Key to join to the Deferral Template table.Show/hide example querySELECT [G/L Account].[Default Deferral Template Code] ,[Deferral Template].[Deferral Code] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [CRONUS UK Ltd_$Deferral Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Deferral Template] ON [G/L Account].[Default Deferral Template Code] = [Deferral Template].[Deferral Code] | |||||||
8000 | Id | Id | Normal | GUID | 16 | Id | uniqueidentifier |
9000 | API Account Type | API Account Type | Normal | Option | 4 | API Account Type | int |
Available options are:
| |||||||
10001 | GIFI Code | GIFI Code | Normal | Code | 10 | ||
22200 | Review Policy | Review Policy | Normal | Option | 4 | ||
27000 | SAT Account Code | SAT Account Code | Normal | 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].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] LEFT JOIN [User] AS [User] ON [G/L Account].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |