{"title":"Report extension 6299 Sust. Standard Sales Invoice, extension points 29","url":"https://jonas-paprotka.de/ref/reportextension/6299-sust-standard-sales-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":"reportextension","id":6299,"name":"Sust. Standard Sales Invoice","app":"Sustainability","url":"https://jonas-paprotka.de/ref/reportextension/6299-sust-standard-sales-invoice/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/reportextension/6299-sust-standard-sales-invoice/source/","path":"src/Apps/W1/Sustainability/app/src/Reports/SustStandardSalesInvoice.ReportExt.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:6217":{"name":"Sustainability Setup","url":"https://jonas-paprotka.de/ref/table/6217-sustainability-setup/"},"table:32":{"name":"Item Ledger Entry","url":"https://jonas-paprotka.de/ref/table/32-item-ledger-entry/"},"codeunit:6212":{"name":"Sustainability Post Mgt","url":"https://jonas-paprotka.de/ref/codeunit/6212-sustainability-post-mgt/"}},"procs":[{"name":"OnAfterAfterGetRecord","line":54,"kind":"trigger","steps":[[56,"call","UseItemTrackingDetails",1],[60,"ext","table",6217,"GetFormat",1]]},{"name":"ItemTrackingEmissionTotalCO2e.OnPreDataItem","line":93,"kind":"trigger","steps":[[96,"write",32,"DeleteAll"]]},{"name":"ItemTrackingEmissionTotalCO2e.OnAfterGetRecord","line":109,"kind":"trigger","steps":[[117,"call","GetItemTrackingText",1],[119,"ext","codeunit",6212,"GetTotalCO2eAmount",4]]},{"name":"OnPreReport","line":164,"kind":"trigger","steps":[[166,"call","SetCO2ePerUnitAndTotalCO2eCaption",0]]},{"name":"SetCO2ePerUnitAndTotalCO2eCaption","line":187,"kind":"procedure","access":"local","params":0,"steps":[[189,"ext","table",6217,"GetRecordOnce",0]]},{"name":"UseItemTrackingDetails","line":202,"kind":"procedure","access":"local","params":1,"steps":[[204,"ext","codeunit",6212,"IsCarbonTrackingSpecificItem",1]]}]}