Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2000000114
Table Type: System
Table Name: Document Service
Database Table Name: Document Service
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 Document Service can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[Document Service]
Show/hide an example select of all columns by name
SELECT
[Service ID]
,[Description]
,[Location]
,[User Name]
,[Password]
,[Document Repository]
,[Folder]
,[Client Id]
,[Client Secret]
,[Redirect URL]
,[Authentication Type]
,[Client Secret Key]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[Document Service]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[Document Service] AS [Document Service]
LEFT JOIN
[User] AS [User]
ON
[Document Service].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Document Service].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Document Service table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Service ID | Service ID | Normal | Code | 30 | Service ID | nvarchar(60) |
3 | Description | Description | Normal | Text | 80 | Description | nvarchar(160) |
5 | Location | Location | Normal | Text | 250 | Location | nvarchar(500) |
7 | User Name | User Name | Normal | Text | 128 | User Name | nvarchar(256) |
9 | Password | Password | Normal | Text | 128 | Password | nvarchar(256) |
11 | Document Repository | Document Repository | Normal | Text | 250 | Document Repository | nvarchar(500) |
13 | Folder | Folder | Normal | Text | 250 | Folder | nvarchar(500) |
15 | Client Id | Client Id | Normal | Text | 250 | Client Id | nvarchar(500) |
17 | Client Secret | Client Secret | Normal | Text | 250 | Client Secret | nvarchar(500) |
19 | Redirect URL | Redirect URL | Normal | Text | 2048 | Redirect URL | nvarchar(4096) |
21 | Authentication Type | Authentication Type | Normal | Option | 4 | Authentication Type | int |
Available options are:
| |||||||
23 | Client Secret Key | Client Secret Key | Normal | GUID | 16 | Client Secret Key | uniqueidentifier |
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 [Document Service].[$systemCreatedBy] ,[User].[User Security ID] FROM [Document Service] AS [Document Service] LEFT JOIN [User] AS [User] ON [Document Service].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |