Source AL, 42 lines
src/Layers/W1/BaseApp/Purchases/History/PurchCrMemoPrinted.Codeunit.allines 7 to 22 of 42, Copyright (c) Microsoft Corporation. MIT
codeunit 320 "PurchCrMemo-Printed"{ Permissions = TableData "Purch. Cr. Memo Hdr." = rimd; TableNo = "Purch. Cr. Memo Hdr."; 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 42 lines
Events 2 in 29
| [IntegrationEvent] OnBeforeModify(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.") | 17-29 |
| [IntegrationEvent] OnBeforeOnRun(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; var SuppressCommit: Boolean) | 17-29 |
Public procedures 1 in 29