Codeunit 1511 Notification Lifecycle Mgt.

Base Application, System.Environment.Configuration

src/Layers/W1/BaseApp/Modules/System/Notifications/NotificationLifecycleMgt.Codeunit.al14 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

SendNotification line 17

  1. 23raisesOnAfterNotificationSent
  2. 24callsCreateNotificationContext

SendNotificationWithAdditionalContext line 27

  1. 32raisesOnBeforeSendNotification
  2. 34raisesOnAfterNotificationSent
  3. 35callsCreateNotificationContextWithAdditionalContext

RecallNotificationsForRecord line 38

  1. 42callsGetNotificationsForRecord
  2. 43callsRecallNotifications

RecallNotificationsForRecordWithAdditionalContext line 46

  1. 50callsGetNotificationsForRecordWithAdditionalContext
  2. 51callsRecallNotifications

RecallAllNotifications line 54

  1. 58callsRecallNotifications

SetRecordID line 67

  1. 72callsUpdateRecordIDHandleDelayedInsert

UpdateRecordIDHandleDelayedInsert line 84, local

  1. 90callsTryFctThrowsErrorIfRecordExists
  2. 97callsGetNotificationsForRecord
  3. 100writesTable 1519 Notification Context Modify(true)

UpdateRecordID line 104

  1. 106callsUpdateRecordIDHandleDelayedInsert

GetNotificationsForRecord line 109

  1. 112callsGetUsableRecordId

GetNotificationsForRecordWithAdditionalContext line 118

  1. 121callsGetUsableRecordId

CreateNotificationContext line 128, local

  1. 130callsDeleteAlreadyRegisteredNotificationBeforeInsert
  2. 133callsGetUsableRecordId
  3. 135writesTable 1519 Notification Context Insert(true)
  4. 137raisesOnAfterInsertNotificationContext

CreateNotificationContextWithAdditionalContext line 140, local

  1. 142callsDeleteAlreadyRegisteredNotificationBeforeInsert
  2. 145callsGetUsableRecordId
  3. 148writesTable 1519 Notification Context Insert(true)
  4. 150raisesOnAfterInsertNotificationContext

DeleteAlreadyRegisteredNotificationBeforeInsert line 153, local

  1. 158writesTable 1519 Notification Context Delete(true)
  2. 159raisesOnAfterDeleteNotificationContext

RecallNotifications line 163, local

  1. 172writesTable 1519 Notification Context Delete(true)
  2. 173raisesOnAfterDeleteNotificationContext