There Is No getWBSPath Method for Activity Class in P6 Professional API While the Same Function Exists in P6 EPPM API
(Doc ID 3023130.1)
Last updated on MAY 20, 2024
Applies to:
Primavera P6 Professional Project Management - Version 23.12 and laterInformation in this document applies to any platform.
Symptoms
In the Primavera Integration API Release 23.12 documentation, the Activity class contains references to a field called WBSPath and a function called activityObject.getWBSPath(). When users go attempt to add the field to the load function or call the accessor function neither is recognized by the API Java library files. Even calls to Activity.getAllFields() that should list all fields for a class does not produce a field by the name of WBSPath.
STEPS TO REPRODUCE:
- Download P6 PPM API
- Configure Java Project
- Import Demo Application
- Setup Project lib
- Run the Java code to retrieve getWBSPath() method in activity class in P6 PPM API
- Exception is received
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method getWBSPath() is undefined for the type Activity
at ExampleError.main(ExampleError.java:39)
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 |