Apportionment Process

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

Note: There is a limit of six levels of calculations in the Apportionment API process.

Process Settings

Below are the settings you must define for the Apportionment API process.

Setting Description Sample Value
ProcessID This setting informs Cobra to run the Apportionment process. Apportionment
Project This setting refers to the project where you want to run the apportionment process.

You must define apportionment mapping for the project before the process runs.

This setting is required.

Demo Advanced
Scope Use one of the following values:
  • All: Use this value to recalculate all selected costs regardless of their status. Recalculation applies to historical data.
  • Remaining: Use this value to recalculate from the status date forward without changing historical data.
  • DateRange: Use this value to set the date range where Cobra should recalculate.

    This setting is optional, and the default value is All.

Remaining
StartDateLabel This setting refers to a valid calendar label and is the starting date for the DateRange setting.

This setting is optional, and the default value is set to the starting date for the DateRange setting.

JAN07
EndDateLabel This setting refers to a valid calendar label and is the ending date for the DateRange setting.

Use StartDateLabel and EndDateLabel only if you use DateRange for the Scope setting.

This setting is optional, and the default value is the ending date for the DateRange setting.

APR07
ClassList This setting contains a comma-delimited list of the classes to recalculate. This setting supports the inclusion of cost reporting sets.

If you leave this setting blank, the calculation process does not run.

Budget,Forecast,OTB
RunTotalSPA If this value is set to  1, Cobra runs the Update Totals process after the apportionment calculations is completed.

This setting is optional and the default value is 1.

0

Sample Script

Below is a sample script file for the Apportionment API process.

[Process012]
ProcessID=Apportionment
Project=Demo Advanced
Scope=ALL
StartDateLabel=JAN07
EndDateLabel=APR07
ClassList=Budget,Forecast,OTB
RunTotalSPA=0