Hello Senthil,
My sincere apologies for the delay.
I was using a similar query (shown here) that inner joins the PRTeam table with the PRJ_BLB_Slices for Daily Resource Allocations (Slice Request ID of 10). The output did not include the daily allocation details for Roles.
My SQL Query |
---|
Select teamdb.prresourceid, teamdb.prroleid, sum(slicedb.slice), min(slicedb.slice_date), max(slicedb.slice_date) From prj_blb_slices sliceDB Inner join prteam teamdb on sliced.prj_object_id - teamdb.prid and teamdb.prprojectid = <five million number for the prj on your system> Group by teamdb.prresourceid, teamdb.prroleid |
I did not attempt running against the monthly slices but am assuming that the outcome would be similar.
The steps I had followed were
- Open a Project that already has the team tab loaded with named resources
- Go to the team tab
- Add 1 role that spans the project start and finish dates
- Ensure that the data mart extraction and timeslice jobs are run
- Run the SQL query shown below
The output did not include the allocation details for the role that was added.
I even changed the query such that prj_object_id was compared against the five million number for the role added to the team and there were no results.
I then had my colleague run the same steps and query on a higher version of CA PPM and his outcomes were similar to mine, (i.e.) no data in the Prj_Blb_Slices table for Daily resource allocations.
This is very puzzling and I was of the opinion that all allocation details irrespective of roles or named resources are stored under the same slice request id.
Getting to this data is crucial because one can create allocation segments for the roles being added to the team and attempts to extract the daily demand for the roles has hit this road block.
This is why my earlier question about the slice request ID pertinent to allocation data for Roles.
Kind regards.
Ashwin