{"title":"Report 5984 Contract Invoicing, extension points 29","url":"https://jonas-paprotka.de/ref/report/5984-contract-invoicing/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":5984,"name":"Contract Invoicing","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/5984-contract-invoicing/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/5984-contract-invoicing/source/","path":"src/Layers/W1/BaseApp/Service/Reports/ContractInvoicing.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: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/"},"table:5907":{"name":"Service Ledger Entry","url":"https://jonas-paprotka.de/ref/table/5907-service-ledger-entry/"},"codeunit:5940":{"name":"ServContractManagement","url":"https://jonas-paprotka.de/ref/codeunit/5940-servcontractmanagement/"}},"procs":[{"name":"InvoiceTotalCaption.OnAfterGetRecord","line":149,"kind":"trigger","steps":[[155,"call","BuildInvoicePlan",1]]},{"name":"InvoiceTotalCaption.OnPreDataItem","line":158,"kind":"trigger","steps":[[166,"ext","codeunit",27,"GetResponseOrDefault",2],[173,"ext","codeunit",27,"GetResponseOrDefault",2],[176,"ext","table",4,"InitRoundingPrecision",0],[184,"event","OnAfterServiceContractHeaderOnPreDataItem",0]]},{"name":"BuildInvoicePlan","line":280,"kind":"procedure","access":"local","params":1,"steps":[[286,"write",5907,"DeleteAll"],[287,"ext","codeunit",5940,"GetInvoicePeriodText",1],[293,"event","OnAfterSetInvoiceDates",0],[295,"call","FirstDate",2],[296,"call","InsertServLedgEntry",2],[303,"call","FirstDate",2],[305,"call","InsertServLedgEntry",2]]},{"name":"InsertServLedgEntry","line":319,"kind":"procedure","access":"local","params":2,"steps":[[326,"call","CalcContrAmt",3],[331,"write",5907,"Insert"]]},{"name":"CalcContrAmt","line":334,"kind":"procedure","access":"local","params":3,"steps":[[345,"ext","codeunit",5940,"CalcContractLineAmount",3]]}]}