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
Changes 2 in 23
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | 1 | | | | | | |
|---|
| Events | | | | | | | 1 | | | | | | |
|---|
| 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