{"title":"Report 116 Statement, extension points 29","url":"https://jonas-paprotka.de/ref/report/116-statement/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":116,"name":"Statement","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/116-statement/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/116-statement/source/","path":"src/Layers/W1/BaseApp/Sales/Customer/Statement.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:47":{"name":"Aging Band Buffer","url":"https://jonas-paprotka.de/ref/table/47-aging-band-buffer/"},"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:4":{"name":"Currency","url":"https://jonas-paprotka.de/ref/table/4-currency/"},"codeunit:8800":{"name":"Custom Layout Reporting","url":"https://jonas-paprotka.de/ref/codeunit/8800-custom-layout-reporting/"},"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":"Currency2Code.OnAfterGetRecord","line":265,"kind":"trigger","steps":[[269,"call","SkipReversedUnapplied",1],[326,"call","ClearCompanyPicture",0]]},{"name":"EntriesExistsl_CustLedgEntryFooterCaption.OnAfterGetRecord","line":364,"kind":"trigger","steps":[[366,"call","ClearCompanyPicture",0]]},{"name":"CustNo_CustLedgEntry2.OnAfterGetRecord","line":414,"kind":"trigger","steps":[[433,"call","UpdateBuffer",3],[433,"call","GetDate",2],[437,"call","ClearCompanyPicture",0]]},{"name":"beforeCaption.OnAfterGetRecord","line":543,"kind":"trigger","steps":[[546,"call","ClearCompanyPicture",0]]},{"name":"beforeCaption.OnAfterGetRecord","line":565,"kind":"trigger","steps":[[569,"write",47,"DeleteAll"],[570,"ext","codeunit",43,"GetLanguageIdOrDefault",1],[571,"ext","codeunit",43,"GetFormatRegionOrDefault",1],[572,"ext","codeunit",365,"SetLanguageCode",1],[586,"ext","codeunit",365,"Customer",2]]},{"name":"beforeCaption.OnPreDataItem","line":592,"kind":"trigger","steps":[[596,"call","VerifyDates",0],[598,"call","CalcAgingBandDates",0],[601,"ext","codeunit",365,"Company",2],[608,"write",4,"Insert"]]},{"name":"ReportOutput.OnValidate","line":732,"kind":"trigger","steps":[[740,"ext","codeunit",8800,"GetPrintOption",0],[742,"ext","codeunit",8800,"GetPreviewOption",0],[744,"ext","codeunit",8800,"GetPDFOption",0],[746,"ext","codeunit",8800,"GetEmailOption",0],[748,"ext","codeunit",8800,"GetExcelOption",0],[750,"ext","codeunit",8800,"GetXMLOption",0]]},{"name":"OnInit","line":780,"kind":"trigger","steps":[[782,"ext","codeunit",5051,"FindInteractionTemplateCode",1]]},{"name":"OnOpenPage","line":786,"kind":"trigger","steps":[[788,"call","InitRequestPageDataInternal",0]]},{"name":"OnPostReport","line":834,"kind":"trigger","steps":[[838,"call","IsReportInPreviewMode",0],[844,"ext","codeunit",5051,"LogDocument",10]]},{"name":"OnPreReport","line":850,"kind":"trigger","steps":[[852,"call","InitRequestPageDataInternal",0]]},{"name":"UpdateBuffer","line":970,"kind":"procedure","access":"local","params":3,"steps":[[978,"write",47,"Insert"],[1009,"write",47,"Modify"]]},{"name":"InitializeRequest","line":1048,"kind":"procedure","params":11,"steps":[[1050,"call","InitRequestPageDataInternal",0]]},{"name":"IsReportInPreviewMode","line":1065,"kind":"procedure","access":"local","params":0,"steps":[[1069,"ext","codeunit",9520,"IsHandlingGetEmailBody",0]]}]}