Assignment.Replan Method (Project)

Replans the assignment by decreasing work or increasing duration.

Version Added: Project 2010

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

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

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

ActiveCell.Assignment.Replan(pjConstrainToMaxUnitsByIncreasingDuration)
Show:
© 2014 Microsoft