Codeunit 2000 "Time Series Management"
Base Application · System.AI
Across versions
- BC23present
- BC243 procedures changed, 1 procedures added
- BC25-26unchanged
- BC271 procedures removed
- BC28-30unchanged
Neighbourhood 11 connected objects and pages
Base Application · System.AI · BC23-30 · source at ea08af5e · facts from BC29
Procedures
Initialize(Uri: Text; Key: SecretText; TimeOutSeconds: Integer; UseStdCredentials: Boolean)+ BC24 − BC24InitializeFromCashFlowSetup(TimeSeriesLibState: Option Uninitialized,Initialized,"Data Prepared",Done): BooleanΔ BC24SetMessageHandler(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): TextGetOutputLength(): IntegerGetInput(LineNo: Integer; ColumnNo: Integer): TextGetInputLength(): IntegerGetParameter(Name: Text): TextSetMinimumHistoricalPeriods(NumberOfPeriods: Integer)SetMaximumHistoricalPeriods(NumberOfPeriods: Integer)HasMinimumHistoricalData(var NumberOfPeriodsWithHistory: Integer; SourceRecord: Variant; PeriodFieldNo: Integer; PeriodType: Option Day,Week,Month,Quarter,Year; ForecastStartDate: Date): BooleanGetTimeSeriesModelOption(TimeSeriesModel: Text): IntegerGetMLForecastCredentials(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.
- Codeunit 2001 “Azure ML Connector” (12 calls:
CreateTimeSeriesInput → AddInputColumnName,CreateTimeSeriesInput → AddInputRow,CreateTimeSeriesInput → AddInputValue, …) - Codeunit 362 “PeriodPageManagement” (4 calls:
CalculatePeriodsWithHistory → MoveDateByPeriod,FillTimeSeriesBuffer → MoveDateByPeriod,FillTimeSeriesBuffer → MoveDateByPeriodToEndOfPeriod, …) - Codeunit 701 “Data Type Management” (2 calls:
FillTimeSeriesBuffer → GetRecordRef,HasMinimumHistoricalData → GetRecordRef) - Codeunit 10 “Type Helper” (1 call:
LoadTimeSeriesForecast → Evaluate) - Codeunit 2004 “Machine Learning KeyVaultMgmt.” (1 call:
GetMLForecastCredentials → GetMachineLearningCredentials) - Codeunit 3002 “DotNet_CultureInfo” (1 call:
LoadTimeSeriesForecast → CurrentCultureName)
Called by
- Codeunit 850 “Cash Flow Forecast Handler” (9 calls:
CalculateVATAndLedgerForecast → Forecast,CalculateVATAndLedgerForecast → GetForecast,CalculateVATAndLedgerForecast → SetPreparedData, …) - Codeunit 1850 “Sales Forecast Handler” (8 calls:
CalculateForecast → Forecast,CalculateForecast → GetForecast,InitializeTimeseries → GetMLForecastCredentials, …) - Page 1850 “Sales Forecast” (3 calls:
UpdateStatus → HasMinimumHistoricalData,UpdateStatus → SetMaximumHistoricalPeriods,UpdateStatus → SetMinimumHistoricalPeriods) - Page 1851 “Sales Forecast No Chart” (3 calls:
UpdateStatus → HasMinimumHistoricalData,UpdateStatus → SetMaximumHistoricalPeriods,UpdateStatus → SetMinimumHistoricalPeriods) - Table 843 “Cash Flow Setup” (1 call:
RetrieveSaaSMLCredentials → GetMLForecastCredentials)
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.