{"title":"Report 413 Self Billing Invoice, extension points 29","url":"https://jonas-paprotka.de/ref/report/413-self-billing-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":413,"name":"Self Billing Invoice","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/413-self-billing-invoice/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/413-self-billing-invoice/source/","path":"src/Layers/W1/BaseApp/Purchases/History/SelfBillingInvoice.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:330":{"name":"Currency Exchange Rate","url":"https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/"},"codeunit:368":{"name":"Format Document","url":"https://jonas-paprotka.de/ref/codeunit/368-format-document/"},"codeunit:319":{"name":"Purch. Inv.-Printed","url":"https://jonas-paprotka.de/ref/codeunit/319-purch-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/"},"codeunit:5051":{"name":"SegManagement","url":"https://jonas-paprotka.de/ref/codeunit/5051-segmanagement/"},"codeunit:9520":{"name":"Mail Management","url":"https://jonas-paprotka.de/ref/codeunit/9520-mail-management/"}},"procs":[{"name":"LineDimensionsCaption.OnAfterGetRecord","line":560,"kind":"trigger","steps":[[577,"ext","table",290,"InsertLine",0]]},{"name":"LineDimensionsCaption.OnPreDataItem","line":594,"kind":"trigger","steps":[[599,"write",290,"DeleteAll"]]},{"name":"VATAmtLineVATIdentifier_VATCounter.OnAfterGetRecord","line":658,"kind":"trigger","steps":[[660,"ext","table",290,"GetLine",1]]},{"name":"VATAmtLineVATIdentifier_VATCounterLCY.OnAfterGetRecord","line":693,"kind":"trigger","steps":[[695,"ext","table",290,"GetLine",1],[697,"ext","table",290,"GetBaseLCY",3],[701,"ext","table",290,"GetAmountLCY",3]]},{"name":"VATAmtLineVATIdentifier_VATCounterLCY.OnPreDataItem","line":706,"kind":"trigger","steps":[[722,"ext","table",330,"FindCurrency",3]]},{"name":"RemitToAddress_County.OnAfterGetRecord","line":814,"kind":"trigger","steps":[[819,"ext","codeunit",368,"GetCOPYText",0]]},{"name":"RemitToAddress_County.OnPostDataItem","line":830,"kind":"trigger","steps":[[832,"call","IsReportInPreviewMode",0],[833,"run","codeunit",319]]},{"name":"RemitToAddress_County.OnAfterGetRecord","line":845,"kind":"trigger","steps":[[848,"ext","codeunit",43,"GetLanguageIdOrDefault",1],[849,"ext","codeunit",43,"GetFormatRegionOrDefault",1],[850,"ext","codeunit",365,"SetLanguageCode",1],[852,"call","FormatAddressFields",1],[853,"call","FormatDocumentFields",1]]},{"name":"RemitToAddress_County.OnPostDataItem","line":866,"kind":"trigger","steps":[[868,"event","OnAfterPostDataItem",0]]},{"name":"OnInit","line":911,"kind":"trigger","steps":[[913,"call","InitLogInteraction",0]]},{"name":"OnInitReport","line":933,"kind":"trigger","steps":[[939,"event","OnAfterInitReport",0]]},{"name":"OnPostReport","line":942,"kind":"trigger","steps":[[944,"call","IsReportInPreviewMode",0],[947,"ext","codeunit",5051,"LogDocument",10]]},{"name":"InitLogInteraction","line":1073,"kind":"procedure","access":"local","params":0,"steps":[[1075,"ext","codeunit",5051,"FindInteractionTemplateCode",1]]},{"name":"IsReportInPreviewMode","line":1085,"kind":"procedure","access":"local","params":0,"steps":[[1089,"ext","codeunit",9520,"IsHandlingGetEmailBody",0]]},{"name":"FormatAddressFields","line":1092,"kind":"procedure","access":"local","params":1,"steps":[[1094,"ext","codeunit",365,"GetCompanyAddr",4],[1095,"ext","codeunit",365,"PurchInvPayTo",2],[1096,"ext","codeunit",365,"PurchInvShipTo",2],[1097,"ext","codeunit",365,"PurchInvRemitTo",2]]},{"name":"FormatDocumentFields","line":1100,"kind":"procedure","access":"local","params":1,"steps":[[1102,"ext","codeunit",368,"SetTotalLabels",4],[1103,"ext","codeunit",368,"SetPurchaser",3],[1104,"ext","codeunit",368,"SetPaymentTerms",3],[1105,"ext","codeunit",368,"SetShipmentMethod",3],[1107,"ext","codeunit",368,"SetText",2],[1108,"ext","codeunit",368,"SetText",2],[1109,"ext","codeunit",368,"SetText",2]]}]}