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
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 Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Company | Company | Normal | Text | 30 | Company | nvarchar(60) |
Key to join to the Company table.Show/hide example querySELECT [Entity Text].[Company] ,[Company].[Name] FROM [Entity Text] AS [Entity Text] LEFT JOIN [Company] AS [Company] ON [Entity Text].[Company] = [Company].[Name] | |||||||
2 | Source Table Id | Source Table Id | Normal | Integer | 4 | Source Table Id | int |
3 | Source System Id | Source System Id | Normal | GUID | 16 | ||
4 | Scenario | Scenario | Normal | Option | 4 | Scenario | int |
Available options are:
| |||||||
5 | Preview Text | Preview Text | Normal | Text | 1024 | Preview Text | nvarchar(2048) |
6 | Text | Text | Normal | BLOB | 8 | Text | image |
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 [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] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |