{"title":"Codeunit 1511 Notification Lifecycle Mgt., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1511-notification-lifecycle-mgt/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":1511,"name":"Notification Lifecycle Mgt.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1511-notification-lifecycle-mgt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1511-notification-lifecycle-mgt/source/","path":"src/Layers/W1/BaseApp/Modules/System/Notifications/NotificationLifecycleMgt.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:1519":{"name":"Notification Context","url":"https://jonas-paprotka.de/ref/table/1519-notification-context/"}},"procs":[{"name":"SendNotification","line":17,"kind":"procedure","params":2,"steps":[[23,"event","OnAfterNotificationSent",0],[24,"call","CreateNotificationContext",2]]},{"name":"SendNotificationWithAdditionalContext","line":27,"kind":"procedure","params":3,"steps":[[32,"event","OnBeforeSendNotification",0],[34,"event","OnAfterNotificationSent",0],[35,"call","CreateNotificationContextWithAdditionalContext",3]]},{"name":"RecallNotificationsForRecord","line":38,"kind":"procedure","params":2,"steps":[[42,"call","GetNotificationsForRecord",3],[43,"call","RecallNotifications",1]]},{"name":"RecallNotificationsForRecordWithAdditionalContext","line":46,"kind":"procedure","params":3,"steps":[[50,"call","GetNotificationsForRecordWithAdditionalContext",4],[51,"call","RecallNotifications",1]]},{"name":"RecallAllNotifications","line":54,"kind":"procedure","params":0,"steps":[[58,"call","RecallNotifications",1]]},{"name":"SetRecordID","line":67,"kind":"procedure","params":1,"steps":[[72,"call","UpdateRecordIDHandleDelayedInsert",3]]},{"name":"UpdateRecordIDHandleDelayedInsert","line":84,"kind":"procedure","access":"local","params":3,"steps":[[90,"call","TryFctThrowsErrorIfRecordExists",2],[97,"call","GetNotificationsForRecord",3],[100,"write",1519,"Modify",1]]},{"name":"UpdateRecordID","line":104,"kind":"procedure","params":2,"steps":[[106,"call","UpdateRecordIDHandleDelayedInsert",3]]},{"name":"GetNotificationsForRecord","line":109,"kind":"procedure","params":3,"steps":[[112,"call","GetUsableRecordId",2]]},{"name":"GetNotificationsForRecordWithAdditionalContext","line":118,"kind":"procedure","params":4,"steps":[[121,"call","GetUsableRecordId",2]]},{"name":"CreateNotificationContext","line":128,"kind":"procedure","access":"local","params":2,"steps":[[130,"call","DeleteAlreadyRegisteredNotificationBeforeInsert",1],[133,"call","GetUsableRecordId",2],[135,"write",1519,"Insert",1],[137,"event","OnAfterInsertNotificationContext",0]]},{"name":"CreateNotificationContextWithAdditionalContext","line":140,"kind":"procedure","access":"local","params":3,"steps":[[142,"call","DeleteAlreadyRegisteredNotificationBeforeInsert",1],[145,"call","GetUsableRecordId",2],[148,"write",1519,"Insert",1],[150,"event","OnAfterInsertNotificationContext",0]]},{"name":"DeleteAlreadyRegisteredNotificationBeforeInsert","line":153,"kind":"procedure","access":"local","params":1,"steps":[[158,"write",1519,"Delete",1],[159,"event","OnAfterDeleteNotificationContext",0]]},{"name":"RecallNotifications","line":163,"kind":"procedure","access":"local","params":1,"steps":[[172,"write",1519,"Delete",1],[173,"event","OnAfterDeleteNotificationContext",0]]}]}