Reclass Process
Use the Reclass API process to change, copy, or replace an existing cost class with a different cost class.
Process Settings
Below are the settings you must define for the Reclass API process.
Setting | Description | Sample Value |
---|---|---|
ProcessID | This setting informs Cobra to run the Reclass process. | Reclass |
Project | This setting refers to the project for which you want to run the Reclass process.
This setting is required. |
Demo Advanced |
SourceClass | This setting refers to the source class from which you copy, change, or replace the data of the target class.
This setting is required. |
Budget |
SourceAction | Use one of the following values for this setting:
This setting is required. |
CopyDelete |
TargetAction | Use one of the following values for this setting:
This setting is required. |
Replace |
TargetClass | This setting refers to the target class where you copy, change, or replace data from the source class.
This setting is required. |
OTB |
CopyResourceAssignmentCodeFrom |
Use this setting to specify which class should retain the resource assignment codes. Use one of the following values for this setting:
This setting is optional, and the default value is Source. |
Source |
Criteria | Use this setting to choose the selection criterion you want to use for the Reclass process. The selection criteria changes based on the project.
Use one of the values for this setting:
This setting is optional, and the default value is Total Project. |
Resources |
IncludeChildren | Use this setting to specify whether the selected criterion should include child elements or not.
This setting is optional, and the default value is 0. |
1 |
Selection | Use this setting to select the portion of the project for the Reclass process. The available values are based on the value you specify for the
Criteria setting.
If you specify Total Project for the Criteria setting, the Selection setting is blank. This setting is optional, and by default, no value is specified. |
1.1 |
Scope | Use one of the following values for this setting:
This setting is optional, and the default value is All. |
DateRange |
StartDateLabel | Use this setting if
Scope=DateRange. 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 the starting date for the DateRange setting. |
JAN07 |
EndDateLabel | Use this setting if
Scope is set to
DateRange. 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 |
AllowComplete | Use this setting to indicate whether you want to perform a reclass of the completed control accounts and work packages or not.
This setting is optional, and the default value is the value set in the Allow reclass of completed Control Account and Work Package option on the Reclass Preferences tab of the Project Properties dialog box. |
1 |
IncludeForecastInUpdateTotals | If the target class is a Forecast class, setting this value to
1 will include the Forecast class values when you run the Update Totals process after the Reclass process is finished.
This setting is optional, and the default value is 0. |
0 |
CopyBaselineDatesToForecastDates |
When this setting is set to
1, Cobra copies the baseline dates to the forecast dates if the following conditions are met:
This setting is optional, and the default value is 0. Note: A value of
0 means the setting is turned off. A value of
1 means the setting is turned on.
|
1 |
CopyPendingDatesToBaselineDates |
When this setting is set to
1, Cobra copies the baseline dates to the forecast dates if the following conditions are met:
This setting is optional, and the default value is 0. Note: A value of
0 means the setting is turned off. A value of
1 means the setting is turned on.
|
1 |
Sample Script
Below is a sample script file for the Reclass API process.
[Process001]
ProcessID=Reclass
Project=Demo Advanced
SourceAction=Copy
SourceClass=Pending_Budget
TargetAction=Replace
TargetClass=Budget
Criteria=Total Project
Scope=All
AllowComplete=1
CopyPendingDatesToBaselineDates=1