Codeunit 1405 Purch. Inv. Header - Edit

Base Application, Microsoft.Purchases.History

Source AL, 78 lines

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

codeunit 1405 "Purch. Inv. Header - Edit"{    Permissions = TableData "Purch. Inv. Header" = rm;    TableNo = "Purch. Inv. Header";    trigger OnRun()    var        PurchInvHeader: Record "Purch. Inv. Header";    begin        PurchInvHeader.Copy(Rec);        PurchInvHeader.ReadIsolation(IsolationLevel::UpdLock);        PurchInvHeader.Find();        PurchInvHeader."Payment Reference" := Rec."Payment Reference";        PurchInvHeader."Payment Method Code" := Rec."Payment Method Code";        PurchInvHeader."Creditor No." := Rec."Creditor No.";        PurchInvHeader."Ship-to Code" := Rec."Ship-to Code";

All 78 lines

Events 3 in 29

[IntegrationEvent] OnBeforePurchInvHeaderModify(var PurchInvHeader: Record "Purch. Inv. Header"; PurchInvHeaderRec: Record "Purch. Inv. Header")17-29
[IntegrationEvent] OnBeforeUpdateVendorLedgerEntryAfterSetValues(var VendorLedgerEntry: Record "Vendor Ledger Entry"; PurchInvHeader: Record "Purch. Inv. Header")new in 23
[IntegrationEvent] OnRunOnAfterPurchInvHeaderEdit(var PurchInvHeader: Record "Purch. Inv. Header")new in 23

Changes 2 in 23

List17181920212223242526272829
Events2
[IntegrationEvent] OnBeforeUpdateVendorLedgerEntryAfterSetValues(var VendorLedgerEntry: Record "Vendor Ledger Entry"; PurchInvHeader: Record "Purch. Inv. Header")new in 23
added
[IntegrationEvent] OnRunOnAfterPurchInvHeaderEdit(var PurchInvHeader: Record "Purch. Inv. Header")new in 23
added

All 2 changes in 17-29