{"title":"Report 499 Delete Invoiced Purch. Orders, extension points 29","url":"https://jonas-paprotka.de/ref/report/499-delete-invoiced-purch-orders/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":"report","id":499,"name":"Delete Invoiced Purch. Orders","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/499-delete-invoiced-purch-orders/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/499-delete-invoiced-purch-orders/source/","path":"src/Layers/W1/BaseApp/Purchases/Document/DeleteInvoicedPurchOrders.Report.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":{"codeunit:5063":{"name":"ArchiveManagement","url":"https://jonas-paprotka.de/ref/codeunit/5063-archivemanagement/"},"table:5805":{"name":"Item Charge Assignment (Purch)","url":"https://jonas-paprotka.de/ref/table/5805-item-charge-assignment-purch/"},"table:39":{"name":"Purchase Line","url":"https://jonas-paprotka.de/ref/table/39-purchase-line/"},"codeunit:364":{"name":"PostPurch-Delete","url":"https://jonas-paprotka.de/ref/codeunit/364-postpurch-delete/"},"codeunit:99000834":{"name":"Purch. Line-Reserve","url":"https://jonas-paprotka.de/ref/codeunit/99000834-purch-line-reserve/"},"table:43":{"name":"Purch. Comment Line","url":"https://jonas-paprotka.de/ref/table/43-purch-comment-line/"},"table:5765":{"name":"Warehouse Request","url":"https://jonas-paprotka.de/ref/table/5765-warehouse-request/"},"codeunit:1535":{"name":"Approvals Mgmt.","url":"https://jonas-paprotka.de/ref/codeunit/1535-approvals-mgmt/"}},"procs":[{"name":"Purchase Header.OnAfterGetRecord","line":30,"kind":"trigger","steps":[[52,"event","OnBeforePurchaseHeaderOnAfterGetRecord",1],[66,"event","OnAfterGetRecordPurchaseHeaderOnBeforeCheckInvoicedPurchaseLineIsEmpty",0],[73,"event","OnAfterSetPurchLineFilters",0],[91,"call","IsPostedUnassignedItemChargeWithZeroAmount",1],[103,"event","OnBeforeAutoArchivePurchDocument",1],[105,"ext","codeunit",5063,"AutoArchivePurchDocument",1],[113,"write",5805,"DeleteAll"],[116,"event","OnPurchaseHeaderOnAfterGetRecordOnAfterCalcShouldDeleteLinks",0],[120,"event","OnBeforePurchLineDelete",0],[121,"write",39,"Delete"],[122,"event","OnAfterPurchLineDelete",0],[125,"ext","codeunit",364,"DeleteHeader",7],[129,"ext","codeunit",99000834,"DeleteInvoiceSpecFromHeader",1],[133,"write",43,"DeleteAll"],[139,"write",5765,"DeleteAll",1],[141,"ext","codeunit",1535,"DeleteApprovalEntries",1],[144,"event","OnPurchaseHeaderOnAfterGetRecordOnBeforeDeleteLinks",1],[150,"event","OnBeforeDeletePurchaseHeader",1],[153,"event","OnAfterDeletePurchaseHeader",0]]}]}