How can I use XOG to load hard booking, and soft booking allocation entries for resources on a specific project?
For a given project, you may want to use XOG to load in allocations for the resources on the project team. At times, you may want to give a certain resource a "hard booking" allocation entry on that project.
Environment
CA PPM - On Premise or On Demand - All Versions
Resolution
This can be done, however, each entry in the input xml file needs to have the proper booking status, and allocation tags used in order for the system to recognize that resource as being hard booked or soft booked for that project.
For example, lets use a resource named Resource1. First, add a "hard allocation" to a project for Resource1 through the GUI. Then XOG out that project's allocations using the xml file "prj_projects_alloc_act_etc_read.xml" - in tthat file, specify the project ID, and then run XOG to output the data to a separate file.
Open that file and search for the word "Resource1", and located the section with the hard booking allocation entry that was created for Resource1 on that project within the GUI, and then locate an entry for another resource, "Resource2", who had a soft booking allocation entry. Note the differences between the hard booking allocation and soft booking allocation entries.
The hard booking allocation resource entry for Resource1 has the allocation tag as "HardAllocCurve", and that the entry for Resource1 had a "booking status" of "15"
The soft booking allocation resource entry for Resource2 has a "booking status" of "5", and the allocation tag was just "AllocCurve" (note it didn't have SoftAllocCurve, but rather just AllocCurve).
Here are XML examples for the hard booking and soft booking allocations:
Hard Booking Allocation XML Resource Entry for Resource1:
Note the highlighted values above as those are the differentiating factors between the Hard Book Allocation and Soft Book Allocation entries for resources.
The key to this is that you can only have one resource entry per resource, per XOG run, and that entry needs to have the proper booking status on it, as well as the proper allocation tags. Note that you cannot have multiple allocation types used in the same load file, for the same resource. If you need to have both hard and soft booking allocation entries for the same resource, this would need to be done using separate XOG runs with the separate input files containing the proper tags and values for those entries.
Additional Information
For more information about using XOG, please see the XOG documentation here: https://docops.ca.com