Codeunit 1509 "Notification Entry Dispatcher"
Base Application · System.Environment.Configuration
Across versions
- BC23-26present
- BC271 procedures added, 1 procedures removed
- BC28-30unchanged
Neighbourhood 10 connected objects and pages
Base Application · System.Environment.Configuration · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Job Queue Entry |
| Permissions | TableData “User Setup” = r, TableData “Notification Entry” = rimd, TableData “Sent Notification Entry” = rimd, TableData “Email Item” = rimd |
Events published
OnAfterCreateMailAndDispatch(var NotificationEntry: Record "Notification Entry"; Email: Text; IsEmailedSuccessfully: Boolean)(integration)OnAfterDispatchForNotificationType(NotificationSetup: Record "Notification Setup"; var NotificationEntry: Record "Notification Entry")(integration)OnAddNoteOnAfterGetUrl(var Link: Text; NotificationEntry: Record "Notification Entry"; RecRefLink: RecordRef)(integration)OnBeforeCreateMailAndDispatch(var NotificationEntry: Record "Notification Entry"; var MailSubject: Text; var Email: Text; var IsHandled: Boolean)(integration)OnBeforeCreateAndDispatch(NotificationSetup: Record "Notification Setup"; var NotificationEntry: Record "Notification Entry")(integration)OnBeforeGetTargetRecRef(var NotificationEntry: Record "Notification Entry"; var TargetRecRefOut: RecordRef; var IsHandled: Boolean)(integration)OnBeforeGetHTMLBodyText(var NotificationEntry: Record "Notification Entry"; var BodyTextOut: Text; var Result: Boolean; var IsHandled: Boolean)(integration)OnCreateNoteBodyOnAfterGetActionTextFor(var NotificationEntry: Record "Notification Entry"; var ActionText: Text)(integration)OnBeforeDispatchNotificationTypeForUser(Parameter: Text; var IsHandled: Boolean)(integration)OnBeforeGetTempNotificationEntryFromTo(var NotificationEntry: Record "Notification Entry"; var TempNotificationEntryFromTo: Record "Notification Entry" temporary; var IsHandled: Boolean)(integration)OnGetHTMLBodyTextOnAfterSetTempLayoutCode(var NotificationEntry: Record "Notification Entry"; var BodyTextOut: Text; var TempLayoutCode: Code[20])(integration)OnBeforeApprovalNotificationEntryIsOutdated(var NotificationEntry: Record "Notification Entry"; var IsOutdated: Boolean; var IsHandled: Boolean)(integration)OnCreateMailAndDispatchOnBeforeLogError(var NotificationEntry: Record "Notification Entry"; Email: Text; BodyText: Text; var IsHandled: Boolean)(integration)OnBeforeDispatchForNotificationType(NotificationType: Enum "Notification Entry Type"; UserSetup: Record "User Setup"; SenderUserID: Code[50]; var IsHandled: Boolean)(integration)
Procedures
GetHTMLBodyText(var NotificationEntry: Record "Notification Entry"; var BodyTextOut: Text): BooleanGetTargetRecRef(var NotificationEntry: Record "Notification Entry"; var TargetRecRefOut: RecordRef)
Plus 15 local procedures.
Triggers
OnRun
Relations
- runs on Table 472 “Job Queue Entry”
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 28 “Error Message Management” (6 calls:
AddNote → LogError,CreateMailAndDispatch → LogError,DispatchInstantNotifications → Activate, …) - Codeunit 1510 “Notification Management” (4 calls:
CreateMailAndDispatch → MoveNotificationEntryToSentNotificationEntries,CreateNoteAndDispatch → MoveNotificationEntryToSentNotificationEntries,CreateNoteBody → GetActionTextFor, …) - Codeunit 4100 “Temp Blob” (3 calls:
ConvertHtmlFileToText → CreateInStream,CreateMailAndDispatch → CreateInStream,GetHTMLBodyText → CreateOutStream) - Codeunit 701 “Data Type Management” (2 calls:
ApprovalNotificationEntryIsOutdated → GetRecordRef,GetTargetRecRef → GetRecordRef) - Codeunit 260 “Document-Mailing” (1 call:
CreateMailAndDispatch → EmailFile) - Codeunit 447 “Record Link Management” (1 call:
AddNote → WriteNote) - Codeunit 700 “Page Management” (1 call:
AddNote → GetPageID) - Codeunit 9520 “Mail Management” (1 call:
CreateMailAndDispatch → IsEnabled)
Called by
- Table 1513 “Notification Schedule” (1 call:
SendNotificationInForeground → (object))
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Notification Entry Dispatcher"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.