Skip to content

Latest commit

 

History

History
54 lines (31 loc) · 1.3 KB

Project.Assignment.Replan.md

File metadata and controls

54 lines (31 loc) · 1.3 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Assignment.Replan method (Project)
vbapj.chm131251
vbapj.chm131251
project-server
Project.Assignment.Replan
29ec0102-b4e4-c9dc-d930-4f8ff4069bd6
06/08/2017
medium

Assignment.Replan method (Project)

Replans the assignment by decreasing work or increasing duration.

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

ActiveCell.Assignment.Replan(pjConstrainToMaxUnitsByIncreasingDuration)

[!includeSupport and feedback]