Privacy Notice Approval

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

Table Type: System

Table Name: Privacy Notice Approval
Database Table Name: Privacy Notice Approval

Table Number: 2000000238

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 Privacy Notice Approval can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [Privacy Notice Approval]

Show/hide an example select of all columns by name

SELECT
   [ID]
   ,[User SID]
   ,[Approver User SID]
   ,[Approved]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [Privacy Notice Approval]

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

SELECT
   *
FROM
   [Privacy Notice Approval] AS [Privacy Notice Approval]
LEFT JOIN
   [User] AS [User]
      ON
         [Privacy Notice Approval].[User SID] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Privacy Notice Approval].[Approver User SID] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Privacy Notice Approval].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Privacy Notice Approval].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Privacy Notice Approval table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1ID SearchPrivacy Notice IDNormalCode50IDnvarchar(100)
2User SID Primary Key SearchUser SIDNormalGUID16User SIDuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [Privacy Notice Approval].[User SID]
	       ,[User].[User Security ID]
	FROM
	       [Privacy Notice Approval] AS [Privacy Notice Approval]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Privacy Notice Approval].[User SID] = [User].[User Security ID]
3Approver User SID Primary Key SearchApprover User IDNormalGUID16Approver User SIDuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [Privacy Notice Approval].[Approver User SID]
	       ,[User].[User Security ID]
	FROM
	       [Privacy Notice Approval] AS [Privacy Notice Approval]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Privacy Notice Approval].[Approver User SID] = [User].[User Security ID]
4Approved SearchApprovedNormalBoolean4Approvedtinyint
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
	       [Privacy Notice Approval].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [Privacy Notice Approval] AS [Privacy Notice Approval]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Privacy Notice Approval].[$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 *