title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Assignment.Replan method (Project) |
vbapj.chm131251 |
|
project-server |
|
29ec0102-b4e4-c9dc-d930-4f8ff4069bd6 |
06/08/2017 |
medium |
Replans the assignment by decreasing work or increasing duration.
expression. Replan
( _action_
)
expression An expression that returns a Assignment object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
action | Required | PjAssignmentReplanAction | Can be one of the following constants in PjAssignmentReplanAction: pjConstrainToMaxUnitsByDecreasingWork or pjConstrainToMaxUnitsByIncreasingDuration. |
Nothing
For example, if a resource calendar changes so that the resource becomes overallocated, you can replan the overallocated assignments.
In the following example, an overallocated assignment selected in the Team Planner view is changed to increased duration.
ActiveCell.Assignment.Replan(pjConstrainToMaxUnitsByIncreasingDuration)
[!includeSupport and feedback]