Codeunit 1404 Purch. Cr. Memo. Hdr. - Edit

Base Application, Microsoft.Purchases.History

Source AL, 66 lines

src/Layers/W1/BaseApp/Purchases/History/PurchCrMemoHdrEdit.Codeunit.allines 9 to 24 of 66, Copyright (c) Microsoft Corporation. MIT

codeunit 1404 "Purch. Cr. Memo. Hdr. - Edit"{    Permissions = TableData "Purch. Cr. Memo Hdr." = rm;    TableNo = "Purch. Cr. Memo Hdr.";    trigger OnRun()    var        PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.";    begin        PurchCrMemoHdr.Copy(Rec);        PurchCrMemoHdr.ReadIsolation(IsolationLevel::UpdLock);        PurchCrMemoHdr.Find();        PurchCrMemoHdr."Posting Description" := Rec."Posting Description";        OnBeforePurchCrMemoHdrModify(PurchCrMemoHdr, Rec);        PurchCrMemoHdr.TestField("No.", Rec."No.");        PurchCrMemoHdr.Modify();

All 66 lines

Events 3 in 29

[IntegrationEvent] OnBeforePurchCrMemoHdrModify(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; PurchCrMemoHdrRec: Record "Purch. Cr. Memo Hdr.")new in 23
[IntegrationEvent] OnBeforeUpdateVendorLedgerEntryAfterSetValues(var VendorLedgerEntry: Record "Vendor Ledger Entry"; PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.")new in 23
[IntegrationEvent] OnRunOnAfterPurchCrMemoHdrEdit(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.")new in 23