Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2000000083
Table Type: System
Table Name: Tenant Profile Setting
Database Table Name: Tenant Profile Setting
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 Profile Setting can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[Tenant Profile Setting]
Show/hide an example select of all columns by name
SELECT
[App ID]
,[Profile ID]
,[Default Role Center]
,[Disable Personalization]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[Tenant Profile Setting]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[Tenant Profile Setting] AS [Tenant Profile Setting]
LEFT JOIN
[User] AS [User]
ON
[Tenant Profile Setting].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Tenant Profile Setting].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Tenant Profile Setting table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | App ID | App ID | Normal | GUID | 16 | App ID | uniqueidentifier |
2 | Profile ID | Profile ID | Normal | Code | 30 | Profile ID | nvarchar(60) |
3 | Default Role Center | Default Role Center | Normal | Boolean | 4 | Default Role Center | tinyint |
4 | Disable Personalization | Disable Personalization | Normal | Boolean | 4 | Disable Personalization | 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 Profile Setting].[$systemCreatedBy] ,[User].[User Security ID] FROM [Tenant Profile Setting] AS [Tenant Profile Setting] LEFT JOIN [User] AS [User] ON [Tenant Profile Setting].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |