{"title":"Report 12 VAT Statement, extension points 29","url":"https://jonas-paprotka.de/ref/report/12-vat-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":12,"name":"VAT Statement","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/12-vat-statement/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/12-vat-statement/source/","path":"src/Layers/W1/BaseApp/Finance/VAT/Reporting/VATStatement.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":{},"procs":[{"name":"TotalAmountCaption.OnAfterGetRecord","line":131,"kind":"trigger","steps":[[133,"call","CalcLineTotal",3],[135,"call","RoundAmount",1]]},{"name":"CalcLineTotal","line":330,"kind":"procedure","params":3,"steps":[[334,"call","CalcLineTotalWithBase",4]]},{"name":"CalcLineTotalWithBase","line":346,"kind":"procedure","params":4,"steps":[[353,"event","OnBeforeCalcLineTotalWithBase",1],[370,"event","OnCalcLineTotalWithBaseOnAfterGLAccSetFilters",0],[375,"call","ConditionalAdd",3],[377,"event","OnCalcLineTotalOnBeforeCalcTotalAmountAccountTotaling",0],[378,"call","CalcTotalAmount",3],[384,"call","SetVATEntryKeyAndRangesForVATDate",1],[386,"call","SetVATDate",0],[397,"event","OnCalcLineTotalOnVATEntryTotalingOnAfterVATEntrySetFilters",0],[402,"call","ConditionalAdd",3],[405,"call","ConditionalAdd",3],[410,"call","ConditionalAdd",3],[415,"call","ConditionalAdd",3],[418,"call","ConditionalAdd",3],[423,"call","ConditionalAdd",3],[431,"call","ConditionalAdd",3],[434,"call","ConditionalAdd",3],[439,"call","ConditionalAdd",3],[444,"call","ConditionalAdd",3],[449,"call","ConditionalAdd",3],[452,"event","OnCalcLineTotalOnBeforeCalcTotalAmountVATEntryTotaling",0],[453,"call","CalcTotalAmount",3],[482,"event","OnCalcLineTotalWithBaseOnCaseElse",0]]},{"name":"CalcTotalAmount","line":514,"kind":"procedure","access":"local","params":3,"steps":[[519,"call","RoundAmount",1],[524,"call","RoundAmount",1]]},{"name":"GetAmtRoundingDirection","line":591,"kind":"procedure","access":"protected","params":0,"steps":[[594,"event","OnAfterGetAmtRoundingDirection",0]]},{"name":"RoundAmount","line":597,"kind":"procedure","access":"protected","params":1,"steps":[[599,"call","GetAmtRoundingDirection",0]]}]}