Codeunit 5902 Service Inv.-Printed

Base Application, Microsoft.Service.History

Source AL, 36 lines

src/Layers/W1/BaseApp/Service/History/ServiceInvPrinted.Codeunit.allines 7 to 22 of 36, Copyright (c) Microsoft Corporation. MIT

codeunit 5902 "Service Inv.-Printed"{    Permissions = TableData "Service Invoice Header" = rimd;    TableNo = "Service Invoice Header";    trigger OnRun()    var        SuppressCommit: Boolean;    begin        OnBeforeOnRun(Rec, SuppressCommit);        Rec.Find();        Rec."No. Printed" := Rec."No. Printed" + 1;        OnBeforeModify(Rec);        Rec.Modify();        if not SuppressCommit then            Commit();

All 36 lines

Events 2 in 29

[IntegrationEvent] OnBeforeModify(var ServiceInvoiceHeader: Record "Service Invoice Header")17-29
[IntegrationEvent] OnBeforeOnRun(var ServiceInvoiceHeader: Record "Service Invoice Header"; var SuppressCommit: Boolean)17-29