External Event Notification

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

Table Type: System

Table Name: External Event Notification
Database Table Name: External Event Notification

Table Number: 2000000242

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [External Event Notification]

Show/hide an example select of all columns by name

SELECT
   [Log Entry Id]
   ,[Subscription Id]
   ,[Status]
   ,[Last Retry Date Time]
   ,[Retry Count]
   ,[Not Before]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [External Event Notification]

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

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

Show/hide columns in External Event Notification table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Log Entry Id SearchLog Entry IdNormalInteger4Log Entry Idint
Key to join to the External Event Log Entry table.

Show/hide example query

SELECT
	       [External Event Notification].[Log Entry Id]
	       ,[External Event Log Entry].[ID]
	FROM
	       [External Event Notification] AS [External Event Notification]
	LEFT JOIN
	       [External Event Log Entry] AS [External Event Log Entry]
	              ON
	                     [External Event Notification].[Log Entry Id] = [External Event Log Entry].[ID]
2Subscription Id Primary Key SearchSubscription IdNormalGUID16Subscription Iduniqueidentifier
Key to join to the External Event Subscription table.

Show/hide example query

SELECT
	       [External Event Notification].[Subscription Id]
	       ,[External Event Subscription].[ID]
	FROM
	       [External Event Notification] AS [External Event Notification]
	LEFT JOIN
	       [External Event Subscription] AS [External Event Subscription]
	              ON
	                     [External Event Notification].[Subscription Id] = [External Event Subscription].[ID]
3Status Primary Key SearchStatusNormalOption4Statusint
Available options are:
  • “Pending”
  • “Sent”
  • “Failed”
4Last Retry Date Time SearchLast Retry Date TimeNormalDateTime8Last Retry Date Timedatetime
5Retry Count SearchRetry CountNormalInteger4Retry Countint
6Not Before SearchNot BeforeNormalDateTime8Not Beforedatetime
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 Notification].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [External Event Notification] AS [External Event Notification]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [External Event Notification].[$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 *