{"title":"Report 6218 Sust. Routing Calculate CO2e, extension points 29","url":"https://jonas-paprotka.de/ref/report/6218-sust-routing-calculate-co2e/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":6218,"name":"Sust. Routing Calculate CO2e","app":"Sustainability","url":"https://jonas-paprotka.de/ref/report/6218-sust-routing-calculate-co2e/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/6218-sust-routing-calculate-co2e/source/","path":"src/Apps/W1/Sustainability/app/src/Manufacturing/SustRoutingCalculateCO2e.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":{"codeunit:99000756":{"name":"VersionManagement","url":"https://jonas-paprotka.de/ref/codeunit/99000756-versionmanagement/"},"table:99000764":{"name":"Routing Line","url":"https://jonas-paprotka.de/ref/table/99000764-routing-line/"}},"procs":[{"name":"Routing Header.OnAfterGetRecord","line":23,"kind":"trigger","steps":[[31,"call","OpenDialog",2],[34,"call","UpdateCO2ePerUnit",1],[35,"call","UpdateDialog",2],[37,"call","CommitRecord",1],[40,"call","CloseDialog",0],[43,"call","ShowCompletionMsg",2]]},{"name":"UpdateCO2ePerUnit","line":99,"kind":"procedure","access":"local","params":1,"steps":[[105,"ext","codeunit",99000756,"GetRtngVersion",3],[111,"validate",99000764,"CO2e per Unit"],[111,"call","GetCO2ePerUnitForRoutingLine",1],[112,"validate",99000764,"CO2e Last Date Modified"],[114,"write",99000764,"Modify"],[116,"write",99000764,"Modify",1]]}]}