Tenant Report Layout

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/2000000232

Table Type: System

Table Name: Tenant Report Layout
Database Table Name: Tenant Report Layout

Table Number: 2000000232

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 Report Layout can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [Tenant Report Layout]

Show/hide an example select of all columns by name

SELECT
   [Report ID]
   ,[Name]
   ,[Caption]
   ,[CaptionML]
   ,[App ID]
   ,[Company Name]
   ,[Layout]
   ,[Layout Format]
   ,[Custom Type]
   ,[MIME Type]
   ,[Description]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [Tenant Report Layout]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [Tenant Report Layout] AS [Tenant Report Layout]
LEFT JOIN
   [Company] AS [Company]
      ON
         [Tenant Report Layout].[Company Name] = [Company].[Name]
LEFT JOIN
   [User] AS [User]
      ON
         [Tenant Report Layout].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Tenant Report Layout].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Tenant Report Layout table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Report ID SearchReport IDNormalInteger4Report IDint
2Name Primary Key SearchNameNormalText250Namenvarchar(500)
3Caption Primary Key SearchCaptionNormalText250Captionnvarchar(500)
4CaptionML SearchCaptionMLNormalText250CaptionMLnvarchar(500)
5App ID SearchApp IDNormalGUID16App IDuniqueidentifier
6Company Name Primary Key SearchCompany NameNormalText30Company Namenvarchar(60)
Key to join to the Company table.

Show/hide example query

SELECT
	       [Tenant Report Layout].[Company Name]
	       ,[Company].[Name]
	FROM
	       [Tenant Report Layout] AS [Tenant Report Layout]
	LEFT JOIN
	       [Company] AS [Company]
	              ON
	                     [Tenant Report Layout].[Company Name] = [Company].[Name]
7Layout SearchLayoutNormalMedia16Layoutuniqueidentifier
8Layout Format SearchLayout FormatNormalOption4Layout Formatint
Available options are:
  • “RDLC”
  • “Word”
  • “Excel”
  • “Custom”
9Custom Type SearchCustom TypeNormalGUID16Custom Typeuniqueidentifier
10MIME Type SearchMIME TypeNormalText255MIME Typenvarchar(510)
11Description SearchDescriptionNormalText250Descriptionnvarchar(500)
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 Report Layout].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [Tenant Report Layout] AS [Tenant Report Layout]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Tenant Report Layout].[$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 *