Cobra Help

Process Sections of the API Script

Use the process sections of the API script to define the API processes that you want to run in a batch.

  • Each section must have a ProcessID setting that identifies a valid API process to run.
  • The settings that are relevant for each API process depend on the process itself.
  • Cobra recognizes a maximum of 999 API processes in a single API script.
    The Process Number consists of three digits, which can be from 001-999. API processes are run based on the order that they appear in the API script, and not based on the process ID. Process ID numbers are used for reference in error messages in the log files. Process IDs should be unique for each API process.

    Note: If an API process fails, processing still continues with the other API processes.
  • The value you specify for the API setting must align with the format (case and spacing) of the corresponding Cobra field option.

  • Each process section can contain the Exit on Error parameter. For example, ExitOnError=0. Values can be 0 or 1.

    • 1: Abort all processing if the API process that contains this setting results in an error.
    • 0: Continue processing even if the API process that contains this setting results in as error. For example,

Advance Calendar Process

Use the Advance Calendar API process to advance the calendar for a selected project.

ANSI EIA X12 Process

Use the ANSI EIA X12 API process to automatically export ANSI EIA X12 data.

Apportionment Process

Use the Apportionment API process to calculate apportioned budget and forecast values for a selected project.

Backup Project Process

Use the Backup Project API process to back up a Cobra project in a specified location.

Batch Report Process

Use the Batch Report API process to run a Cobra batch report.

Calculate Progress Process

Use the Calculate Progress API process to calculate the value earned for a specific period.

Calculate Forecast Process

Use the Calculate Forecast API process to automatically calculate forecasts.

Copy Project Process

Use the Copy Project API process to create a new Cobra project by copying an existing project. You can also use this process to copy a Cobra master project which results in a new copy of the master project and all its children projects.

Cost Data Export Process

Use the Cost Data Export API process to generate the Cost Data Export file in batch.

Create Project from Template Process

Use the Create Project from Template API process to create a new project from an XML configuration file.

Delete Project Process

Use the Delete Project API process to automatically delete projects.

Freeze Forecast Process

Use the Freeze Forecast process to freeze a forecast and retain historical forecast data

Get Cobra Spread Process

Use the Get Cobra Spread API process to view the results of a Cobra Tphase spread for a specified resource and date range.

Initialize Forecast Process

Use the Initialize Forecast API process to automatically initialize forecasts.

Integrate Actual Costs Process

Use the Integrate Actual Costs API process to import actual costs into a project in progress.

Integrate Ancillary Data Process

Use the Integrate Ancillary Data API process to automate the import of ancillary files. This improves integration with other applications.

Integrate Apportionment Definition Process

Use the Integrate Apportionment Definition API process to import apportionment definition for a selected resource file.

Integrate Apportionment Mapping Process

Use the Integrate Apportionment Mapping API process to calculate apportioned budget and forecast values for a selected project using the Integration Wizard.

Integrate Project Data Process

Use the Integrate Project Data API process to integrate a Cobra project with a schedule.

Recalculate Process

Use the Recalculate API process to recalculate data in a project file.

Reclass Process

Use the Reclass API process to change, copy, or replace an existing cost class with a different cost class.

Reconcile Log Process

Use the Reconcile Log API process to reconcile project logs.

Replace Resources Process

Use the Replace Resources API process to automatically replace resources.

Replan Process

Use the Replan API process to remove variances from any ongoing projects.

Respread Process

Use the Respread API process to respread project costs.

Restore Process

Use the Restore API process to automatically restore projects in batch.

Rolling Wave Process

Use the Rolling Wave API process to facilitate weekly earned value management and reporting over a user defined period while the remaining project data before and after this period is stored less frequently (generally, monthly).

Set Project Baseline Process

Use the Set Project Baseline API process to set and verify the values for the contract budget accounts.

SQL Command Process

Use the SQL Command API process to automate SQL scripts, which is helpful in exporting data or running SQL scripts on data.

Update Totals Process

Use the Update Totals API process to update and save the total values for Budget, Earned, Actuals, and Forecast.

Update Tphase Process

Use the Update Tphase API process to update an individual Tphase (time-phase) period for a specified resource and date.

Validity Check Process

Use the Validity Check API process to automatically run a validity check.

wInsight Export Process

Use the wInsight Export API process to export Cobra data to wInsight in batch.

Zero-Out Data Process

Use the Zero-Out Data process to set budget, forecast, progress, or actual time-phased resource values to zero.


Parent Topic:

API Script