Change Log Entry

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

Table Type: Company

Table Name: Change Log Entry
Database Table Name: CRONUS UK Ltd_$Change Log Entry$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 405

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 Change Log Entry can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Change Log Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Entry No_]
   ,[Date and Time]
   ,[Time]
   ,[User ID]
   ,[Table No_]
   ,[Field No_]
   ,[Type of Change]
   ,[Old Value]
   ,[New Value]
   ,[Primary Key]
   ,[Primary Key Field 1 No_]
   ,[Primary Key Field 1 Value]
   ,[Primary Key Field 2 No_]
   ,[Primary Key Field 2 Value]
   ,[Primary Key Field 3 No_]
   ,[Primary Key Field 3 Value]
   ,[Record ID]
   ,[Protected]
   ,[Notification Status]
   ,[Field Log Entry Feature]
   ,[Notification Message Id]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Change Log Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Change Log Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Change Log Entry]
LEFT JOIN
   [User] AS [User]
      ON
         [Change Log Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Change Log Entry].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Change Log Entry table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Entry No. SearchEntry No.NormalBigInteger8Entry No_bigint
2Date and Time Primary Key SearchDate and TimeNormalDateTime8Date and Timedatetime
3Time SearchTimeNormalTime4Timedatetime
4User ID SearchUser IDNormalCode50User IDnvarchar(100)
5Table No. SearchTable No.NormalInteger4Table No_int
6Table Caption SearchTable CaptionFlowFieldText250
7Field No. SearchField No.NormalInteger4Field No_int
8Field Caption SearchField CaptionFlowFieldText80
9Type of Change SearchType of ChangeNormalOption4Type of Changeint
Available options are:
  • “Insertion”
  • “Modification”
  • “Deletion”
10Old Value SearchOld ValueNormalText2048Old Valuenvarchar(4096)
11New Value SearchNew ValueNormalText2048New Valuenvarchar(4096)
12Primary Key SearchPrimary KeyNormalText250Primary Keynvarchar(500)
13Primary Key Field 1 No. SearchPrimary Key Field 1 No.NormalInteger4Primary Key Field 1 No_int
14Primary Key Field 1 Caption SearchPrimary Key Field 1 CaptionFlowFieldText80
15Primary Key Field 1 Value SearchPrimary Key Field 1 ValueNormalText50Primary Key Field 1 Valuenvarchar(100)
16Primary Key Field 2 No. SearchPrimary Key Field 2 No.NormalInteger4Primary Key Field 2 No_int
17Primary Key Field 2 Caption SearchPrimary Key Field 2 CaptionFlowFieldText80
18Primary Key Field 2 Value SearchPrimary Key Field 2 ValueNormalText50Primary Key Field 2 Valuenvarchar(100)
19Primary Key Field 3 No. SearchPrimary Key Field 3 No.NormalInteger4Primary Key Field 3 No_int
20Primary Key Field 3 Caption SearchPrimary Key Field 3 CaptionFlowFieldText80
21Primary Key Field 3 Value SearchPrimary Key Field 3 ValueNormalText50Primary Key Field 3 Valuenvarchar(100)
22Record ID SearchRecord IDNormalRecordID448Record IDvarbinary(448)
25Protected SearchProtectedNormalBoolean4Protectedtinyint
26Changed Record SystemId SearchChanged Record SystemIdNormalGUID16
27Notification Status SearchNotification statusNormalOption4Notification Statusint
Available options are:
  • “Turned Off”
  • “Email Sent”
  • “Sending Email Failed”
  • “Email Enqueued”
28Field Log Entry Feature SearchField Log Entry FeatureNormalOption4Field Log Entry Featureint
Available options are:
  • “Change Log”
  • “Monitor Sensitive Fields”
  • “All”
29Notification Message Id SearchNotification Message IdNormalGUID16Notification Message Iduniqueidentifier
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
	       [Change Log Entry].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Change Log Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Change Log Entry]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Change Log Entry].[$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 *