{"title":"Report 6215 Sust. Item Calculate CO2e, extension points 29","url":"https://jonas-paprotka.de/ref/report/6215-sust-item-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":6215,"name":"Sust. Item Calculate CO2e","app":"Sustainability","url":"https://jonas-paprotka.de/ref/report/6215-sust-item-calculate-co2e/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/6215-sust-item-calculate-co2e/source/","path":"src/Apps/W1/Sustainability/app/src/Certificate/SustItemCalculateCO2e.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:6257":{"name":"SustCostManagement","url":"https://jonas-paprotka.de/ref/codeunit/6257-sustcostmanagement/"},"codeunit:6212":{"name":"Sustainability Post Mgt","url":"https://jonas-paprotka.de/ref/codeunit/6212-sustainability-post-mgt/"},"table:27":{"name":"Item","url":"https://jonas-paprotka.de/ref/table/27-item/"}},"procs":[{"name":"Item.OnAfterGetRecord","line":20,"kind":"trigger","steps":[[28,"call","OpenDialog",2],[31,"call","UpdateCO2ePerUnit",1],[32,"call","UpdateDialog",2],[34,"call","CommitRecord",1],[37,"call","CloseDialog",0],[40,"call","ShowCompletionMsg",3]]},{"name":"UpdateCO2ePerUnit","line":91,"kind":"procedure","access":"local","params":1,"steps":[[97,"call","ExistSustainabilityValueEntry",1],[98,"ext","codeunit",6257,"CalculateAverageCost",2],[101,"ext","codeunit",6212,"UpdateCarbonFeeEmissionValues",8],[111,"validate",27,"CO2e per Unit"],[112,"validate",27,"CO2e Last Date Modified"],[113,"write",27,"Modify",1]]}]}