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 |
|---|---|---|
| ProcessID | This setting informs Cobra to run the Calculate Progress process. | CalculateProgress |
| Project | This 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 |
| ForceBaseSPI | If 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 |
| UseAdjustingEntry | If 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 |
| MethodId | This setting determines how the earned values are calculated. Use one of the following values:
| 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:
| Milestones,Apportioned |
| UpdateEAC | Use 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 |
| CalcAsgPercentComplete | Use 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