External Event Activity Log

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

Table Type: System

Table Name: External Event Activity Log
Database Table Name: External Event Activity Log

Table Number: 2000000245

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [External Event Activity Log]

Show/hide an example select of all columns by name

SELECT
   [Id]
   ,[Notification Url]
   ,[Subscription Id]
   ,[Status]
   ,[Activity Message]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [External Event Activity Log]

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

SELECT
   *
FROM
   [External Event Activity Log] AS [External Event Activity Log]
LEFT JOIN
   [External Event Subscription] AS [External Event Subscription]
      ON
         [External Event Activity Log].[Subscription Id] = [External Event Subscription].[ID]
LEFT JOIN
   [User] AS [User]
      ON
         [External Event Activity Log].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [External Event Activity Log].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in External Event Activity Log table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Id SearchIDNormalInteger4Idint
2Notification Url Primary Key SearchNotification UrlNormalText2048Notification Urlnvarchar(4096)
3Subscription Id SearchSubscription IdNormalGUID16Subscription Iduniqueidentifier
Key to join to the External Event Subscription table.

Show/hide example query

SELECT
	       [External Event Activity Log].[Subscription Id]
	       ,[External Event Subscription].[ID]
	FROM
	       [External Event Activity Log] AS [External Event Activity Log]
	LEFT JOIN
	       [External Event Subscription] AS [External Event Subscription]
	              ON
	                     [External Event Activity Log].[Subscription Id] = [External Event Subscription].[ID]
4Status SearchStatusNormalOption4Statusint
Available options are:
  • “Success”
  • “Failed”
5Activity Message SearchActivity MessageNormalText250Activity Messagenvarchar(500)
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 Activity Log].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [External Event Activity Log] AS [External Event Activity Log]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [External Event Activity Log].[$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 *