{"title":"Codeunit 6310 PBI Top Opportunities Calc., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6310-pbi-top-opportunities-calc/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":6310,"name":"PBI Top Opportunities Calc.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/6310-pbi-top-opportunities-calc/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6310-pbi-top-opportunities-calc/source/","path":"src/Layers/W1/BaseApp/Integration/PowerBI/ReportingData/PBITopOpportunitiesCalc.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:5092":{"name":"Opportunity","url":"https://jonas-paprotka.de/ref/table/5092-opportunity/"},"table:6305":{"name":"Power BI Chart Buffer","url":"https://jonas-paprotka.de/ref/table/6305-power-bi-chart-buffer/"}},"procs":[{"name":"GetValues","line":16,"kind":"procedure","params":1,"steps":[[20,"call","CalcTopFiveOpportunities",1],[24,"call","InsertToBuffer",2]]},{"name":"CalcTopFiveOpportunities","line":28,"kind":"procedure","access":"local","params":1,"steps":[[32,"write",5092,"DeleteAll"],[40,"write",5092,"Insert"]]},{"name":"InsertToBuffer","line":44,"kind":"procedure","access":"local","params":2,"steps":[[53,"write",6305,"Insert"]]}]}