Codeunit 18126151 EOS058 Average Calculation
Codeunit 18126151 EOS058 Average Calculation
Methods
AnalyzeForecastFormula
procedure AnalyzeForecastFormula(var ScmWkshLine: Record "EOS058 Worksheet Line"; var TempScmFormulaLine: Record "EOS058 Formula Line"; var TempTimeSeriesBufferIn: Record "Time Series Buffer"; var TempTimeSeriesForecast: Record "Time Series Forecast"; FormulaCode: Code[10]; ForecastPeriods: Integer): Boolean
Analyzes the forecast formula for a given SCM worksheet line. This procedure calculates the average value based on the formula defined in the SCM worksheet line.
Parameters / Return Value
ScmWkshLine
Record "EOS058 Worksheet Line"
Record “EOS058 Worksheet Line”
TempScmFormulaLine
Record "EOS058 Formula Line"
Record “EOS058 Formula Line”
TempTimeSeriesBufferIn
Record "Time Series Buffer"
Record “Time Series Buffer”
TempTimeSeriesForecast
Record "Time Series Forecast"
Record “Time Series Forecast”
FormulaCode
Code[10]
ForecastPeriods
Integer
Returns
Boolean
CalculateForecast
procedure CalculateForecast(var ScmWkshLine: Record "EOS058 Worksheet Line"; PlannedStartingDate: Date; PlannedEndingDate: Date;StartingDate: Date; EndingDate: Date; NoOfPeriods: Integer)
Parameters / Return Value
ScmWkshLine
Record "EOS058 Worksheet Line"
PlannedStartingDate
Date
PlannedEndingDate
Date
StartingDate
Date
EndingDate
Date
NoOfPeriods
Integer
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.