Codeunit 6436 "E-Doc. Draft Notif. State"
EDocument · Microsoft.eServices.EDocument
Across versions
- BC23-28not present
- BC29-30present
EDocument · Microsoft.eServices.EDocument · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
RefreshSubTotalMismatch(EDocumentPurchaseHeader: Record "E-Document Purchase Header"): Boolean: Re-evaluates the Sub Total mismatch from the persisted lines and updates the persisted notification. A previously dismissed notification stays dismissed.RefreshSubTotalMismatchAfterHeaderEdit(EDocumentPurchaseHeader: Record "E-Document Purchase Header"): Boolean: Re-evaluates the Sub Total mismatch after the user changed an amount on the header, re-arming a previously dismissed notification.RefreshSubTotalMismatchAfterLineEdit(EDocumentPurchaseLine: Record "E-Document Purchase Line"): Boolean: Re-evaluates the Sub Total mismatch after the user changed an amount on a draft line, re-arming a previously dismissed notification. The supplied line is used instead of its persisted version, because page field validation runs before the record is written.RefreshSubTotalMismatchAfterLineDeletion(EDocumentPurchaseLine: Record "E-Document Purchase Line"): Boolean: Re-evaluates the Sub Total mismatch while a draft line is being deleted, re-arming a previously dismissed notification. The line is still persisted when this runs, so it is excluded explicitly.AddVendorMatchedByNameNotAddress(EDocumentEntryNo: Integer): Persists the Vendor Matched By Name Not Address notification for the current user. Gating on My Notifications is the caller’s responsibility.AddSubTotalMismatch(EDocumentEntryNo: Integer): Persists the Sub Total Mismatch notification for the current user. Gating on My Notifications is the caller’s responsibility.RemoveSubTotalMismatch(EDocumentEntryNo: Integer): Removes the persisted Sub Total Mismatch notification for the current user, e.g. when the totals re-converge.ReArmSubTotalMismatch(EDocumentEntryNo: Integer): Removes a previously dismissed Sub Total Mismatch row so the mismatch can be shown again after an amount edit.MarkDismissed(EDocumentEntryNo: Integer; NotificationId: Guid): Marks a persisted notification as dismissed, keeping the row so it is not re-shown to this user.DeleteAllOfType(NotificationType: Enum "E-Document Notification Type"): Deletes every persisted notification of a type for the current user.GetNotification(EDocumentEntryNo: Integer; NotificationId: Guid; var EDocumentNotification: Record "E-Document Notification"): Boolean: Reads one persisted notification for the current user.FindPendingDraftNotifications(EDocumentEntryNo: Integer; var EDocumentNotification: Record "E-Document Notification"): Boolean: Finds the Purchase Document Draft notifications that are pending display for the current user.SubTotalMismatchExists(EDocumentEntryNo: Integer): Boolean: Returns whether a Sub Total Mismatch row exists for the current user and e-document.IsSubTotalMismatchDismissed(EDocumentEntryNo: Integer): Boolean: Returns whether the current user has dismissed the Sub Total Mismatch notification for the e-document.VendorMatchedByNameNotAddressNotificationId(): GuidSubTotalMismatchNotificationId(): Guid
Plus 10 local procedures.
Recent changes
- 2026-08-14 #9711 Fix E-Document purchase draft header Sub Total overwrite; notify on mismatch (main, BC30, fix, added)
Ask your agent
Procedure bodies are not stored here (D10). 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: "E-Doc. Draft Notif. State"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.