Cobra Help

Initialize Forecast Process

Use the Initialize Forecast API process to automatically initialize forecasts.

This process is available only through the Cobra API.

Process Settings

Below are the settings you must define for the Initialize Forecast API process.

Setting

Description

Sample Value

ProcessID

This setting informs Cobra to run the Initialize Forecast process.

InitializeForecast

Project

This setting refers to the project where you want to run the Initialize Forecast process.

The project name is case-sensitive. This setting is required.

Demo Advanced

ClassList

This setting contains a comma-delimited list of forecast classes to initialize.

This setting is required and must be specified.

F1,F2,F3,F4

Overwrite

If the value is set to 1, Cobra overwrites an existing forecast.

This setting is optional and the default value is 0.

1

CopyBaselineDates

If the value is set to 1, Cobra copies the baseline dates into the forecast dates.

This setting is optional and the default value is 0.

1

SkipUpdateTotals

If the value is set to 1, Cobra skips the update totals process at the end of the initialize forecast process.

This setting is optional and the default value is 0.

1

Sample Script

Below is a sample script file for the Initialize Forecast API process.

[PROCESS000]
ProcessId=InitializeForecast
Project=Demo Advanced
ClassList=F1,F2,F3,F4
Overwrite=1
CopyBaselineDates=1
SkipUpdateTotals=1

How to...

Run the API Script

Create Windows Shortcut for the API Script


Learn more about...

API Script

Project Template Creation

Forecasts


Parent Topic:

Process Sections of the API Script