DWH_INV_TEAM_PERIOD_FACTS allocation_cost wrong when allocated hours set to 0
book
Article ID: 397860
calendar_today
Updated On:
Products
Clarity PPM On PremiseClarity PPM SaaS
Issue/Introduction
DWH_INV_TEAM_PERIOD_FACTS table allocation_cost is incorrect after erasing allocation in Clarity
STEPS TO REPRODUCE:
Create a project and financially enable it
Add a team member and financially enable him
Run the Rate Matrix extraction job
Add some allocation to the team member and Update Cost Totals
On the team tab, you can see Allocation and Allocation cost values for the team member
Run the Time slicing jobs and run the Load DWH job
Check following data on DWH schema
SELECT * FROM DWH_INV_TEAM_PERIOD_FACTS where INVESTMENT_KEY in (5151159) and resource_key = 5063406
Check following data on PPM schema
select * from dwh_inv_team_per_facts_v where team_key = 5154574
SELECT * from PRJ_BLB_SLICES WHERE SLICE_REQUEST_ID in (1000028,1000014) and prj_object_id = 5154574
You can see allocation hours and allocation cost as expected
Go to the project team and increase allocation figures and run Update Cost Totals
Run the Time slicing jobs and run the Load DWH job
Check tables again in both PPM and DWH schemas Allocated hours and cost have been updated as expected
Go to the project team and set allocation to 0 and run Update Cost Totals
You can see in Clarity that Allocation Cost is now blank
Run the Time slicing jobs and run the Load DWH job
Check tables again in both PPM and DWH schemas
Expected Results: Allocation Hours are reduced to 0 and Allocation Cost is also 0 Actual results: Allocation Hours are reduced to 0 but Allocation Cost remains
Environment
Clarity 16.2.3 to 16.3.2
Cause
DE170601
Resolution
A fix for this will be added in 16.3.3 as a part for fix for DE171722