[closed] how to convert a business ref to an objectid using the Primavera P6 API
![]()
Jessica Wilson (11●1●3)
| asked May 25 '17, 5:06 a.m.
closed May 25 '17, 10:06 a.m. by Ralph Schoon (63.3k●3●36●46) My goal is to add an activity code assignment to an activity using the P6 API, but the catch is the activity code is hierarchical. Using the methods in BOHierarchicalMap class I was able to create a BOHierarchyMap to represent the hierarchical activity code, but that class only provides a business object reference (BOHierarchyMap.ref) and not an ObjectId for the map. In order to create an activity code assignment, I need the ObjectId of the activity code. I've searched Oracle's Primavera forums, and the Internet in general without any success. Does anyone have experience with hierarchical activity codes using the API to create an activity code assignment? If so, any pointers would be greatly appreciated! |