Please add new event in codeunit 1330.

[IntegrationEvent(true, false)]
local procedure OnAfterInsertDefaultUnpostedDoucumentNotification(var MyNotifications: Record "My Notifications")
begin
end;
procedure InsertDefaultUnpostedDoucumentNotification()
var
    MyNotifications: Record "My Notifications";
begin
    MyNotifications.InsertDefaultWithTableNumAndFilter(GetClosingUnpostedDocumentNotificationId,
        WarnUnpostedDocumentsTxt,
        WarnUnpostedDocumentsDescriptionTxt,
        DATABASE::"Sales Header",
        GetDocumentTypeInvoiceFilter);
    OnAfterInsertDefaultUnpostedDoucumentNotification(MyNotifications);
end;
0

solved with OnBeforeInsertDefaultUnpostedDoucumentNotification: https://github.com/microsoft/ALAppExtensions/issues/19975

Therefore this one not needed.

0
© 2022 pullanswer.com - All rights reserved.