Tenant Profile Extension

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

Table Number: 2000000084

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 NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1App ID SearchApp IDNormalGUID16App IDuniqueidentifier
2Base Profile App ID Primary Key SearchBase Profile App IDNormalGUID16Base Profile App IDuniqueidentifier
3Base Profile ID Primary Key SearchBase Profile IDNormalCode30Base Profile IDnvarchar(60)
4Metadata Primary Key SearchMetadataNormalBLOB8Metadataimage
5User AL Code SearchUser AL CodeNormalBLOB8User AL Codeimage
6Emit Version SearchEmit VersionNormalInteger4Emit Versionint
7Customization Status SearchCustomization StatusNormalOption4Customization Statusint
Available options are:
  • “Updated”
  • “Recompilation Needed”
  • “Recompilation Failed”
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [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]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

Your email address will not be published. Required fields are marked *