Entity Text

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

Table Type: System

Table Name: Entity Text
Database Table Name: Entity Text

Table Number: 2000000132

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 Entity Text can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [Entity Text]

Show/hide an example select of all columns by name

SELECT
   [Company]
   ,[Source Table Id]
   ,[Scenario]
   ,[Preview Text]
   ,[Text]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [Entity Text]

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

SELECT
   *
FROM
   [Entity Text] AS [Entity Text]
LEFT JOIN
   [Company] AS [Company]
      ON
         [Entity Text].[Company] = [Company].[Name]
LEFT JOIN
   [User] AS [User]
      ON
         [Entity Text].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Entity Text].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Entity Text table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Company SearchCompanyNormalText30Companynvarchar(60)
Key to join to the Company table.

Show/hide example query

SELECT
	       [Entity Text].[Company]
	       ,[Company].[Name]
	FROM
	       [Entity Text] AS [Entity Text]
	LEFT JOIN
	       [Company] AS [Company]
	              ON
	                     [Entity Text].[Company] = [Company].[Name]
2Source Table Id Primary Key SearchSource Table IdNormalInteger4Source Table Idint
3Source System Id Primary Key SearchSource System IdNormalGUID16
4Scenario Primary Key SearchScenarioNormalOption4Scenarioint
Available options are:
  • “Marketing Text”
5Preview Text Primary Key SearchPreview TextNormalText1024Preview Textnvarchar(2048)
6Text SearchTextNormalBLOB8Textimage
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
	       [Entity Text].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [Entity Text] AS [Entity Text]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Entity Text].[$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 *