{"title":"Report 5970 Service Contract, extension points 29","url":"https://jonas-paprotka.de/ref/report/5970-service-contract/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":5970,"name":"Service Contract","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/5970-service-contract/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/5970-service-contract/source/","path":"src/Layers/W1/BaseApp/Service/Reports/ServiceContract.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: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/"},"codeunit:5051":{"name":"SegManagement","url":"https://jonas-paprotka.de/ref/codeunit/5051-segmanagement/"},"codeunit:368":{"name":"Format Document","url":"https://jonas-paprotka.de/ref/codeunit/368-format-document/"},"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":"Date_servcommentline2Caption.OnAfterGetRecord","line":386,"kind":"trigger","steps":[[388,"ext","codeunit",43,"GetLanguageIdOrDefault",1],[389,"ext","codeunit",43,"GetFormatRegionOrDefault",1],[390,"ext","codeunit",365,"SetLanguageCode",1],[392,"call","FormatAddressFields",1],[393,"call","FormatDocumentFields",1]]},{"name":"OnInit","line":438,"kind":"trigger","steps":[[440,"ext","codeunit",5051,"FindInteractionTemplateCode",1]]},{"name":"OnInitReport","line":449,"kind":"trigger","steps":[[453,"ext","codeunit",368,"SetLogoPosition",4]]},{"name":"OnPostReport","line":456,"kind":"trigger","steps":[[458,"call","IsReportInPreviewMode",0],[462,"ext","codeunit",5051,"LogDocument",10],[465,"ext","codeunit",5051,"LogDocument",10]]},{"name":"IsReportInPreviewMode","line":522,"kind":"procedure","access":"local","params":0,"steps":[[526,"ext","codeunit",9520,"IsHandlingGetEmailBody",0]]},{"name":"FormatAddressFields","line":529,"kind":"procedure","access":"local","params":1,"steps":[[533,"ext","codeunit",365,"GetCompanyAddr",4],[534,"ext","codeunit",6001,"ServContractSellto",2],[537,"ext","codeunit",6001,"ServContractShipto",2]]},{"name":"FormatDocumentFields","line":540,"kind":"procedure","access":"local","params":1,"steps":[[542,"ext","codeunit",368,"SetSalesPerson",3]]}]}