Codeunit 6153 API Webhook Notification Mgt.

Base Application, Microsoft.API.Webhooks

src/Layers/W1/BaseApp/System/API/Webhooks/APIWebhookNotificationMgt.Codeunit.al35 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnDatabaseInsert line 67

  1. 69callsProcessSubscriptions

OnDatabaseModify line 73

  1. 75callsProcessSubscriptions

OnDatabaseDelete line 79

  1. 81callsProcessSubscriptions

OnDatabaseRename line 85

  1. 87callsProcessSubscriptionsOnRename

ProcessSubscriptions line 90, local

  1. 99callsGetSubscriptions
  2. 103callsProcessSubscription
  3. 109callsScheduleJob

ProcessSubscription line 113, local

  1. 117callsGetEntity
  2. 119callsDateTimeToString
  3. 123callsCheckTableFilters
  4. 124callsRegisterNotification

ProcessSubscriptionsOnRename line 129, local

  1. 138callsGetSubscriptions
  2. 142callsProcessSubscriptionOnRename
  3. 148callsScheduleJob

ProcessSubscriptionOnRename line 152, local

  1. 159callsGetEntity
  2. 161callsDateTimeToString
  3. 170callsCheckTableFilters
  4. 172callsRegisterNotification
  5. 175callsCheckTableFilters
  6. 177callsRegisterNotification
  7. 178callsCheckTableFilters
  8. 180callsRegisterNotification

GetSubscriptions line 184, local

  1. 188callsIsApiSubscriptionEnabled
  2. 198callsCodeunit 7200 CDS Integration Mgt. IsBusinessEventsEnabled

GetDatabaseTableTriggerSetup line 205

  1. 214callsCodeunit 5465 Graph Mgt - General Tools IsApiSubscriptionEnabled

GetEntity line 231

  1. 233callsIsDetailedLoggingEnabled
  2. 234callsDateTimeToString
  3. 237callsDateTimeToString
  4. 247callsDateTimeToString
  5. 252callsDateTimeToString
  6. 257callsDateTimeToString

CheckTableFilters line 264, local

  1. 271callsCodeunit 4100 Temp Blob FromRecord
  2. 272callsCodeunit 4100 Temp Blob CreateInStream
  3. 278callsCopyPrimaryKeyFields
  4. 279callsCopyFilterFields
  5. 283callsDateTimeToString
  6. 288callsIsDetailedLoggingEnabled
  7. 289callsDateTimeToString

CopyPrimaryKeyFields line 294, local

  1. 303callsCopyFieldValue

CopyFilterFields line 307, local

  1. 337callsCopyFieldValue

DeleteSubscription line 356

  1. 368callsDateTimeToString
  2. 379callsForceDeleteAPIWebhookNotifications
  3. 385writesTable 2000000098 API Webhook Notification Aggr DeleteAll(true)
  4. 388writesTable 2000000095 API Webhook Subscription Delete

RegisterNotification line 391, local

  1. 400callsCopyPrimaryKeyFields

ForceDeleteAPIWebhookNotifications line 407

  1. 423raisesOnDeleteAPIWebhookNotifications

RegisterNotification line 434, local

  1. 450callsDateTimeToString
  2. 451callsDateTimeToString
  3. 464callsCodeunit 6154 API Webhook Notification Send GetMaxNumberOfLoggedNotifications
  4. 469callsTryGetEntityKeyValue
  5. 479writesTable 2000000096 API Webhook Notification Insert(true)
  6. 481callsIsDetailedLoggingEnabled
  7. 483callsDateTimeToString
  8. 483callsDateTimeToString
  9. 490callsDateTimeToString
  10. 491callsDateTimeToString

TryGetEntityKeyField line 496

  1. 501callsDateTimeToString
  2. 507callsDateTimeToString

TryGetEntityKeyValue line 516, local

  1. 520callsTryGetEntityKeyField
  2. 524callsCodeunit 5465 Graph Mgt - General Tools GetIdWithoutBrackets
  3. 528callsGetRawFieldValue

GetRawFieldValue line 534, local

  1. 549callsCodeunit 5465 Graph Mgt - General Tools GetIdWithoutBrackets
  2. 564callsSetBoolFormat
  3. 569callsSetDateFormat
  4. 574callsSetTimeFormat
  5. 579callsSetDateTimeFormat
  6. 593callsSetDecimalFormat

SetDateTimeFormat line 614, local

  1. 617callsSetDateFormat
  2. 617callsSetTimeFormat
  3. 619callsSetDateFormat
  4. 619callsSetTimeFormat

ScheduleJob line 641

  1. 648callsGetDelayTime
  2. 650callsIsDetailedLoggingEnabled
  3. 651callsDateTimeToString
  4. 651callsDateTimeToString
  5. 651callsDateTimeToString
  6. 653callsCanScheduleJob
  7. 668callsDateTimeToString
  8. 675callsGetMaxNumberOfJobs
  9. 676callsDeleteHangingJob
  10. 677callsGetMaxNumberOfJobs
  11. 681callsCreateJob

CanScheduleJob line 684, internal

  1. 695callsTable 472 Job Queue Entry HasRequiredPermissions
  2. 697raisesOnCanCreateTask

DeleteHangingJob line 709, local

  1. 724callsIsHangingJob
  2. 725callsDateTimeToString
  3. 727writesTable 472 Job Queue Entry Delete

IsHangingJob line 734, local

  1. 747callsGetStuckReadyJobThreshold

CreateJob line 762, local

  1. 767callsGetDelayTime
  2. 769callsDateTimeToString
  3. 771callsSetJobParameters
  4. 772runsCodeunit 453 Job Queue - Enqueue

SetJobParameters line 775, local

  1. 777callsCreateApiWebhookJobCategoryIfMissing
  2. 786callsGetDelayTime

CreateApiWebhookJobCategoryIfMissing line 789, local

  1. 795validatesTable 471 Job Queue Category Code
  2. 796validatesTable 471 Job Queue Category Description
  3. 797writesTable 471 Job Queue Category Insert(true)

GetDelayTime line 801, local

  1. 807raisesOnGetDelayTime
  2. 811callsCodeunit 6723 Server Setting GetApiSubscriptionDelayTime

IsDetailedLoggingEnabled line 821

  1. 829raisesOnGetDetailedLoggingEnabled

HandleDeleteAPIWebhookNotification line 840, local

  1. 842writesTable 2000000096 API Webhook Notification DeleteAll

IsApiSubscriptionEnabled line 861, local

  1. 868callsCodeunit 5465 Graph Mgt - General Tools IsApiSubscriptionEnabled

HandleOnClearCompanyConfig line 893, local

  1. 895callsCleanupAPIWebhookSetup

CleanupAPIWebhookSetup line 898, local

  1. 904writesTable 2000000095 API Webhook Subscription DeleteAll
  2. 906writesTable 2000000096 API Webhook Notification DeleteAll
  3. 908writesTable 2000000098 API Webhook Notification Aggr DeleteAll