Codeunit 781 "Sales Pipeline Chart Mgt."
Base Application · Microsoft.Sales.Analysis
Across versions
- BC23-30present
Neighbourhood 3 connected objects and pages
Base Application · Microsoft.Sales.Analysis · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeDrillDown(var OppEntry: Record "Opportunity Entry")(integration): Raised before opening the opportunity entries page during drill-down.OnBeforeSetDefaultSalesCycle(var SalesCycle: Record "Sales Cycle")(integration): Raised before selecting the default sales cycle.OnGetOppEntryCountOnBeforeCount(var OppEntry: Record "Opportunity Entry")(integration): Raised before counting opportunity entries for a sales cycle stage.OnTryNextSalesCycleOnBeforeNextSalesCycleFind(var NextSalesCycle: Record "Sales Cycle")(integration): Raised before checking if a next sales cycle is available.OnTryPrevSalesCycleOnBeforePrevSalesCycleFind(var PrevSalesCycle: Record "Sales Cycle")(integration): Raised before checking if a previous sales cycle is available.
Procedures
DrillDown(var BusinessChartBuffer: Record "Business Chart Buffer"; var SalesCycleStage: Record "Sales Cycle Stage"): Opens the opportunity entries page filtered by the selected sales cycle stage.GetOppEntryCount(SalesCycleCode: Code[10]; SalesCycleStage: Integer): Integer: Returns the count of opportunity entries for the specified sales cycle and stage.InsertTempSalesCycleStage(var TempSalesCycleStage: Record "Sales Cycle Stage" temporary; SalesCycle: Record "Sales Cycle"): Populates a temporary table with stages from the specified sales cycle.SetDefaultSalesCycle(var SalesCycle: Record "Sales Cycle"; var NextSalesCycleAvailable: Boolean; var PrevSalesCycleAvailable: Boolean): Boolean: Sets the default sales cycle and determines navigation availability.SetPrevNextSalesCycle(var SalesCycle: Record "Sales Cycle"; var NextSalesCycleAvailable: Boolean; var PrevSalesCycleAvailable: Boolean; Step: Integer): Navigates to the previous or next sales cycle and updates availability flags.UpdateData(var BusinessChartBuffer: Record "Business Chart Buffer"; var TempSalesCycleStage: Record "Sales Cycle Stage" temporary; SalesCycle: Record "Sales Cycle"): Updates the chart data with opportunity counts for each sales cycle stage.
Plus 2 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Page 5130 “Opportunity Entries” (1 call:
DrillDown → (object))
Called by
- Codeunit 6309 “PBI Sales Pipeline Chart Calc.” (2 calls:
GetValues → InsertTempSalesCycleStage,InsertToBuffer → GetOppEntryCount) - Page 781 “Sales Pipeline Chart” (2 calls:
OnOpenPage → SetDefaultSalesCycle,UpdateChart → UpdateData)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Sales Pipeline Chart Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.