{"title":"Report 6030 Create Contract Invoices, extension points 29","url":"https://jonas-paprotka.de/ref/report/6030-create-contract-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":6030,"name":"Create Contract Invoices","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/6030-create-contract-invoices/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/6030-create-contract-invoices/source/","path":"src/Layers/W1/BaseApp/Service/Contract/CreateContractInvoices.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:5940":{"name":"ServContractManagement","url":"https://jonas-paprotka.de/ref/codeunit/5940-servcontractmanagement/"},"report:5984":{"name":"Contract Invoicing","url":"https://jonas-paprotka.de/ref/report/5984-contract-invoicing/"},"codeunit:27":{"name":"Confirm Management","url":"https://jonas-paprotka.de/ref/codeunit/27-confirm-management/"},"table:4":{"name":"Currency","url":"https://jonas-paprotka.de/ref/table/4-currency/"}},"procs":[{"name":"Service Contract Header.OnAfterGetRecord","line":27,"kind":"trigger","steps":[[29,"event","OnBeforeServiceContractHeaderOnAfterGetRecord",0],[38,"event","OnServiceContractHeaderOnAfterGetRecordOnBeforeServContractMgtInitCodeUnit",0],[39,"ext","codeunit",5940,"InitCodeUnit",0],[48,"ext","codeunit",5940,"GetNextInvoicePeriod",3],[49,"call","CheckIfCombinationExists",1],[51,"ext","codeunit",5940,"CheckIfServiceExist",1],[55,"ext","codeunit",5940,"CalcContractAmount",3],[61,"ext","codeunit",5940,"CreateServHeader",3],[65,"ext","codeunit",5940,"CreateAllServLines",2],[74,"event","OnServiceContractHeaderOnAfterGetRecordOnBeforeServContractMgtFinishCodeunit",0],[75,"ext","codeunit",5940,"FinishCodeunit",0],[77,"event","OnAfterServiceContractHeaderOnAfterGetRecord",0]]},{"name":"Service Contract Header.OnPostDataItem","line":80,"kind":"trigger","steps":[[89,"event","OnAfterServiceContractHeaderOnPostDataItem",0]]},{"name":"Service Contract Header.OnPreDataItem","line":92,"kind":"trigger","steps":[[98,"ext","report",5984,"InitVariables",2],[109,"ext","codeunit",27,"GetResponseOrDefault",2],[117,"ext","codeunit",27,"GetResponseOrDefault",2],[127,"ext","codeunit",5940,"CheckMultipleCurrenciesForCustomers",1],[136,"ext","table",4,"InitRoundingPrecision",0],[138,"event","OnAfterServiceContractHeaderOnPreDataItem",0]]}]}