{"title":"Report 5912 Service - Credit Memo, extension points 29","url":"https://jonas-paprotka.de/ref/report/5912-service-credit-memo/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":5912,"name":"Service - Credit Memo","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/5912-service-credit-memo/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/5912-service-credit-memo/source/","path":"src/Layers/W1/BaseApp/Service/History/ServiceCreditMemo.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:5909":{"name":"Service Shipment Buffer","url":"https://jonas-paprotka.de/ref/table/5909-service-shipment-buffer/"},"table:290":{"name":"VAT Amount Line","url":"https://jonas-paprotka.de/ref/table/290-vat-amount-line/"},"table:560":{"name":"VAT Clause","url":"https://jonas-paprotka.de/ref/table/560-vat-clause/"},"codeunit:5904":{"name":"Service Cr. Memo-Printed","url":"https://jonas-paprotka.de/ref/codeunit/5904-service-cr-memo-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/"},"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/"},"codeunit:368":{"name":"Format Document","url":"https://jonas-paprotka.de/ref/codeunit/368-format-document/"}},"procs":[{"name":"HeaderDimensionsCaption.OnPreDataItem","line":259,"kind":"trigger","steps":[[263,"call","FindDimTxt",1]]},{"name":"LineDimensionsCaption.OnPreDataItem","line":397,"kind":"trigger","steps":[[402,"call","FindDimTxt",1]]},{"name":"LineDimensionsCaption.OnAfterGetRecord","line":407,"kind":"trigger","steps":[[409,"write",5909,"DeleteAll"],[412,"call","FindPostedShipmentDate",0],[429,"ext","table",290,"InsertLine",0]]},{"name":"LineDimensionsCaption.OnPreDataItem","line":438,"kind":"trigger","steps":[[440,"write",290,"DeleteAll"],[442,"write",5909,"DeleteAll"]]},{"name":"VATAmountLineLineAmntCaption.OnAfterGetRecord","line":514,"kind":"trigger","steps":[[516,"ext","table",290,"GetLine",1]]},{"name":"VATAmountLineLineAmntCaption.OnPreDataItem","line":519,"kind":"trigger","steps":[[521,"ext","table",290,"GetTotalVATAmount",0]]},{"name":"TotalCaption.OnAfterGetRecord","line":559,"kind":"trigger","steps":[[561,"ext","table",290,"GetLine",1],[564,"ext","table",560,"GetDescriptionText",1]]},{"name":"Cust_ServCrMemoHeaderCaption.OnPostDataItem","line":633,"kind":"trigger","steps":[[635,"call","IsReportInPreviewMode",0],[636,"run","codeunit",5904]]},{"name":"Cust_ServCrMemoHeaderCaption.OnAfterGetRecord","line":648,"kind":"trigger","steps":[[650,"ext","codeunit",43,"GetLanguageIdOrDefault",1],[651,"ext","codeunit",43,"GetFormatRegionOrDefault",1],[652,"ext","codeunit",365,"SetLanguageCode",1],[654,"call","FormatAddressFields",1],[655,"call","FormatDocumentFields",1],[658,"ext","table",270,"CopyBankFieldsFromCompanyInfo",1]]},{"name":"FindPostedShipmentDate","line":814,"kind":"procedure","params":0,"steps":[[822,"call","GenerateBufferFromValueEntry",1],[836,"write",5909,"Delete"],[841,"write",5909,"DeleteAll"]]},{"name":"GenerateBufferFromValueEntry","line":848,"kind":"procedure","params":1,"steps":[[868,"call","AddBufferEntry",3]]},{"name":"AddBufferEntry","line":878,"kind":"procedure","params":3,"steps":[[885,"write",5909,"Modify"],[897,"write",5909,"Insert"]]},{"name":"IsReportInPreviewMode","line":934,"kind":"procedure","access":"local","params":0,"steps":[[938,"ext","codeunit",9520,"IsHandlingGetEmailBody",0]]},{"name":"FormatAddressFields","line":941,"kind":"procedure","access":"local","params":1,"steps":[[945,"ext","codeunit",365,"GetCompanyAddr",4],[946,"ext","codeunit",6001,"ServiceCrMemoBillTo",2],[947,"ext","codeunit",6001,"ServiceCrMemoShipTo",3]]},{"name":"FormatDocumentFields","line":950,"kind":"procedure","access":"local","params":1,"steps":[[952,"ext","codeunit",368,"SetTotalLabels",4],[953,"ext","codeunit",368,"SetSalesPerson",3],[955,"ext","codeunit",368,"SetText",2],[956,"ext","codeunit",368,"SetText",2],[958,"ext","codeunit",368,"SetText",2]]}]}