{"title":"Codeunit 759 Job Chart Mgt, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/759-job-chart-mgt/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":"codeunit","id":759,"name":"Job Chart Mgt","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/759-job-chart-mgt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/759-job-chart-mgt/source/","path":"src/Layers/W1/BaseApp/Projects/Project/Analysis/JobChartMgt.Codeunit.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:167":{"name":"Job","url":"https://jonas-paprotka.de/ref/table/167-job/"},"page:88":{"name":"Job Card","url":"https://jonas-paprotka.de/ref/page/88-job-card/"},"table:485":{"name":"Business Chart Buffer","url":"https://jonas-paprotka.de/ref/table/485-business-chart-buffer/"},"codeunit:1008":{"name":"Job Calculate Statistics","url":"https://jonas-paprotka.de/ref/codeunit/1008-job-calculate-statistics/"}},"procs":[{"name":"CreateJobChart","line":35,"kind":"procedure","params":4,"steps":[[37,"call","CreateChart",4]]},{"name":"CreateChart","line":40,"kind":"procedure","params":4,"steps":[[45,"event","OnBeforeCreateChart",1],[49,"call","InitializeBusinessChart",1],[50,"call","SetJobRangeByMyJob",1],[51,"call","NothingToShow",1],[54,"call","AddMeasures",3],[55,"call","SetXAxis",1],[56,"call","SetJobChartValues",3]]},{"name":"SetJobRangeByMyJob","line":59,"kind":"procedure","params":1,"steps":[[63,"write",167,"DeleteAll"],[71,"write",167,"Insert"]]},{"name":"DataPointClicked","line":76,"kind":"procedure","params":2,"steps":[[78,"call","FindCurrentJob",2],[79,"call","DrillDownJobValue",1]]},{"name":"DrillDownJobValue","line":88,"kind":"procedure","access":"local","params":1,"steps":[[90,"run","page",88]]},{"name":"InitializeBusinessChart","line":98,"kind":"procedure","access":"local","params":1,"steps":[[100,"ext","table",485,"Initialize",0]]},{"name":"AddMeasures","line":103,"kind":"procedure","access":"local","params":3,"steps":[[108,"ext","table",485,"AddDecimalMeasure",3],[109,"ext","table",485,"AddDecimalMeasure",3],[110,"ext","table",485,"AddDecimalMeasure",3],[114,"ext","table",485,"AddDecimalMeasure",3],[115,"ext","table",485,"AddDecimalMeasure",3],[116,"ext","table",485,"AddDecimalMeasure",3],[120,"ext","table",485,"AddDecimalMeasure",3],[121,"ext","table",485,"AddDecimalMeasure",3],[122,"ext","table",485,"AddDecimalMeasure",3]]},{"name":"SetXAxis","line":127,"kind":"procedure","access":"local","params":1,"steps":[[129,"ext","table",485,"SetXAxis",2]]},{"name":"SetJobChartValues","line":132,"kind":"procedure","access":"local","params":3,"steps":[[147,"call","CalculateJobRevenueAndCost",3],[148,"call","SetJobChartValue",6],[152,"call","CalculateJobCosts",3],[153,"call","SetJobChartValue",6],[157,"call","CalculateJobPrices",3],[158,"call","SetJobChartValue",6]]},{"name":"SetJobChartValue","line":164,"kind":"procedure","access":"local","params":6,"steps":[[166,"ext","table",485,"AddColumn",1],[167,"ext","table",485,"SetValueByIndex",3],[168,"ext","table",485,"SetValueByIndex",3],[170,"ext","table",485,"SetValueByIndex",3],[172,"ext","table",485,"SetValueByIndex",3]]},{"name":"CalculateJobRevenueAndCost","line":176,"kind":"procedure","params":3,"steps":[[179,"ext","codeunit",1008,"JobCalculateCommonFilters",1],[180,"ext","codeunit",1008,"CalculateAmounts",0],[181,"ext","codeunit",1008,"GetLCYCostAmounts",1],[182,"ext","codeunit",1008,"GetLCYPriceAmounts",1]]},{"name":"CalculateJobCosts","line":187,"kind":"procedure","params":3,"steps":[[190,"ext","codeunit",1008,"JobCalculateCommonFilters",1],[191,"ext","codeunit",1008,"CalculateAmounts",0],[192,"ext","codeunit",1008,"GetLCYCostAmounts",1],[193,"ext","codeunit",1008,"GetLCYPriceAmounts",1]]},{"name":"CalculateJobPrices","line":198,"kind":"procedure","params":3,"steps":[[201,"ext","codeunit",1008,"JobCalculateCommonFilters",1],[202,"ext","codeunit",1008,"CalculateAmounts",0],[203,"ext","codeunit",1008,"GetLCYCostAmounts",1],[204,"ext","codeunit",1008,"GetLCYPriceAmounts",1]]}]}