{"title":"Report 6004 Batch Post Service Invoices, extension points 29","url":"https://jonas-paprotka.de/ref/report/6004-batch-post-service-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":6004,"name":"Batch Post Service Invoices","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/6004-batch-post-service-invoices/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/6004-batch-post-service-invoices/source/","path":"src/Layers/W1/BaseApp/Service/Document/BatchPostServiceInvoices.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:5980":{"name":"Service-Post","url":"https://jonas-paprotka.de/ref/codeunit/5980-service-post/"},"codeunit:5957":{"name":"Serv. Posting Selection Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/5957-serv-posting-selection-mgt/"},"codeunit:4030":{"name":"Client Type Management","url":"https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/"},"codeunit:5950":{"name":"Service-Calc. Discount","url":"https://jonas-paprotka.de/ref/codeunit/5950-service-calc-discount/"}},"procs":[{"name":"Service Header.OnAfterGetRecord","line":23,"kind":"trigger","steps":[[26,"call","CalculateInvoiceDiscount",0],[32,"ext","codeunit",5980,"SetPostingDate",3],[33,"ext","codeunit",5980,"SetPostingOptions",3],[34,"run","codeunit",5980]]},{"name":"Service Header.OnPreDataItem","line":47,"kind":"trigger","steps":[[54,"ext","codeunit",5957,"CheckUserCanInvoiceService",0]]},{"name":"ReplacePostingDate.OnValidate","line":84,"kind":"trigger","steps":[[89,"event","OnAfterValidateReplacePostingDate",0]]},{"name":"OnOpenPage","line":118,"kind":"trigger","steps":[[122,"ext","codeunit",4030,"GetCurrentClientType",0]]},{"name":"OnPostReport","line":135,"kind":"trigger","steps":[[137,"event","OnAfterPostReport",0]]},{"name":"OnPreReport","line":140,"kind":"trigger","steps":[[142,"event","OnBeforePreReport",0]]},{"name":"CalculateInvoiceDiscount","line":168,"kind":"procedure","access":"local","params":0,"steps":[[174,"run","codeunit",5950]]}]}