Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1180
Table Type: Company
Table Name: Data Privacy Entities
Database Table Name: CRONUS UK Ltd_$Data Privacy Entities$63ca2fa4-4f03-4f2b-a480-172fef340d3f
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 Data Privacy Entities can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Data Privacy Entities$63ca2fa4-4f03-4f2b-a480-172fef340d3f]
Show/hide an example select of all columns by name
SELECT
[Table No_]
,[Key Field No_]
,[Entity Filter]
,[Include]
,[Status]
,[Reviewed]
,[Status 2]
,[Page No_]
,[Similar Fields Reviewed]
,[Similar Fields Label]
,[Default Data Sensitivity]
,[Privacy Blocked Field No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Data Privacy Entities$63ca2fa4-4f03-4f2b-a480-172fef340d3f]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Data Privacy Entities$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Data Privacy Entities]
LEFT JOIN
[User] AS [User]
ON
[Data Privacy Entities].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Data Privacy Entities].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Data Privacy Entities table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Table No. | Table No. | Normal | Integer | 4 | Table No_ | int |
2 | Table Caption | Table Caption | FlowField | Text | 80 | ||
3 | Key Field No. | Key Field No. | Normal | Integer | 4 | Key Field No_ | int |
4 | Key Field Name | Key Field Name | FlowField | Text | 30 | ||
5 | Entity Filter | Entity Filter | Normal | BLOB | 8 | Entity Filter | image |
6 | Include | Include | Normal | Boolean | 4 | Include | tinyint |
7 | Fields | Fields | FlowField | Integer | 4 | ||
8 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
9 | Reviewed | Reviewed | Normal | Boolean | 4 | Reviewed | tinyint |
10 | Status 2 | Status 2 | Normal | Option | 4 | Status 2 | int |
Available options are:
| |||||||
11 | Page No. | Page No. | Normal | Integer | 4 | Page No_ | int |
12 | Similar Fields Reviewed | Similar Fields Reviewed | Normal | Boolean | 4 | Similar Fields Reviewed | tinyint |
13 | Similar Fields Label | Similar Fields Label | Normal | Text | 120 | Similar Fields Label | nvarchar(240) |
14 | Default Data Sensitivity | Default Data Sensitivity | Normal | Option | 4 | Default Data Sensitivity | int |
Available options are:
| |||||||
15 | Privacy Blocked Field No. | Privacy Blocked Field No. | Normal | Integer | 4 | Privacy Blocked Field No_ | int |
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 [Data Privacy Entities].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Data Privacy Entities$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Data Privacy Entities] LEFT JOIN [User] AS [User] ON [Data Privacy Entities].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |