{"title":"Report 497 Batch Post Purchase Invoices, extension points 29","url":"https://jonas-paprotka.de/ref/report/497-batch-post-purchase-invoices/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":497,"name":"Batch Post Purchase Invoices","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/497-batch-post-purchase-invoices/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/497-batch-post-purchase-invoices/source/","path":"src/Layers/W1/BaseApp/Purchases/Document/BatchPostPurchaseInvoices.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:99":{"name":"Posting Selection Management","url":"https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/"},"codeunit:1372":{"name":"Purchase Batch Post Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1372-purchase-batch-post-mgt/"},"codeunit:799":{"name":"VAT Reporting Date Mgt","url":"https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/"},"codeunit:4030":{"name":"Client Type Management","url":"https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/"}},"procs":[{"name":"Purchase Header.OnPreDataItem","line":27,"kind":"trigger","steps":[[32,"ext","codeunit",99,"CheckUserCanInvoicePurchase",0],[33,"ext","codeunit",1372,"SetParameter",2],[34,"ext","codeunit",1372,"SetParameter",2],[35,"ext","codeunit",1372,"SetParameter",2],[36,"ext","codeunit",1372,"RunBatch",7],[38,"event","OnAfterOnPreDataItemPurchaseHeader",0]]},{"name":"PostingDate.OnValidate","line":61,"kind":"trigger","steps":[[63,"call","UpdateVATDate",0]]},{"name":"ReplacePostingDate.OnValidate","line":80,"kind":"trigger","steps":[[85,"ext","codeunit",799,"IsVATDateUsageSetToPostingDate",0],[87,"call","UpdateVATDate",0]]},{"name":"ReplaceDocumentDate.OnValidate","line":96,"kind":"trigger","steps":[[98,"ext","codeunit",799,"IsVATDateUsageSetToDocumentDate",0],[100,"call","UpdateVATDate",0]]},{"name":"OnOpenPage","line":151,"kind":"trigger","steps":[[156,"ext","codeunit",799,"IsVATDateEnabled",0],[160,"ext","codeunit",4030,"GetCurrentClientType",0],[166,"ext","codeunit",799,"IsVATDateEnabled",0]]}]}