1.Functional Description
1.1Purpose
This function will load the forecast type entered in the processing options of the forecast
generation program (P34650) into an array.
1.2Setup Notes and Prerequisites
1.3Special Logic
If the method in the option is an acutal forecast type, the type will be loaded into the array and a
1 will be returned in the method parameter
2.Technical Specifications
If ClearForecastType is equal to 0
If LoadMethodType is not equal to 0
Else
If Method1 is not blank and not one
Move it to the @NF,1
Move 1 to Method1
End
If Method2 is not blank and not one
Move it to the @NF,2
Move 1 to Method2
End
DO THE ABOVE FOR ALL 12 METHODS
Move the ForecastType into the last postion of @NF
End
Move blanks to @NF,ClearForecastType
End
^
D3400800 - Forecast Load Type Array
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szMethod1 | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
szMethod2 | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
szMethod3 | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
szMethod4 | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
szMethod5 | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
szMethod6 | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
szMethod7 | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
szMethod8 | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
szMethod9 | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
szMethod10 | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
szMethod11 | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
szMethod12 | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
szForecastType | TYPF | char | NONE | NONE |
A user defined code (34/DF) that indicates one of the following:
o The forecasting method used to calculate the numbers displayed about
| ||||
idTypeArray | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
mnClearForecastType | MATH01 | MATH_NUMERIC | NONE | NONE |
- - - Good Performance Low Value. |
None |
None |