Source AL, 49 lines
src/Layers/W1/BaseApp/Sales/History/SalesShptPrinted.Codeunit.allines 10 to 25 of 49, Copyright (c) Microsoft Corporation. MIT
codeunit 314 "Sales Shpt.-Printed"{ Permissions = TableData "Sales Shipment Header" = rimd; TableNo = "Sales 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 49 lines
Events 2 in 29
| [IntegrationEvent] OnBeforeModify(var SalesShipmentHeader: Record "Sales Shipment Header") | 17-29 |
| [IntegrationEvent] OnBeforeOnRun(var SalesShipmentHeader: Record "Sales Shipment Header"; var SuppressCommit: Boolean) | 17-29 |
Public procedures 1 in 29