DeleteSummaryForecasts

Delete Summary Forecasts

Major Business Rule

Object Name: B3400740

Parent DLL: CMFG

Location: Client/Server

Language: C

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.




^

Data Structure

D3400740 - Delete Summary Forecasts

Parameter NameData ItemData TypeReq/OptI/O/Both
jdBeginDateDRQJJDEDATENONENONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

jdEndDateDRQJJDEDATENONENONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

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 

szSummaryCodeKVERcharNONENONE

A user defined code (40/KY) that indicates the type of summary forecast.

Related Functions

None

Related Tables

F3400 Forecast Summary File
F34006 Forecast Summary Work File