Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/180
Table Type: Company
Table Name: G_L Account Where-Used
Database Table Name: CRONUS UK Ltd_$G_L Account Where-Used$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 Where-Used can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$G_L Account Where-Used$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Entry No_]
,[Table ID]
,[Table Name]
,[Field Name]
,[Line]
,[G_L Account No_]
,[G_L Account Name]
,[Key 1]
,[Key 2]
,[Key 3]
,[Key 4]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$G_L Account Where-Used$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 Where-Used$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G_L Account Where-Used]
LEFT JOIN
[CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G_L Account]
ON
[G_L Account Where-Used].[G_L Account No_] = [G_L Account].[No_]
Show/hide columns in G_L Account Where-Used table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Entry No_ ![]() ![]() | int | ||||
3 | Table ID ![]() | int | ||||
4 | Table Name ![]() | nvarchar(300) | ||||
5 | Field Name ![]() | nvarchar(300) | ||||
6 | Line ![]() | nvarchar(500) | ||||
7 | G_L Account No_ ![]() | nvarchar(40) | ||||
Key to join to the G_L Account table.Show/hide example querySELECT
[G_L Account Where-Used].[G_L Account No_]
,[G_L Account].[No_]
FROM
[CRONUS UK Ltd_$G_L Account Where-Used$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G_L Account Where-Used]
LEFT JOIN
[CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G_L Account]
ON
[G_L Account Where-Used].[G_L Account No_] = [G_L Account].[No_] | ||||||
8 | G_L Account Name ![]() | nvarchar(200) | ||||
9 | Key 1 ![]() | nvarchar(100) | ||||
10 | Key 2 ![]() | nvarchar(100) | ||||
11 | Key 3 ![]() | nvarchar(100) | ||||
12 | Key 4 ![]() | nvarchar(100) | ||||
13 | $systemId ![]() | uniqueidentifier | ||||
14 | $systemCreatedAt ![]() | datetime | ||||
15 | $systemCreatedBy ![]() | uniqueidentifier | ||||
16 | $systemModifiedAt ![]() | datetime | ||||
17 | $systemModifiedBy ![]() | uniqueidentifier |