{"title":"Codeunit 6123 E-Document Notification, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6123-e-document-notification/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":6123,"name":"E-Document Notification","app":"E-Document Core","url":"https://jonas-paprotka.de/ref/codeunit/6123-e-document-notification/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6123-e-document-notification/source/","path":"src/Apps/W1/EDocument/App/src/Document/Notification/EDocumentNotification.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:1518":{"name":"My Notifications","url":"https://jonas-paprotka.de/ref/table/1518-my-notifications/"},"codeunit:6436":{"name":"E-Doc. Draft Notif. State","url":"https://jonas-paprotka.de/ref/codeunit/6436-e-doc-draft-notif-state/"}},"procs":[{"name":"AddVendorMatchedByNameNotAddressNotification","line":24,"kind":"procedure","params":1,"steps":[[30,"ext","table",1518,"IsEnabled",1],[30,"ext","codeunit",6436,"VendorMatchedByNameNotAddressNotificationId",0],[32,"ext","codeunit",6436,"AddVendorMatchedByNameNotAddress",1]]},{"name":"AddSubTotalMismatchNotification","line":40,"kind":"procedure","params":1,"steps":[[42,"call","IsSubTotalMismatchNotificationEnabled",0],[44,"ext","codeunit",6436,"AddSubTotalMismatch",1]]},{"name":"RemoveSubTotalMismatchNotification","line":51,"kind":"procedure","params":1,"steps":[[53,"ext","codeunit",6436,"RemoveSubTotalMismatch",1]]},{"name":"RefreshSubTotalMismatch","line":60,"kind":"procedure","params":1,"steps":[[62,"call","IsSubTotalMismatchNotificationEnabled",0],[64,"ext","codeunit",6436,"RefreshSubTotalMismatch",1]]},{"name":"RefreshAndShowPendingDraftNotifications","line":71,"kind":"procedure","params":1,"steps":[[76,"call","RefreshSubTotalMismatch",1],[77,"call","SendPurchaseDocumentDraftNotifications",1]]},{"name":"SendPurchaseDocumentDraftNotifications","line":84,"kind":"procedure","params":1,"steps":[[90,"ext","codeunit",6436,"FindPendingDraftNotifications",2],[94,"call","SendNotification",1]]},{"name":"RefreshAndShowSubTotalMismatchAfterHeaderEdit","line":102,"kind":"procedure","params":1,"steps":[[104,"call","IsSubTotalMismatchNotificationEnabled",0],[106,"ext","codeunit",6436,"RefreshSubTotalMismatchAfterHeaderEdit",1],[108,"call","ShowSubTotalMismatchNotification",1]]},{"name":"RefreshAndShowSubTotalMismatchAfterLineEdit","line":115,"kind":"procedure","params":1,"steps":[[117,"call","IsSubTotalMismatchNotificationEnabled",0],[119,"ext","codeunit",6436,"RefreshSubTotalMismatchAfterLineEdit",1],[121,"call","ShowSubTotalMismatchNotification",1]]},{"name":"RefreshAndShowSubTotalMismatchAfterLineDeletion","line":128,"kind":"procedure","params":1,"steps":[[130,"call","IsSubTotalMismatchNotificationEnabled",0],[132,"ext","codeunit",6436,"RefreshSubTotalMismatchAfterLineDeletion",1],[134,"call","ShowSubTotalMismatchNotification",1]]},{"name":"ShowSubTotalMismatchNotification","line":141,"kind":"procedure","params":1,"steps":[[147,"ext","codeunit",6436,"GetNotification",3],[147,"ext","codeunit",6436,"SubTotalMismatchNotificationId",0],[151,"call","SendNotification",1]]},{"name":"IsSubTotalMismatchNotificationEnabled","line":157,"kind":"procedure","params":0,"steps":[[161,"ext","table",1518,"IsEnabled",1],[161,"ext","codeunit",6436,"SubTotalMismatchNotificationId",0]]},{"name":"IsSubTotalMismatchDismissed","line":168,"kind":"procedure","params":1,"steps":[[170,"ext","codeunit",6436,"IsSubTotalMismatchDismissed",1]]},{"name":"DismissVendorMatchedByNameNotAddressNotification","line":178,"kind":"procedure","params":1,"steps":[[183,"call","TryGetNotificationKeys",3],[185,"ext","codeunit",6436,"MarkDismissed",2]]},{"name":"DisableVendorMatchedByNameNotAddressNotification","line":192,"kind":"procedure","params":1,"steps":[[199,"ext","table",1518,"Disable",1],[199,"ext","codeunit",6436,"VendorMatchedByNameNotAddressNotificationId",0],[200,"ext","table",1518,"InsertDefault",4],[200,"ext","codeunit",6436,"VendorMatchedByNameNotAddressNotificationId",0],[201,"ext","codeunit",6436,"DeleteAllOfType",1]]},{"name":"DismissSubTotalMismatchNotification","line":210,"kind":"procedure","params":1,"steps":[[215,"call","TryGetNotificationKeys",3],[217,"ext","codeunit",6436,"MarkDismissed",2]]},{"name":"DisableSubTotalMismatchNotification","line":224,"kind":"procedure","params":1,"steps":[[231,"ext","table",1518,"Disable",1],[231,"ext","codeunit",6436,"SubTotalMismatchNotificationId",0],[232,"ext","table",1518,"InsertDefault",4],[232,"ext","codeunit",6436,"SubTotalMismatchNotificationId",0],[233,"ext","codeunit",6436,"DeleteAllOfType",1]]},{"name":"SendNotification","line":245,"kind":"procedure","access":"local","params":1,"steps":[[250,"ext","table",1518,"IsEnabled",1],[256,"call","AddActionsToNotification",2]]}]}