{"title":"Page 6240 Sustainability Goal Cue, extension points 29","url":"https://jonas-paprotka.de/ref/page/6240-sustainability-goal-cue/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":"page","id":6240,"name":"Sustainability Goal Cue","app":"Sustainability","url":"https://jonas-paprotka.de/ref/page/6240-sustainability-goal-cue/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/6240-sustainability-goal-cue/source/","path":"src/Apps/W1/Sustainability/app/src/RoleCenters/SustainabilityGoalCue.Page.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:6221":{"name":"Sustainability Goal Cue","url":"https://jonas-paprotka.de/ref/table/6221-sustainability-goal-cue/"},"codeunit:6230":{"name":"Compute Sust. Goal Cue","url":"https://jonas-paprotka.de/ref/codeunit/6230-compute-sust-goal-cue/"},"codeunit:9701":{"name":"Cues And KPIs","url":"https://jonas-paprotka.de/ref/codeunit/9701-cues-and-kpis/"},"codeunit:2000000004":{"name":"UI Helper Triggers","url":"https://jonas-paprotka.de/ref/codeunit/2000000004-ui-helper-triggers/"}},"procs":[{"name":"Realized % for CO2.OnDrillDown","line":28,"kind":"trigger","steps":[[30,"ext","table",6221,"ShowMainSustainabilityGoal",0]]},{"name":"Realized % for CH4.OnDrillDown","line":40,"kind":"trigger","steps":[[42,"ext","table",6221,"ShowMainSustainabilityGoal",0]]},{"name":"Realized % for N2O.OnDrillDown","line":52,"kind":"trigger","steps":[[54,"ext","table",6221,"ShowMainSustainabilityGoal",0]]},{"name":"CO2 % vs Baseline.OnDrillDown","line":64,"kind":"trigger","steps":[[66,"ext","table",6221,"ShowMainSustainabilityGoal",0]]},{"name":"CH4 % vs Baseline.OnDrillDown","line":76,"kind":"trigger","steps":[[78,"ext","table",6221,"ShowMainSustainabilityGoal",0]]},{"name":"N2O % vs Baseline.OnDrillDown","line":88,"kind":"trigger","steps":[[90,"ext","table",6221,"ShowMainSustainabilityGoal",0]]},{"name":"Realized % for Water.OnDrillDown","line":100,"kind":"trigger","steps":[[102,"ext","table",6221,"ShowMainSustainabilityGoal",0]]},{"name":"Realized % for Waste.OnDrillDown","line":112,"kind":"trigger","steps":[[114,"ext","table",6221,"ShowMainSustainabilityGoal",0]]},{"name":"Water % vs Baseline.OnDrillDown","line":124,"kind":"trigger","steps":[[126,"ext","table",6221,"ShowMainSustainabilityGoal",0]]},{"name":"Waste % vs Baseline.OnDrillDown","line":136,"kind":"trigger","steps":[[138,"ext","table",6221,"ShowMainSustainabilityGoal",0]]},{"name":"Refresh Now.OnAction","line":156,"kind":"trigger","steps":[[158,"ext","codeunit",6230,"SetCalledFromManualRefresh",1],[159,"ext","codeunit",6230,"GetLatestSustainabilityGoalCue",1],[160,"ext","codeunit",6230,"SetCalledFromManualRefresh",1]]},{"name":"Set Up Cues.OnAction","line":172,"kind":"trigger","steps":[[178,"ext","codeunit",9701,"OpenCustomizePageForCurrentUser",1]]},{"name":"OnOpenPage","line":184,"kind":"trigger","steps":[[189,"write",6221,"Insert"],[192,"ext","codeunit",6230,"GetLatestSustainabilityGoalCue",1],[193,"call","SetControlAppearance",0]]},{"name":"OnAfterGetCurrRecord","line":196,"kind":"trigger","steps":[[198,"ext","codeunit",6230,"GetLatestSustainabilityGoalCue",1],[199,"call","SetControlAppearance",0]]},{"name":"Set Up Cues.OnAfterGetRecord","line":202,"kind":"trigger","steps":[[204,"ext","codeunit",6230,"GetLatestSustainabilityGoalCue",1],[205,"call","SetControlAppearance",0]]},{"name":"SetControlAppearance","line":214,"kind":"procedure","access":"local","params":0,"steps":[[216,"ext","codeunit",2000000004,"GetCueStyle",4],[217,"ext","codeunit",2000000004,"GetCueStyle",4],[218,"ext","codeunit",2000000004,"GetCueStyle",4],[219,"ext","codeunit",2000000004,"GetCueStyle",4],[220,"ext","codeunit",2000000004,"GetCueStyle",4],[222,"ext","codeunit",2000000004,"GetCueStyle",4],[223,"ext","codeunit",2000000004,"GetCueStyle",4],[224,"ext","codeunit",2000000004,"GetCueStyle",4],[225,"ext","codeunit",2000000004,"GetCueStyle",4],[226,"ext","codeunit",2000000004,"GetCueStyle",4]]}]}