Replan Process

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

Process Settings

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

Setting Description Sample Value
ProcessID

This setting informs Cobra to run the Replan process.

Replan
Project

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

This setting is required.

Demo Advanced
UseAdjustingEntry

If value is set to 1, Cobra makes an adjustment in the current period when replan is performed.

Valid values are 1 or 0. Default value is 0.

1
ExtendFinishDate

If value is set to 1 and the status date is after the work package baseline finish date, the work package baseline finish date is changed to the day after the status date. The adjustment of the date ensures that the replanned entry is within the work package dates.

This setting applies only if UseAdjustingEntry is set to 1 and the status date is after the baseline finish date of the work package.

Valid values are 1 or 0. Default value is 0.

1
CreateNewWP

This setting instructs Cobra to create new work package.

This setting is ignored if ReplanMethodId is set to BP and the project's level at which to capture actual costs is set to Control Account.

Valid values are 1 or 0. Default value is 0.

1
AllowPlanned

If value is set to 1, Cobra replans the work packages that have not yet started and moves the baseline start date for the work packages to the status date so that the replanned entry occurs within the work package dates. If value is set to 0, Cobra skips the work package that has not yet started even if there is actual cost for that work package.

Valid values are 1 or 0. Default value is 0.

0
AllowCompleted

If value is set to 1, Cobra replans the completed work packages. If value is set to 0, Cobra replans only the incomplete work packages.

Valid values are 1 or 0. Default value is 0.

0
ProgressAdjustmentClass

Cobra stores the earned value of the replanned work package in the class that you specify in this setting.

Valid values are blank or any progress class.

If value is blank, Cobra uses the default class following this order:
  • The class defined in the Project Preferences.
  • The "EARNED", "Earned", or "EV" class that is defined in the project's classes.
  • The first project's progress class (following the alphabetical order.)
Earned
Criteria

Use this setting to specify which code of the project you want to replan.

Valid values are:
  • Total Project
  • Control Account
  • Work Package
  • Control Account Key Fields
  • Work Package Field
  • Control Account Codes 1 to 20
  • Work Package Codes 1 to 20
  • CAM
  • Work Package Manager

Default value is Total Project (displayed as ALL in the process log.)

Control Account
Selection Use this setting to specify the code that you want to include in the replan if Criteria is not set to Total Project.
IncludeChildren

If value is set to 1, Cobra runs the replan process against any code assignments with the selected code and its children.

Valid values are 1 or 0. Default value is 0.

0
ReplanMethodId

Use this setting to specify how replan should be calculated.

Valid values are:
  • BP: Budget = Progress = Actuals
  • P: Budget = Earned
Default value is BP.
BP
NewWPName

Use this setting to specify the name of the new work package.

This setting is required if one of the following conditions are met:
  • The CreateNewWP setting is set to 1.
  • The ReplanMethodId is set to BP and the project's level at which to capture actual costs is set to Control Account.
RepWP
NewWPNameIsSuffix

If value is set to 1, Cobra adds the value you specify in the NewWPName setting as suffix to the existing work package name.

This setting is ignored if the ReplanMethodId is set to BP and the project's level at which to capture actual costs is set to Control Account. Default value is 0.

0
NewWPDescription

Use this setting to specify the description for the new work packages.

Replan WP
LogComment

Use this setting to specify a comment for the log.

ChangeNumber

Use this setting to specify the change number.

Significant

If value is set to 1, Cobra flags the change as significant.

Valid values are 1 or 0.

Sample Script

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

[Process001]
ProcessID=Replan
Project=Demo Advanced
UseAdjustingEntry=1
ExtendFinishDate=1
CreateNewWP=1
AllowPlanned=0
AllowCompleted=0
ProgressAdjustmentClass=Earned
Criteria=Total Project
ReplanMethodId=BP
NewWPName=RepWP
NewWPNameIsSuffix=0
NewWPDescription=Replan WP