Codeunit 6460 Serv. Notification Mgt.
Source AL, 125 lines
src/Layers/W1/BaseApp/Service/Foundation/ServNotificationMgt.Codeunit.allines 13 to 28 of 125, Copyright (c) Microsoft Corporation. MIT
codeunit 6460 "Serv. Notification Mgt."{ var NotificationLifecycleMgt: Codeunit "Notification Lifecycle Mgt."; ServiceInvoiceTxt: Label 'Service Invoice'; ServiceCreditMemoTxt: Label 'Service Credit Memo'; [EventSubscriber(ObjectType::Codeunit, Codeunit::"Notification Management", 'OnGetDocumentTypeAndNumber', '', true, false)] local procedure OnGetDocumentTypeAndNumber(var RecRef: RecordRef; var DocumentType: Text; var DocumentNo: Text) var ServiceHeader: Record "Service Header"; FieldRef: FieldRef; begin case RecRef.Number of DATABASE::"Service Header": begin