Assignment.Replan Method (Project)

Replans the assignment by decreasing work or increasing duration.

Version Information

Version Added: Project 2010

Syntax

expression .Replan(action)

expression An expression that returns a Assignment object.

Parameters

Name

Required/Optional

Data Type

Description

action

Required

PjAssignmentReplanAction

Can be one of the following constants in PjAssignmentReplanAction: pjConstrainToMaxUnitsByDecreasingWork or pjConstrainToMaxUnitsByIncreasingDuration.

Return Value

Nothing

Remarks

For example, if a resource calendar changes so that the resource becomes overallocated, you can replan the overallocated assignments.

Example

In he following example, an overallocated assignment selected in the Team Planner view is changed to increased duration.

ActiveCell.Assignment.Replan(pjConstrainToMaxUnitsByIncreasingDuration)