{"title":"Codeunit 113 Vend. Entry-Edit, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-31","object":{"type":"codeunit","id":113,"name":"Vend. Entry-Edit","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/source/","path":"src/Layers/W1/BaseApp/Purchases/Payables/VendEntryEdit.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:380":{"name":"Detailed Vendor Ledg. Entry","url":"https://jonas-paprotka.de/ref/table/380-detailed-vendor-ledg-entry/"},"table:25":{"name":"Vendor Ledger Entry","url":"https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/"},"table:122":{"name":"Purch. Inv. Header","url":"https://jonas-paprotka.de/ref/table/122-purch-inv-header/"}},"procs":[{"name":"OnRun","line":20,"kind":"trigger","steps":[[28,"event","OnBeforeOnRun",1],[33,"call","GetPurchInvHeader",2],[40,"call","LogFieldChanged",2],[48,"event","OnRunOnBeforeDtldVendLedgEntryModifyAll",0],[49,"write",380,"ModifyAll"],[52,"validate",25,"Payment Method Code"],[53,"validate",25,"Payment Reference"],[54,"validate",25,"Remaining Pmt. Disc. Possible"],[56,"validate",25,"Max. Payment Tolerance"],[57,"validate",25,"Accepted Payment Tolerance"],[58,"validate",25,"Accepted Pmt. Disc. Tolerance"],[59,"validate",25,"Amount to Apply"],[60,"validate",25,"Applying Entry"],[61,"validate",25,"Applies-to Ext. Doc. No."],[62,"validate",25,"Message to Recipient"],[63,"validate",25,"Recipient Bank Account"],[64,"validate",25,"Remit-to Code"],[67,"validate",25,"Exported to Payment File"],[68,"validate",25,"Creditor No."],[69,"validate",25,"Dispute Status"],[70,"event","OnBeforeVendLedgEntryModify",0],[72,"write",25,"Modify"],[73,"event","OnRunOnAfterVendLedgEntryModify",0],[75,"event","OnRunOnAfterVendLedgEntryMofidy",0],[78,"call","UpdatePurchInvHeader",2]]},{"name":"UpdatePurchInvHeader","line":99,"kind":"procedure","access":"local","params":2,"steps":[[104,"event","OnBeforeUpdatePurchaseInvoiceHeader",1],[113,"write",122,"Modify",1]]},{"name":"SetOnHold","line":120,"kind":"procedure","params":2,"steps":[[130,"write",25,"Modify"]]},{"name":"LogFieldChanged","line":133,"kind":"procedure","access":"local","params":2,"steps":[[144,"event","OnAfterLogFieldChanged",0]]}]}