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