Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/4091
Table Type: Company
Table Name: GP GLTransactions
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 GLTransactions 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 GLTransactions]
LEFT JOIN
[User] AS [User]
ON
[GP GLTransactions].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[GP GLTransactions].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in GP GLTransactions table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Id | Id Number | Normal | Integer | 4 | ||
2 | ACTINDX | Account Index | Normal | Integer | 4 | ||
4 | YEAR1 | Year | Normal | Integer | 4 | ||
5 | PERIODID | Fiscal Period | Normal | Integer | 4 | ||
6 | DEBITAMT | Debit Amount | Normal | Decimal | 12 | ||
7 | CRDTAMNT | Credit Amount | Normal | Decimal | 12 | ||
8 | PERDBLNC | Period Balance | Normal | Decimal | 12 | ||
9 | MNACSGMT | Main account segment | Normal | Integer | 4 | ||
10 | ACTNUMBR_1 | Account Segment 1 | Normal | Code | 20 | ||
11 | ACTNUMBR_2 | Account Segment 2 | Normal | Code | 20 | ||
12 | ACTNUMBR_3 | Account Segment 3 | Normal | Code | 20 | ||
13 | ACTNUMBR_4 | Account Segment 4 | Normal | Code | 20 | ||
14 | ACTNUMBR_5 | Account Segment 5 | Normal | Code | 20 | ||
15 | ACTNUMBR_6 | Account Segment 6 | Normal | Code | 20 | ||
16 | ACTNUMBR_7 | Account Segment 7 | Normal | Code | 20 | ||
17 | ACTNUMBR_8 | Account Segment 8 | Normal | Code | 20 | ||
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 GLTransactions].[] ,[User].[User Security ID] FROM [] AS [GP GLTransactions] LEFT JOIN [User] AS [User] ON [GP GLTransactions].[] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | ||
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 |