When Using P6 Web Services to Delete Resource Assignments the Units are Not Handled as Expected
(Doc ID 3021349.1)
Last updated on MAY 08, 2024
Applies to:
Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 22.1 and laterPrimavera Web Services - Version 22.12 and later
Information in this document applies to any platform.
Symptoms
When deleting all Resource Assignments from an Activity in P6 Web the user is prompted with a dialog box asking how the Units should be handled. The dialog shows the question "All the labor/non labor resource(s) have been deleted for the Activity. Do you wish to reset
the labor/non labor units of the activity to 0?". When selecting No the Units are kept on the Activity level. When choosing Yes the Units are set to 0 at the Activity level. When deleting Resource Assignments using P6 Web Services it is not clear how the Units will be handled. In some cases the Units are being set to 0, but in most cases the Units are left on the Activity. The behavior is different on the same activity with different users.
How does P6 Web Services determine how to treat Units when all Resource Assignments are deleted?
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Delete Resource Assignments using P6 Web Services. For example:
p6ws/services/ResourceAssignmentService
<v1:DeleteResourceAssignments>
<!--1 or more repetitions:-->
<v1:ObjectId>105239</v1:ObjectId>
</v1:DeleteResourceAssignments>
2. In P6 see that the Activity Actual Units are set to 0, however, for another user the units are kept at the activity level.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |