Calculate Progress Process

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

Process Settings

Below are the settings you must define for the Calculate Progress API process.

Setting Description Sample Value
ProcessIDThis setting informs Cobra to run the Calculate Progress process. CalculateProgress
ProjectThis setting refers to the project where you are performing a Calculate Progress process.

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

Demo Advanced
ForceBaseSPIIf the value is set to 1, schedule performance index values for apportioned work packages are updated to match the source work package values.

This setting is optional and the default value is 0.

1
UseAdjustingEntryIf the value is set to 1, an adjusting entry is added to the work package to zero out the earned value entries instead of deleting them.

This setting is optional and the default value is the value set in the Use an adjusting entry to remove earned/earned value from deleted budget option on the Progress Preferences tab of the Project Properties dialog box.

0
MethodIdThis setting determines how the earned values are calculated.

Use one of the following values:

  • B: Budget
  • D: Dollars
  • T: Time
  • H: HoursSPI
    This setting is optional and the default value is the value set in the Earned/Earned value by: option on the Progress Preferences tab of the Project Properties dialog box. If you use this setting, you must specify the value with upper case letter (for example, MethodId=D, not MethodId=d).
    Note: If ProcessID=CalculateEV, you can also use EVMethodId instead of MethodId.
D
ExcludedProgressTechniques

Use this setting to specify one or more progress techniques. Work packages with the specified progress technique(s) will not be included in the Calculate Progress process.

Use one or more of the following values:
  • Level of Effort
  • Milestones
  • % Complete
  • Units Complete
  • 50-50
  • 0-100
  • 100-0
  • User Defined
  • Apportioned
  • Planning Package
  • Assignment % Complete
  • Calculated Apportionment
  • Earned As Spent
  • % Complete Manual Entry
  • Steps
Milestones,Apportioned
UpdateEACUse this setting to instruct Cobra whether to update the EAC values during the Calculate Progress process.

If the value is set to 1, Cobra updates the EAC values. However, if the Scale retain EAC field of the project is set to None, this setting will have no effect and Cobra will always update the EAC values.

This setting is optional and the default value is 0.

1
CalcAsgPercentCompleteUse this setting to instruct Cobra whether to calculate progress on apportioned work packages using the Assignment % Complete progress technique during the Calculate Progress process.

If the value is set to 1, Cobra calculates progress on apportioned work packages using the Assignment % Complete progress technique.

This setting is optional and the default value is 0.

1

Sample Script

Below is a sample script file for the Calculate Progress API process.

[Process008
ProcessID=CalculateProgress
Project= Demo Advanced
ForceBaseSPI=1
UseAdjustingEntry=0
MethodId=D
ExcludedProgressTechniques=Milestones,Apportioned
CalcAsgPercentComplete=1