{"title":"Codeunit 1404 Purch. Cr. Memo. Hdr. - Edit, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1404-purch-cr-memo-hdr-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-05","object":{"type":"codeunit","id":1404,"name":"Purch. Cr. Memo. Hdr. - Edit","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1404-purch-cr-memo-hdr-edit/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1404-purch-cr-memo-hdr-edit/source/","path":"src/Layers/W1/BaseApp/Purchases/History/PurchCrMemoHdrEdit.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:124":{"name":"Purch. Cr. Memo Hdr.","url":"https://jonas-paprotka.de/ref/table/124-purch-cr-memo-hdr/"},"codeunit:113":{"name":"Vend. Entry-Edit","url":"https://jonas-paprotka.de/ref/codeunit/113-vend-entry-edit/"}},"procs":[{"name":"OnRun","line":14,"kind":"trigger","steps":[[22,"event","OnBeforePurchCrMemoHdrModify",0],[24,"write",124,"Modify"],[27,"call","UpdateVendorLedgerEntry",1],[29,"event","OnRunOnAfterPurchCrMemoHdrEdit",0]]},{"name":"UpdateVendorLedgerEntry","line":32,"kind":"procedure","access":"local","params":1,"steps":[[36,"call","GetVendorLedgerEntry",2],[39,"event","OnBeforeUpdateVendorLedgerEntryAfterSetValues",0],[40,"run","codeunit",113]]}]}