{"title":"Report 5911 Service - Invoice, extension points 29","url":"https://jonas-paprotka.de/ref/report/5911-service-invoice/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":5911,"name":"Service - Invoice","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/5911-service-invoice/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/5911-service-invoice/source/","path":"src/Layers/W1/BaseApp/Service/History/ServiceInvoice.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":{"table:290":{"name":"VAT Amount Line","url":"https://jonas-paprotka.de/ref/table/290-vat-amount-line/"},"table:5909":{"name":"Service Shipment Buffer","url":"https://jonas-paprotka.de/ref/table/5909-service-shipment-buffer/"},"table:560":{"name":"VAT Clause","url":"https://jonas-paprotka.de/ref/table/560-vat-clause/"},"codeunit:368":{"name":"Format Document","url":"https://jonas-paprotka.de/ref/codeunit/368-format-document/"},"codeunit:5902":{"name":"Service Inv.-Printed","url":"https://jonas-paprotka.de/ref/codeunit/5902-service-inv-printed/"},"codeunit:43":{"name":"Language","url":"https://jonas-paprotka.de/ref/codeunit/43-language/"},"codeunit:365":{"name":"Format Address","url":"https://jonas-paprotka.de/ref/codeunit/365-format-address/"},"table:270":{"name":"Bank Account","url":"https://jonas-paprotka.de/ref/table/270-bank-account/"},"table:1053":{"name":"Line Fee Note on Report Hist.","url":"https://jonas-paprotka.de/ref/table/1053-line-fee-note-on-report-hist/"},"codeunit:9520":{"name":"Mail Management","url":"https://jonas-paprotka.de/ref/codeunit/9520-mail-management/"},"codeunit:6001":{"name":"Service Format Address","url":"https://jonas-paprotka.de/ref/codeunit/6001-service-format-address/"}},"procs":[{"name":"HeaderDimensionsCaption.OnPreDataItem","line":249,"kind":"trigger","steps":[[253,"call","FindDimTxt",1]]},{"name":"LineDimensionsCaption.OnPreDataItem","line":435,"kind":"trigger","steps":[[440,"call","FindDimTxt",1]]},{"name":"LineDimensionsCaption.OnAfterGetRecord","line":448,"kind":"trigger","steps":[[455,"call","FindPostedShipmentDate",0],[461,"call","GetServiceItemSerialNo",1],[477,"ext","table",290,"InsertLine",0]]},{"name":"LineDimensionsCaption.OnPreDataItem","line":486,"kind":"trigger","steps":[[488,"write",290,"DeleteAll"],[490,"write",5909,"DeleteAll"],[492,"call","FindLastMeaningfulLine",1]]},{"name":"VATAmountLineVATBaseControl116Caption.OnAfterGetRecord","line":562,"kind":"trigger","steps":[[564,"ext","table",290,"GetLine",1]]},{"name":"VATAmountLineVATBaseControl116Caption.OnPreDataItem","line":567,"kind":"trigger","steps":[[569,"ext","table",290,"GetTotalVATAmount",0]]},{"name":"VATClauseVATAmtCaption.OnAfterGetRecord","line":604,"kind":"trigger","steps":[[606,"ext","table",290,"GetLine",1],[609,"ext","table",560,"GetDescriptionText",1]]},{"name":"LineFeeCaptionLbl.OnAfterGetRecord","line":695,"kind":"trigger","steps":[[698,"ext","codeunit",368,"GetCOPYText",0]]},{"name":"LineFeeCaptionLbl.OnPostDataItem","line":703,"kind":"trigger","steps":[[705,"call","IsReportInPreviewMode",0],[706,"run","codeunit",5902]]},{"name":"LineFeeCaptionLbl.OnAfterGetRecord","line":724,"kind":"trigger","steps":[[726,"ext","codeunit",43,"GetLanguageIdOrDefault",1],[727,"ext","codeunit",43,"GetFormatRegionOrDefault",1],[728,"ext","codeunit",365,"SetLanguageCode",1],[730,"call","FormatAddressFields",1],[731,"call","FormatDocumentFields",1],[734,"ext","table",270,"CopyBankFieldsFromCompanyInfo",1],[739,"call","GetLineFeeNoteOnReportHist",1]]},{"name":"OnInitReport","line":788,"kind":"trigger","steps":[[793,"ext","codeunit",368,"SetLogoPosition",4]]},{"name":"FindPostedShipmentDate","line":892,"kind":"procedure","params":0,"steps":[[908,"call","GenerateBufferFromShipment",1],[918,"write",5909,"Delete"],[923,"write",5909,"DeleteAll"]]},{"name":"GenerateBufferFromValueEntry","line":930,"kind":"procedure","params":1,"steps":[[950,"call","AddBufferEntry",3]]},{"name":"GenerateBufferFromShipment","line":960,"kind":"procedure","params":1,"steps":[[1009,"call","AddBufferEntry",3]]},{"name":"AddBufferEntry","line":1017,"kind":"procedure","params":3,"steps":[[1024,"write",5909,"Modify"],[1035,"write",5909,"Insert"]]},{"name":"DocumentCaption","line":1039,"kind":"procedure","access":"local","params":0,"steps":[[1043,"event","OnBeforeGetDocumentCaption",0]]},{"name":"GetLineFeeNoteOnReportHist","line":1077,"kind":"procedure","access":"local","params":1,"steps":[[1083,"write",1053,"DeleteAll"],[1098,"write",1053,"Insert"],[1101,"ext","codeunit",43,"GetUserLanguageCode",0],[1106,"write",1053,"Insert"]]},{"name":"IsReportInPreviewMode","line":1119,"kind":"procedure","access":"local","params":0,"steps":[[1123,"ext","codeunit",9520,"IsHandlingGetEmailBody",0]]},{"name":"FormatAddressFields","line":1126,"kind":"procedure","access":"local","params":1,"steps":[[1130,"ext","codeunit",365,"GetCompanyAddr",4],[1131,"ext","codeunit",6001,"ServiceInvBillTo",2],[1132,"ext","codeunit",6001,"ServiceInvShipTo",3]]},{"name":"FormatDocumentFields","line":1135,"kind":"procedure","access":"local","params":1,"steps":[[1137,"ext","codeunit",368,"SetTotalLabels",4],[1138,"ext","codeunit",368,"SetSalesPerson",3],[1139,"ext","codeunit",368,"SetPaymentTerms",3],[1141,"ext","codeunit",368,"SetText",2],[1142,"ext","codeunit",368,"SetText",2],[1143,"ext","codeunit",368,"SetText",2]]}]}