Source AL, 480 lines
src/Layers/W1/BaseApp/System/AI/TimeSeriesManagement.Codeunit.allines 10 to 25 of 480, Copyright (c) Microsoft Corporation. MIT
codeunit 2000 "Time Series Management"{ trigger OnRun() begin end; var TempTimeSeriesBuffer: Record "Time Series Buffer" temporary; TempTimeSeriesForecast: Record "Time Series Forecast" temporary; AzureMLConnector: Codeunit "Azure ML Connector"; ApiUri: Text; ApiKey: SecretText; NotInitializedErr: Label 'The connection has not been initialized. Initialize the connection before using the time series functionality.'; InitializationErr: Label 'Oops, something went wrong when connecting to the Azure Machine Learning endpoint. Please contact your system administrator.'; TimeOutSec: Integer;
All 480 lines
Public procedures 19 in 29
| SetMessageHandler(MessageHandler: DotNet HttpMessageHandler) | 17-29 |
| PrepareData(RecordVariant: Variant; GroupIDFieldNo: Integer; DateFieldNo: Integer; ValueFieldNo: Integer; PeriodType: Option; ForecastingStartDate: Date; ObservationPeriods: Integer) | 17-29 |
| SetPreparedData(var TempTimeSeriesBufferIn: Record "Time Series Buffer" temporary; PeriodType: Option; ForecastingStartDate: Date; ObservationPeriods: Integer) | 17-29 |
| GetPreparedData(var TempTimeSeriesBufferOut: Record "Time Series Buffer" temporary) | 17-29 |
| Forecast(ForecastingPeriods: Integer; ConfidenceLevel: Integer; TimeSeriesModel: Option) | 17-29 |
| GetForecast(var TempTimeSeriesForecastOut: Record "Time Series Forecast" temporary) | 17-29 |
All 21 procedures in 17-29
Changes 2 in 27
| Initialize(Uri: Text; Key: Text; TimeOutSeconds: Integer; UseStdCredentials: Boolean): Boolean | gone after 26 |
| gone |
| GetMLForecastCredentials(var LocalApiUri: Text[250]; var Key: Text[200]; var LimitType: Option; var Limit: Decimal): Boolean | gone after 26changed in 24 |
| gone |
All 8 changes in 17-29