Codeunit "Time Series Management"
ID 2000
Namespace: System.AI
Methods
Initialize
Obsolete
This element will become obsolete from version 24.0. Use Initialize(Uri: SecretText; "Key": SecretText; TimeOutSeconds: Integer; UseStdCredentials: Boolean) instead.
[NonDebuggable]
[Obsolete(Use Initialize(Uri: SecretText; "Key": SecretText; TimeOutSeconds: Integer; UseStdCredentials: Boolean) instead.,24.0)]
[TryFunction]
procedure Initialize(Uri: Text, "Key": Text, TimeOutSeconds: Integer, UseStdCredentials: Boolean): Boolean
Parameters
Name
Type
Description
Uri
Text
Key
Text
TimeOutSeconds
Integer
UseStdCredentials
Boolean
Returns
Initialize
[TryFunction]
procedure Initialize(Uri: Text, "Key": SecretText, TimeOutSeconds: Integer, UseStdCredentials: Boolean): Boolean
Parameters
Name
Type
Description
Uri
Text
Key
SecretText
TimeOutSeconds
Integer
UseStdCredentials
Boolean
Returns
InitializeFromCashFlowSetup
procedure InitializeFromCashFlowSetup(TimeSeriesLibState: Option): Boolean
Parameters
Name
Type
Description
TimeSeriesLibState
Option
Returns
PrepareData
procedure PrepareData(RecordVariant: Variant, GroupIDFieldNo: Integer, DateFieldNo: Integer, ValueFieldNo: Integer, PeriodType: Option, ForecastingStartDate: Date, ObservationPeriods: Integer)
Parameters
Name
Type
Description
RecordVariant
Variant
GroupIDFieldNo
Integer
DateFieldNo
Integer
ValueFieldNo
Integer
PeriodType
Option
ForecastingStartDate
Date
ObservationPeriods
Integer
SetPreparedData
procedure SetPreparedData(var TempTimeSeriesBufferIn: Record "Time Series Buffer" temporary, PeriodType: Option, ForecastingStartDate: Date, ObservationPeriods: Integer)
Parameters
Name
Type
Description
TempTimeSeriesBufferIn
Record "Time Series Buffer" temporary
PeriodType
Option
ForecastingStartDate
Date
ObservationPeriods
Integer
GetPreparedData
procedure GetPreparedData(var TempTimeSeriesBufferOut: Record "Time Series Buffer" temporary)
Parameters
Name
Type
Description
TempTimeSeriesBufferOut
Record "Time Series Buffer" temporary
Forecast
procedure Forecast(ForecastingPeriods: Integer, ConfidenceLevel: Integer, TimeSeriesModel: Option)
Parameters
Name
Type
Description
ForecastingPeriods
Integer
ConfidenceLevel
Integer
TimeSeriesModel
Option
GetForecast
procedure GetForecast(var TempTimeSeriesForecastOut: Record "Time Series Forecast" temporary)
Parameters
Name
Type
Description
TempTimeSeriesForecastOut
Record "Time Series Forecast" temporary
GetState
procedure GetState(var State: Option)
Parameters
Name
Type
Description
State
Option
GetOutput
procedure GetOutput(LineNo: Integer, ColumnNo: Integer): Text
Parameters
Name
Type
Description
LineNo
Integer
ColumnNo
Integer
Returns
GetOutputLength
procedure GetOutputLength(): Integer
Returns
GetInput
procedure GetInput(LineNo: Integer, ColumnNo: Integer): Text
Parameters
Name
Type
Description
LineNo
Integer
ColumnNo
Integer
Returns
GetInputLength
procedure GetInputLength(): Integer
Returns
GetParameter
procedure GetParameter(Name: Text): Text
Parameters
Name
Type
Description
Name
Text
Returns
SetMinimumHistoricalPeriods
procedure SetMinimumHistoricalPeriods(NumberOfPeriods: Integer)
Parameters
Name
Type
Description
NumberOfPeriods
Integer
SetMaximumHistoricalPeriods
procedure SetMaximumHistoricalPeriods(NumberOfPeriods: Integer)
Parameters
Name
Type
Description
NumberOfPeriods
Integer
HasMinimumHistoricalData
procedure HasMinimumHistoricalData(var NumberOfPeriodsWithHistory: Integer, SourceRecord: Variant, PeriodFieldNo: Integer, PeriodType: Option, ForecastStartDate: Date): Boolean
Parameters
Name
Type
Description
NumberOfPeriodsWithHistory
Integer
SourceRecord
Variant
PeriodFieldNo
Integer
PeriodType
Option
ForecastStartDate
Date
Returns
GetTimeSeriesModelOption
procedure GetTimeSeriesModelOption(TimeSeriesModel: Text): Integer
Parameters
Name
Type
Description
TimeSeriesModel
Text
Returns
See also