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
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 Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | ID | ID | Normal | GUID | 16 | ID | uniqueidentifier |
2 | Sequence Number | Sequence Number | Normal | Integer | 4 | Sequence Number | int |
3 | Subscription ID | Subscription ID | Normal | Text | 150 | Subscription ID | nvarchar(300) |
Key to join to the External Event Subscription table.Show/hide example querySELECT [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] | |||||||
4 | Resource ID | Resource ID | Normal | Text | 250 | Resource ID | nvarchar(500) |
5 | Change Type | Change Type | Normal | Text | 50 | Change Type | nvarchar(100) |
6 | Resource Type Name | Resource Type Name | Normal | Text | 250 | Resource Type Name | nvarchar(500) |
7 | Notification | Notification | Normal | BLOB | 8 | Notification | image |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [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] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |