1.Functional Description
1.1Purpose
This function will read the either the Summary Forecast (F3400) and Summary Forecast work file
(F34006) and delete those records that have the same forecast type, summary code and a date less than or
equal to the date passed in
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
1.SETLL on the Summary Forecast file (F3400) with the BeginDate, forecast type and summary code
Read the file equal to the forecast type and summary code
If the date on the record is less than or equal to the EndDate
Delete the F3400 record.
For each F3400 record read, read the Forecast Summary Work file (F34006) with the summary
code(KVER) and forecast summary key for the component (SFKE)
Delete all records with a key equal to this.
^
D3400740 - Delete Summary Forecasts
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
jdBeginDate | DRQJ | JDEDATE | NONE | NONE |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
jdEndDate | DRQJ | JDEDATE | NONE | NONE |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
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
| ||||
szSummaryCode | KVER | char | NONE | NONE |
A user defined code (40/KY) that indicates the type of summary forecast. |
None |
F3400 Forecast Summary File | ||||
F34006 Forecast Summary Work File |