codeunitCopilot & Agentsofficial - Microsoftderived - from the source, no model text

Codeunit 2000 "Time Series Management"

Base Application · System.AI

Across versions

  1. BC23present
  2. BC244 procedures changed, 1 procedures added
  3. BC25-26unchanged
  4. BC272 procedures removed
  5. BC28-30unchanged

Neighbourhood 12 connected objects and pages

Codeunit 2001 "Azure ML Connector" (calls, 12 links)Azure ML ConnectorCodeunit 850 "Cash Flow Forecast Handler" (calls, 9 links)Cash Flow Forecast HandlerCodeunit 1850 "Sales Forecast Handler" (calls, 8 links)Sales Forecast HandlerCodeunit 362 "PeriodPageManagement" (calls, 4 links)PeriodPageManagementPage 1850 "Sales Forecast" (calls, 3 links)Sales ForecastPage 1851 "Sales Forecast No Chart" (calls, 3 links)Codeunit 701 "Data Type Management" (calls, 2 links)Data Type ManagementCodeunit 10 "Type Helper" (calls)Type HelperCodeunit 2004 "Machine Learning KeyVaultMgmt." (calls)Machine Learning KeyVaultMgmt.Codeunit 3002 "DotNet_CultureInfo" (calls)DotNet_CultureInfoTable 843 "Cash Flow Setup" (calls)Cash Flow Setuphttps://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ml-forecasting-api-overview (Learn pages)https://learn.microsoft.com/…

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · System.AI · BC23-30 · source at 4e6a307c · facts from BC29

Procedures

  • Initialize(Uri: Text; Key: SecretText; TimeOutSeconds: Integer; UseStdCredentials: Boolean) Δ BC24 + BC24 − BC27
  • InitializeFromCashFlowSetup(TimeSeriesLibState: Option Uninitialized,Initialized,"Data Prepared",Done): Boolean Δ BC24
  • SetMessageHandler(MessageHandler: DotNet HttpMessageHandler)
  • PrepareData(RecordVariant: Variant; GroupIDFieldNo: Integer; DateFieldNo: Integer; ValueFieldNo: Integer; PeriodType: Option; ForecastingStartDate: Date; ObservationPeriods: Integer)
  • SetPreparedData(var TempTimeSeriesBufferIn: Record "Time Series Buffer" temporary; PeriodType: Option; ForecastingStartDate: Date; ObservationPeriods: Integer)
  • GetPreparedData(var TempTimeSeriesBufferOut: Record "Time Series Buffer" temporary)
  • Forecast(ForecastingPeriods: Integer; ConfidenceLevel: Integer; TimeSeriesModel: Option)
  • GetForecast(var TempTimeSeriesForecastOut: Record "Time Series Forecast" temporary)
  • GetState(var State: Option Uninitialized,Initialized,"Data Prepared",Done)
  • GetOutput(LineNo: Integer; ColumnNo: Integer): Text
  • GetOutputLength(): Integer
  • GetInput(LineNo: Integer; ColumnNo: Integer): Text
  • GetInputLength(): Integer
  • GetParameter(Name: Text): Text
  • SetMinimumHistoricalPeriods(NumberOfPeriods: Integer)
  • SetMaximumHistoricalPeriods(NumberOfPeriods: Integer)
  • HasMinimumHistoricalData(var NumberOfPeriodsWithHistory: Integer; SourceRecord: Variant; PeriodFieldNo: Integer; PeriodType: Option Day,Week,Month,Quarter,Year; ForecastStartDate: Date): Boolean
  • GetTimeSeriesModelOption(TimeSeriesModel: Text): Integer
  • GetMLForecastCredentials(var LocalApiUri: Text[250]; var Key: SecretText; var LimitType: Option; var Limit: Decimal) Δ BC24 Δ BC24 − BC27

Plus 10 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.

Called by

Documented on Microsoft Learn

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

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: "Time Series Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources