Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/40118
Table Type: Company
Table Name: GP GL10111
Database Table Name:
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 GP GL10111 can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[]
Show/hide an example select of all columns by name
SELECT
FROM
[]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[] AS [GP GL10111]
LEFT JOIN
[User] AS [User]
ON
[GP GL10111].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[GP GL10111].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in GP GL10111 table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | ACTINDX | ACTINDX | Normal | Integer | 4 | ||
2 | YEAR1 | YEAR1 | Normal | Integer | 4 | ||
3 | PERIODID | PERIODID | Normal | Integer | 4 | ||
4 | Ledger_ID | Ledger_ID | Normal | Integer | 4 | ||
5 | ACTNUMBR_1 | ACTNUMBR_1 | Normal | Text | 20 | ||
6 | ACTNUMBR_2 | ACTNUMBR_2 | Normal | Text | 20 | ||
7 | ACTNUMBR_3 | ACTNUMBR_3 | Normal | Text | 20 | ||
8 | ACTNUMBR_4 | ACTNUMBR_4 | Normal | Text | 20 | ||
9 | ACTNUMBR_5 | ACTNUMBR_5 | Normal | Text | 20 | ||
10 | ACTNUMBR_6 | ACTNUMBR_6 | Normal | Text | 20 | ||
11 | ACTNUMBR_7 | ACTNUMBR_7 | Normal | Text | 20 | ||
12 | ACTNUMBR_8 | ACTNUMBR_8 | Normal | Text | 20 | ||
13 | ACCATNUM | ACCATNUM | Normal | Integer | 4 | ||
14 | PERDBLNC | PERDBLNC | Normal | Decimal | 12 | ||
15 | DEBITAMT | DEBITAMT | Normal | Decimal | 12 | ||
16 | CRDTAMNT | CRDTAMNT | Normal | Decimal | 12 | ||
17 | DEX_ROW_ID | DEX_ROW_ID | Normal | Integer | 4 | ||
200 | GL00100ACCTYPE1Exist | GL00100ACCTYPE1Exist | FlowField | Boolean | 4 | ||
2000000000 | $systemId | System ID | Normal | GUID | 16 | ||
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | ||
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | ||
Key to join to the User table.Show/hide example querySELECT [GP GL10111].[] ,[User].[User Security ID] FROM [] AS [GP GL10111] LEFT JOIN [User] AS [User] ON [GP GL10111].[] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | ||
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 |