1.Functional Description
This function is to be used to get the forecast quantity and amounts from the forecast file. The
application using this function should provide the short item number, branch/plant, forecast year, and
forecast type.
1.1Purpose
The purpose of this business function is to return the forecast quantity and forecast amount from the
forecast summary record.
1.2Setup Notes and Prerequisites.
Pass to the business function both quantity and amount fields along with item, branch/plant,
calendar year, and forecast type. The quantity and amount will be returned.
1.3Special Logic
None.
2.Technical Specifications
Fetch all Forecast records (F3460) corresponding to the input Short Item (ITM), Branch (MCU), and
Forecast Type (TYPF) with a Requested Date (DRQJ) that falls in the input Calendar Year (i.e. 1/1/yr <=
DRQJ <= 12/31/yr).
If no records are found, return error message ID "0002" (Record Invalid). If Suppress Error Message =
'0' highlight the ITM field.
^
D3400160 - GetForecast
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnShortItemNumber | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szBranch | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
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
| ||||
mnCalendarYear | YR | MATH_NUMERIC | NONE | NONE |
The calendar year for this calendar. | ||||
mnForecastQuantity | FQT | MATH_NUMERIC | NONE | NONE |
The quantity of units forecasted for production during a planning period. | ||||
mnForecastAmount | FAM | MATH_NUMERIC | NONE | NONE |
The current amount of the forecasted units for a planning period. | ||||
szErrorMessageID | DTAI | char | NONE | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
| ||||
cSuppressErrorMessages | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. |
None |
F3460 Forecast File |