Codeunit 6436 E-Doc. Draft Notif. State

E-Document Core, Microsoft.eServices.EDocument

Source AL, 384 lines

src/Apps/W1/EDocument/App/src/Document/Notification/EDocDraftNotifState.Codeunit.allines 16 to 31 of 384, Copyright (c) Microsoft Corporation. MIT

codeunit 6436 "E-Doc. Draft Notif. State"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        VendorMatchedByNameNotAddressMsg: Label 'Vendor matched by name but not by address.';        SubTotalMismatchMsg: Label 'The document total does not match the sum of the lines. Review the amounts before finalizing the draft.';        SubTotalMismatchNoToleranceTxt: Label 'E-Document purchase draft header Sub Total differs from the sum of the lines.';        SubTotalMismatchNotificationCreatedTxt: Label 'E-Document purchase draft Sub Total mismatch notification state created.';    /// <summary>    /// Re-evaluates the Sub Total mismatch from the persisted lines and updates the persisted    /// notification. A previously dismissed notification stays dismissed.    /// </summary>

All 384 lines

Public procedures 16 in 29

RefreshSubTotalMismatch(EDocumentPurchaseHeader: Record "E-Document Purchase Header"): Booleannew in 29
RefreshSubTotalMismatchAfterHeaderEdit(EDocumentPurchaseHeader: Record "E-Document Purchase Header"): Booleannew in 29
RefreshSubTotalMismatchAfterLineEdit(EDocumentPurchaseLine: Record "E-Document Purchase Line"): Booleannew in 29
RefreshSubTotalMismatchAfterLineDeletion(EDocumentPurchaseLine: Record "E-Document Purchase Line"): Booleannew in 29
AddVendorMatchedByNameNotAddress(EDocumentEntryNo: Integer)new in 29
AddSubTotalMismatch(EDocumentEntryNo: Integer)new in 29

All 16 procedures