My Oracle Support Banner

P6 Web Services CopyWBSFromTemplate Service Returns Parent Object Id Instead of the Newly Created WBS Object Id (Doc ID 2475825.1)

Last updated on JANUARY 29, 2021

Applies to:

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

Symptoms

When trying to copy a WBS using the CopyWBSFromTemplate service, the parent Object Id is returned in the response message instead of the new WBS Object Id. The CopyWBSFromTemplate service is available for the ProjectService and the WBSService. When using this service the WBS Code and the WBS Name cannot be specified when copying the WBS, so there is no easy way to find the new WBS so that it can be edited. The expected behavior would be that the Object Id of the top node of the copied WBS be returned.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create a CopyWBSFromTemplate request using the Project service or the WBS service.
     <v2:CopyWBSFromTemplate>
        <v2:ObjectId>187354</v2:ObjectId>
        <v2:TemplateWbsObjectId>187355</v2:TemplateWbsObjectId>
     </v2:CopyWBSFromTemplate>

2. View the response and it will contain the Object Id specified in the request instead of the Object Id of the new WBS.
     <CopyWBSFromTemplateResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/Primavera/P6/WS/WBS/V2">
        <ObjectId>187354</ObjectId>
     </CopyWBSFromTemplateResponse>

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


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