{"title":"Codeunit 228 Test Report-Print, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/228-test-report-print/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":"codeunit","id":228,"name":"Test Report-Print","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/228-test-report-print/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/228-test-report-print/source/","path":"src/Layers/W1/BaseApp/Foundation/Reporting/TestReportPrint.Codeunit.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:77":{"name":"Report Selections","url":"https://jonas-paprotka.de/ref/table/77-report-selections/"},"codeunit:60":{"name":"Sales-Calc. Discount","url":"https://jonas-paprotka.de/ref/codeunit/60-sales-calc-discount/"},"codeunit:70":{"name":"Purch.-Calc.Discount","url":"https://jonas-paprotka.de/ref/codeunit/70-purch-calc-discount/"}},"procs":[{"name":"PrintGenJnlLine","line":56,"kind":"procedure","params":1,"steps":[[61,"event","OnBeforePrintGenJnlLine",1],[66,"event","OnPrintGenJnlLineOnAfterGenJnlLineCopy",0]]},{"name":"PrintVATStmtLine","line":82,"kind":"procedure","params":1,"steps":[[92,"event","OnPrintVATStmtLineOnBeforeReportRun",1]]},{"name":"PrintSalesHeader","line":133,"kind":"procedure","params":1,"steps":[[139,"call","CalcSalesDiscount",1],[140,"ext","table",77,"PrintWithCheckForCust",3]]},{"name":"PrintSalesHeaderPrepmt","line":144,"kind":"procedure","params":1,"steps":[[150,"ext","table",77,"PrintWithCheckForCust",3]]},{"name":"PrintPurchHeader","line":154,"kind":"procedure","params":1,"steps":[[160,"call","CalcPurchDiscount",1],[161,"ext","table",77,"PrintWithCheckForVend",3]]},{"name":"PrintPurchHeaderPrepmt","line":164,"kind":"procedure","params":1,"steps":[[170,"ext","table",77,"PrintWithCheckForVend",3]]},{"name":"PrintBankAccRecon","line":173,"kind":"procedure","params":1,"steps":[[179,"ext","table",77,"PrintWithCheckForCust",3]]},{"name":"PrintInvtPeriod","line":237,"kind":"procedure","params":1,"steps":[[244,"ext","table",77,"PrintWithCheckForCust",3]]},{"name":"CalcSalesDiscount","line":266,"kind":"procedure","params":1,"steps":[[276,"event","OnCalcSalesDiscOnAfterSetFilters",0],[278,"event","OnCalcSalesDiscOnBeforeRun",0],[279,"run","codeunit",60],[284,"event","OnAfterCalcSalesDiscount",0]]},{"name":"CalcPurchDiscount","line":287,"kind":"procedure","params":1,"steps":[[297,"event","OnCalcPurchDiscOnAfterSetFilters",0],[299,"event","OnCalcPurchDiscOnBeforeRun",0],[300,"run","codeunit",70],[305,"event","OnAfterCalcPurchDiscount",0]]}]}