My Oracle Support Banner

When Using P6 Web Services to Read Resource Assignment Code Assignment the ProjectObjectId is Incorrect (Doc ID 2956594.1)

Last updated on JUNE 21, 2023

Applies to:

Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 21.5 and later
Information in this document applies to any platform.

Symptoms

When loading resource assignment codes using the ReadResourceAssignmentCodeAssignments service, the ProjectObjectId returned for the assignment codes is incorrect. The ProjectObjectId matches another project. The ReadResourceAssignments service returns the correct ProjectObjectId.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Call the ReadResourceAssignments service to get a list of resource assignments. For example,
  
     <v1:ReadResourceAssignments>
        <v1:Field>ActivityId</v1:Field>
        <v1:Field>ObjectId</v1:Field>
        <v1:Field>ProjectId</v1:Field>
        <v1:Field>ResourceId</v1:Field>
        <v1:Filter>ProjectObjectId=4835</v1:Filter>
     </v1:ReadResourceAssignments>

  

2. Call the ReadResourceAssignmentCodeAssignments service to get a list of code assignments for the resource assignments returned in #1. For example,
  
     <v1:ReadResourceAssignmentCodeAssignments>
        <v1:Field>ResourceAssignmentObjectId</v1:Field>
        <v1:Field>ResourceAssignmentCodeValue</v1:Field>
        <v1:Field>ProjectObjectId</v1:Field>
        <v1:Filter>ResourceAssignmentObjectId in (1234, 5678, 9012, 3045)</v1:Filter>
     </v1:ReadResourceAssignmentCodeAssignments>

  

3. Notice the ProjectObjectId from #1 and ProjectObjectId from #2 do not match.

Changes

 

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
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.