Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2000000168
Table Type: System
Table Name: Tenant Web Service
Database Table Name: Tenant Web 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 Tenant Web Service can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[Tenant Web Service]
Show/hide an example select of all columns by name
SELECT
[Object Type]
,[Object ID]
,[Service Name]
,[Published]
,[ExcludeFieldsOutsideRepeater]
,[ExcludeNonEditableFlowFields]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[Tenant Web Service]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[Tenant Web Service] AS [Tenant Web Service]
LEFT JOIN
[User] AS [User]
ON
[Tenant Web Service].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Tenant Web Service].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Tenant Web Service table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
3 | Object Type | Object Type | Normal | Option | 4 | Object Type | int |
Available options are:
| |||||||
6 | Object ID | Object ID | Normal | Integer | 4 | Object ID | int |
9 | Service Name | Service Name | Normal | Text | 250 | Service Name | nvarchar(500) |
12 | Published | Published | Normal | Boolean | 4 | Published | tinyint |
13 | ExcludeFieldsOutsideRepeater | Exclude Fields Outside of the Repeater from Etag | Normal | Boolean | 4 | ExcludeFieldsOutsideRepeater | tinyint |
14 | ExcludeNonEditableFlowFields | Exclude Non-Editable Flow Fields from ETag | Normal | Boolean | 4 | ExcludeNonEditableFlowFields | tinyint |
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 [Tenant Web Service].[$systemCreatedBy] ,[User].[User Security ID] FROM [Tenant Web Service] AS [Tenant Web Service] LEFT JOIN [User] AS [User] ON [Tenant Web Service].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |