Codeunit 1510 Notification Management

Base Application, System.Environment.Configuration

Source AL, 303 lines

src/Layers/W1/BaseApp/System/Notifications/NotificationManagement.Codeunit.allines 17 to 32 of 303, Copyright (c) Microsoft Corporation. MIT

codeunit 1510 "Notification Management"{    Permissions = TableData "Overdue Approval Entry" = ri,                  TableData "Notification Entry" = rimd,                  TableData "Sent Notification Entry" = rim;    trigger OnRun()    begin    end;    var        OverdueEntriesMsg: Label 'Overdue approval entries have been created.';        SalesInvoiceTxt: Label 'Sales Invoice';        PurchaseInvoiceTxt: Label 'Purchase Invoice';        SalesCreditMemoTxt: Label 'Sales Credit Memo';        PurchaseCreditMemoTxt: Label 'Purchase Credit Memo';

All 303 lines

Events 5 in 29

[IntegrationEvent] OnBeforeGetActionTextFor(var NotificationEntry: Record "Notification Entry"; var CustomText: Text; var IsHandled: Boolean)17-29
[IntegrationEvent] OnGetDocumentTypeAndNumber(var RecRef: RecordRef; var DocumentType: Text; var DocumentNo: Text; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeInsertOverdueEntry(ApprovalEntry: Record "Approval Entry"; var OverdueApprovalEntry: Record "Overdue Approval Entry")new in 18
[IntegrationEvent] OnCreateOverdueNotificationsOnBeforeCreateNotificationEntry(UserSetup: Record "User Setup"; ApprovalEntry: Record "Approval Entry"; var OverdueApprovalEntry: Record "Overdue Approval Entry"; WorkflowStepArgument: Record "Workflow Step Argument"; var IsHandled: Boolean)new in 27
[IntegrationEvent] OnBeforeInsertNotificationSetup(var NotificationSetup: Record "Notification Setup"; NotificationType: Enum "Notification Entry Type")new in 28

All 6 events in 17-29

Public procedures 5 in 29

CreateOverdueNotifications(WorkflowStepArgument: Record "Workflow Step Argument")17-29
CreateDefaultNotificationTypeSetup(NotificationType: Enum "Notification Entry Type")17-29
MoveNotificationEntryToSentNotificationEntries(var NotificationEntry: Record "Notification Entry"; NotificationBody: Text; AggregatedNotifications: Boolean; NotificationMethod: Option)17-29
GetDocumentTypeAndNumber(var RecRef: RecordRef; var DocumentType: Text; var DocumentNo: Text)17-29
GetActionTextFor(var NotificationEntry: Record "Notification Entry"): Text17-29

All 6 procedures in 17-29

Changes 1 in 28

List17181920212223242526272829
Procedures1
Events1121
[IntegrationEvent] OnBeforeInsertNotificationSetup(var NotificationSetup: Record "Notification Setup"; NotificationType: Enum "Notification Entry Type")new in 28
added

All 6 changes in 17-29