Codeunit 6651 Return Shipment - Printed

Base Application, Microsoft.Purchases.History

Source AL, 43 lines

src/Layers/W1/BaseApp/Purchases/History/ReturnShipmentPrinted.Codeunit.allines 7 to 22 of 43, Copyright (c) Microsoft Corporation. MIT

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

All 43 lines

Events 2 in 29

[IntegrationEvent] OnBeforeModify(var ReturnShipmentHeader: Record "Return Shipment Header")17-29
[IntegrationEvent] OnBeforeOnRun(var ReturnShipmentHeader: Record "Return Shipment Header"; var SuppressCommit: Boolean)new in 23

Public procedures 1 in 29

SetSuppressCommit(NewSuppressCommit: Boolean)new in 23

Changes 2 in 23

List17181920212223242526272829
Procedures1
Events1
SetSuppressCommit(NewSuppressCommit: Boolean)new in 23
added
[IntegrationEvent] OnBeforeOnRun(var ReturnShipmentHeader: Record "Return Shipment Header"; var SuppressCommit: Boolean)new in 23
added

All 2 changes in 17-29