Table of contents
TOC
Collapse the table of content
Expand the table of content

Assignment.Replan Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Replans the assignment by decreasing work or increasing duration.

Syntax

expression. Replan( ** action** )

expression An expression that returns a Assignment object.

Parameters

NameRequired/OptionalData TypeDescription
actionRequiredPjAssignmentReplanActionCan 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 the following example, an overallocated assignment selected in the Team Planner view is changed to increased duration.

ActiveCell.Assignment.Replan(pjConstrainToMaxUnitsByIncreasingDuration)
© 2018 Microsoft