{"title":"Report 6214 Sust. Calculate CO2e, extension points 29","url":"https://jonas-paprotka.de/ref/report/6214-sust-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":6214,"name":"Sust. Calculate CO2e","app":"Sustainability","url":"https://jonas-paprotka.de/ref/report/6214-sust-calculate-co2e/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/6214-sust-calculate-co2e/source/","path":"src/Apps/W1/Sustainability/app/src/Manufacturing/SustCalculateCO2e.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:6212":{"name":"Sustainability Post Mgt","url":"https://jonas-paprotka.de/ref/codeunit/6212-sustainability-post-mgt/"},"table:99000754":{"name":"Work Center","url":"https://jonas-paprotka.de/ref/table/99000754-work-center/"},"table:99000758":{"name":"Machine Center","url":"https://jonas-paprotka.de/ref/table/99000758-machine-center/"}},"procs":[{"name":"Work Center.OnAfterGetRecord","line":28,"kind":"trigger","steps":[[36,"call","OpenDialog",2],[39,"call","UpdateCO2ePerUnit",1],[40,"call","UpdateDialog",2],[42,"call","CommitRecord",1],[45,"call","CloseDialog",0],[48,"call","ShowCompletionMsg",3]]},{"name":"Machine Center.OnAfterGetRecord","line":62,"kind":"trigger","steps":[[70,"call","OpenDialog",2],[73,"call","UpdateCO2ePerUnit",1],[74,"call","UpdateDialog",2],[76,"call","CommitRecord",1],[79,"call","CloseDialog",0],[82,"call","ShowCompletionMsg",3]]},{"name":"UpdateCO2ePerUnit","line":166,"kind":"procedure","access":"local","params":1,"steps":[[171,"ext","codeunit",6212,"UpdateCarbonFeeEmissionValues",8],[181,"validate",99000754,"CO2e per Unit"],[182,"validate",99000754,"CO2e Last Date Modified"],[183,"write",99000754,"Modify",1]]},{"name":"UpdateCO2ePerUnit","line":186,"kind":"procedure","access":"local","params":1,"steps":[[191,"ext","codeunit",6212,"UpdateCarbonFeeEmissionValues",8],[201,"validate",99000758,"CO2e per Unit"],[202,"validate",99000758,"CO2e Last Date Modified"],[203,"write",99000758,"Modify",1]]}]}