Following the execution of an incremental Load Data Warehouse (DWH) job, the actual_total_cost value in the DWH_INV_SUMMARY_FACTS table incorrectly resets to 0 for certain investments.
Prerequisites
Steps To Reproduce:
SELECT
i.investment_name,
f.investment_key,
f.actual_total_cost,
f.actual_labor_cost,
f.actual_total_hours,
f.acwp_total_cost
FROM dwh_inv_summary_facts f
JOIN dwh_inv_investment i ON f.investment_key = i.investment_key
WHERE f.actual_total_cost > 0
AND EXISTS (
SELECT 1
FROM dwh_cmn_todo t
WHERE t.assoc_parent_key = f.investment_key
AND t.assoc_parent_type = 'projects'
);Expected Result: Deleting a To-Do item should not affect financial metrics. The actual_total_cost value in DWH_INV_SUMMARY_FACTS should remain unchanged.
Actual Result: For the investment where the To-Do was deleted, DWH_INV_SUMMARY_FACTS.actual_total_cost incorrectly resets to 0.
Clarity 16.4.2
DE209517
Fixed in 16.5.0.
Workaround: