Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/4037
Table Type: Company
Table Name: Stg Incoming Document
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 Stg Incoming Document 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 [Stg Incoming Document]
LEFT JOIN
[User] AS [User]
ON
[Stg Incoming Document].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Stg Incoming Document].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Stg Incoming Document table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Entry No. | Entry No. | Normal | Integer | 4 | ||
19 | URL1 | URL1 | Normal | Text | 250 | ||
20 | URL2 | URL2 | Normal | Text | 250 | ||
21 | URL3 | URL3 | Normal | Text | 250 | ||
22 | URL4 | URL4 | Normal | Text | 250 | ||
60 | URL | URL | Normal | Text | 1024 | ||
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 [Stg Incoming Document].[] ,[User].[User Security ID] FROM [] AS [Stg Incoming Document] LEFT JOIN [User] AS [User] ON [Stg Incoming Document].[] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | ||
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 |