{"title":"Codeunit 6234 E-Doc. Purchase Draft Utility, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6234-e-doc-purchase-draft-utility/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":6234,"name":"E-Doc. Purchase Draft Utility","app":"E-Document Core","url":"https://jonas-paprotka.de/ref/codeunit/6234-e-doc-purchase-draft-utility/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6234-e-doc-purchase-draft-utility/source/","path":"src/Apps/W1/EDocument/App/src/Processing/Import/StructureReceivedEDocument/EDocPurchaseDraftUtility.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:6100":{"name":"E-Document Purchase Header","url":"https://jonas-paprotka.de/ref/table/6100-e-document-purchase-header/"},"table:6101":{"name":"E-Document Purchase Line","url":"https://jonas-paprotka.de/ref/table/6101-e-document-purchase-line/"}},"procs":[{"name":"PersistDraft","line":16,"kind":"procedure","params":3,"steps":[[23,"write",6100,"DeleteAll"],[25,"write",6101,"DeleteAll",1],[29,"write",6100,"Insert"],[30,"event","OnInsertedEDocumentPurchaseHeader",0],[36,"ext","table",6101,"GetNextLineNo",1],[37,"write",6101,"Insert"],[40,"event","OnInsertedEDocumentPurchaseLines",0]]}]}