DELETE_FORECAST

Use the DELETE_FORECAST script function to delete one or more Forecasts stored in the Automation Engine database. This script function deletes any type of Forecast:

Syntax

DELETE_FORECAST (FC_TITLE [,DAYS] ,[FORCED])

Parameters

Note: The FC_TITLE and DAYS parameters are logically combined by an AND operator. The script function deletes Forecasts with the specified title that start on the specified day.

Return Codes

The number of deleted Forecasts is displayed in message number 20824 in the report of the executable object that calls the script.

Examples

The following examples show how to achieve different results with DELETE_FORECAST:

See also:

seealso

AutoForecast

Script Elements for Handling Objects