Codeunit 5903 Service Shpt.-Printed

Base Application, Microsoft.Service.History

Source AL, 38 lines

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

codeunit 5903 "Service Shpt.-Printed"{    Permissions = TableData "Service Shipment Header" = rimd;    TableNo = "Service Shipment Header";    trigger OnRun()    begin        OnBeforeRun(Rec, SuppressCommit);        Rec.Find();        Rec."No. Printed" := Rec."No. Printed" + 1;        OnBeforeModify(Rec);        Rec.Modify();        if not SuppressCommit then            Commit();    end;

All 38 lines

Events 2 in 29

[IntegrationEvent] OnBeforeModify(var ServiceShipmentHeader: Record "Service Shipment Header")17-29
[IntegrationEvent] OnBeforeRun(var ServiceShipmentHeader: Record "Service Shipment Header"; var SuppressCommit: Boolean)new in 23

Changes 1 in 23

List17181920212223242526272829
Events1
[IntegrationEvent] OnBeforeRun(var ServiceShipmentHeader: Record "Service Shipment Header"; var SuppressCommit: Boolean)new in 23
added

All 1 changes in 17-29