Webhook Notification

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

Table Type: System

Table Name: Webhook Notification
Database Table Name: Webhook Notification

Table Number: 2000000194

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [Webhook Notification]

Show/hide an example select of all columns by name

SELECT
   [ID]
   ,[Sequence Number]
   ,[Subscription ID]
   ,[Resource ID]
   ,[Change Type]
   ,[Resource Type Name]
   ,[Notification]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [Webhook Notification]

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

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

Show/hide columns in Webhook Notification table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1ID SearchIDNormalGUID16IDuniqueidentifier
2Sequence Number Primary Key SearchSequence NumberNormalInteger4Sequence Numberint
3Subscription ID Primary Key SearchSubscription IDNormalText150Subscription IDnvarchar(300)
Key to join to the External Event Subscription table.

Show/hide example query

SELECT
	       [Webhook Notification].[Subscription ID]
	       ,[External Event Subscription].[ID]
	FROM
	       [Webhook Notification] AS [Webhook Notification]
	LEFT JOIN
	       [External Event Subscription] AS [External Event Subscription]
	              ON
	                     [Webhook Notification].[Subscription ID] = [External Event Subscription].[ID]
4Resource ID Primary Key SearchResource IDNormalText250Resource IDnvarchar(500)
5Change Type SearchChange TypeNormalText50Change Typenvarchar(100)
6Resource Type Name SearchResource Type NameNormalText250Resource Type Namenvarchar(500)
7Notification Primary Key SearchNotificationNormalBLOB8Notificationimage
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
	       [Webhook Notification].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [Webhook Notification] AS [Webhook Notification]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Webhook 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 *