ForecastLoadTypeArray

Forecast Load Type Array

Major Business Rule

Object Name: B3400800

Parent DLL: CMFG

Location: Client/Server

Language: C

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

Move ForecastType to @NF,LoadMethodType
Else

Load a forecast type array (@NF) as follows:

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

Else

Move blanks to @NF,ClearForecastType

End


^

Data Structure

D3400800 - Forecast Load Type Array

Parameter NameData ItemData TypeReq/OptI/O/Both
szMethod1TYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

szMethod2TYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

szMethod3TYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

szMethod4TYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

szMethod5TYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

szMethod6TYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

szMethod7TYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

szMethod8TYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

szMethod9TYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

szMethod10TYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

szMethod11TYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

szMethod12TYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

szForecastTypeTYPFcharNONENONE

A user defined code (34/DF) that indicates one of the following:     o The forecasting method used to calculate the numbers displayed about 
the item     o The actual historical information about the item 

idTypeArrayGENLNGIDNONENONE

General purpose ID variable.

mnClearForecastTypeMATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

Related Functions

None

Related Tables

None