{"title":"Report 297 Batch Post Sales Invoices, extension points 29","url":"https://jonas-paprotka.de/ref/report/297-batch-post-sales-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":297,"name":"Batch Post Sales Invoices","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/","path":"src/Layers/W1/BaseApp/Sales/Document/BatchPostSalesInvoices.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:1371":{"name":"Sales Batch Post Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1371-sales-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":"Sales Header.OnPreDataItem","line":30,"kind":"trigger","steps":[[35,"event","OnBeforeSalesHeaderPreDataItem",0],[37,"ext","codeunit",99,"CheckUserCanInvoiceSales",0],[38,"ext","codeunit",1371,"SetParameter",2],[39,"ext","codeunit",1371,"SetParameter",2],[40,"ext","codeunit",1371,"SetParameter",2],[41,"ext","codeunit",1371,"RunBatch",7]]},{"name":"PostingDate.OnValidate","line":65,"kind":"trigger","steps":[[67,"call","UpdateVATDate",0]]},{"name":"ReplacePostingDate.OnValidate","line":84,"kind":"trigger","steps":[[89,"ext","codeunit",799,"IsVATDateUsageSetToPostingDate",0],[91,"call","UpdateVATDate",0]]},{"name":"ReplaceDocumentDate.OnValidate","line":100,"kind":"trigger","steps":[[102,"ext","codeunit",799,"IsVATDateUsageSetToDocumentDate",0],[104,"call","UpdateVATDate",0]]},{"name":"OnOpenPage","line":155,"kind":"trigger","steps":[[162,"event","OnBeforeOnOpenPage",1],[164,"ext","codeunit",799,"IsVATDateEnabled",0],[168,"ext","codeunit",4030,"GetCurrentClientType",0],[177,"ext","codeunit",799,"IsVATDateEnabled",0],[179,"event","OnAfterOnOpenPage",0]]}]}