Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2000000084
Table Type: System
Table Name: Tenant Profile Extension
Database Table Name: Tenant Profile Extension
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 Extension can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[Tenant Profile Extension]
Show/hide an example select of all columns by name
SELECT
[App ID]
,[Base Profile App ID]
,[Base Profile ID]
,[Metadata]
,[User AL Code]
,[Emit Version]
,[Customization Status]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[Tenant Profile Extension]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[Tenant Profile Extension] AS [Tenant Profile Extension]
LEFT JOIN
[User] AS [User]
ON
[Tenant Profile Extension].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Tenant Profile Extension].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Tenant Profile Extension 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 | Base Profile App ID | Base Profile App ID | Normal | GUID | 16 | Base Profile App ID | uniqueidentifier |
3 | Base Profile ID | Base Profile ID | Normal | Code | 30 | Base Profile ID | nvarchar(60) |
4 | Metadata | Metadata | Normal | BLOB | 8 | Metadata | image |
5 | User AL Code | User AL Code | Normal | BLOB | 8 | User AL Code | image |
6 | Emit Version | Emit Version | Normal | Integer | 4 | Emit Version | int |
7 | Customization Status | Customization Status | Normal | Option | 4 | Customization Status | int |
Available options are:
| |||||||
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 Extension].[$systemCreatedBy] ,[User].[User Security ID] FROM [Tenant Profile Extension] AS [Tenant Profile Extension] LEFT JOIN [User] AS [User] ON [Tenant Profile Extension].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |