External Event Log Entry

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

Table Type: System

Table Name: External Event Log Entry
Database Table Name: External Event Log Entry

Table Number: 2000000241

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [External Event Log Entry]

Show/hide an example select of all columns by name

SELECT
   [ID]
   ,[App Id]
   ,[App Version]
   ,[Event Name]
   ,[Company Name]
   ,[User Id]
   ,[Event Date Time]
   ,[Event Payload Blob]
   ,[Processed]
   ,[Company Id]
   ,[Event Version]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [External Event Log Entry]

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

SELECT
   *
FROM
   [External Event Log Entry] AS [External Event Log Entry]
LEFT JOIN
   [Company] AS [Company]
      ON
         [External Event Log Entry].[Company Name] = [Company].[Name]
LEFT JOIN
   [User] AS [User]
      ON
         [External Event Log Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [External Event Log Entry].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in External Event Log Entry table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1ID SearchIDNormalInteger4IDint
2App Id Primary Key SearchApp IdNormalGUID16App Iduniqueidentifier
3App Version SearchApp VersionNormalText43App Versionnvarchar(86)
4Event Name SearchEvent NameNormalText80Event Namenvarchar(160)
5Company Name SearchCompany NameNormalText30Company Namenvarchar(60)
Key to join to the Company table.

Show/hide example query

SELECT
	       [External Event Log Entry].[Company Name]
	       ,[Company].[Name]
	FROM
	       [External Event Log Entry] AS [External Event Log Entry]
	LEFT JOIN
	       [Company] AS [Company]
	              ON
	                     [External Event Log Entry].[Company Name] = [Company].[Name]
6User Id SearchUser IdNormalGUID16User Iduniqueidentifier
7Event Date Time SearchEvent Date TimeNormalDateTime8Event Date Timedatetime
8Event Payload Blob SearchEvent Payload BlobNormalBLOB8Event Payload Blobimage
9Processed SearchProcessedNormalBoolean4Processedtinyint
10Company Id SearchCompany IdNormalGUID16Company Iduniqueidentifier
11Event Version SearchEvent VersionNormalText43Event Versionnvarchar(86)
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
	       [External Event Log Entry].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [External Event Log Entry] AS [External Event Log Entry]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [External Event 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 *