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
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Events | | | | | | | 1 | | | | | | |
|---|
| [IntegrationEvent] OnBeforeRun(var ServiceShipmentHeader: Record "Service Shipment Header"; var SuppressCommit: Boolean) | new in 23 |
| added |
All 1 changes in 17-29