Codeunit 5903 Service Shpt.-Printed

Base Application, Microsoft.Service.History

src/Layers/W1/BaseApp/Service/History/ServiceShptPrinted.Codeunit.al38 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.Service.History;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;    var        SuppressCommit: Boolean;    [IntegrationEvent(false, false)]    local procedure OnBeforeRun(var ServiceShipmentHeader: Record "Service Shipment Header"; var SuppressCommit: Boolean)    begin    end;    [IntegrationEvent(false, false)]    local procedure OnBeforeModify(var ServiceShipmentHeader: Record "Service Shipment Header")    begin    end;}