Key | Value |
---|---|
Table | DS03 Cost |
Severity | MAJOR |
Unique ID | 9030316 |
Summary | Is a root cause narrative missing for this CA where the SV is tripping the favorable dollar threshold? |
Error message | DS03.SVc abs(BCWP - BCWS) > abs(DS07.threshold_schedule_cum_dollar_fav) & DS11.narrative_RC_SVc is missing or blank (by DS03.WBS_ID_CA & DS11.WBS_ID). |
The following text was generated by an AI tool and hasn't been reviewed for accuracy by a human! It might be useful, but it also might have errors. Are you a human? You can help by reviewing it for accuracy! Edit it as needed then remove this message.
The Data Integrity and Quality (DIQ) check titled "SV without Root Cause Narrative (Favorable)" is designed to identify any instances in the DS03 Cost table where a root cause narrative is missing for a cost account (CA) where the Schedule Variance (SV) is exceeding the favorable dollar threshold.
The SV is calculated as the absolute difference between the Budgeted Cost of Work Performed (BCWP) and the Budgeted Cost of Work Scheduled (BCWS). If this value is greater than the favorable cumulative dollar threshold defined in the DS07 IPMR Header table, a root cause narrative should be provided in the DS11 Variance table.
The DIQ check groups the results by the Cost Account Work Breakdown Structure ID (WBS_ID_CA) and identifies any instances where the narrative for the Schedule Variance (narrative_RC_SVc) in the DS11 Variance table is missing or blank.
If the DIQ check identifies any instances where the SV exceeds the favorable dollar threshold and the root cause narrative is missing, this could indicate that the data entry for the root cause narrative was overlooked or not completed. It is important to ensure that all required fields are completed to maintain the integrity and quality of the project management data.
The following text was generated by an AI tool and hasn't been reviewed for accuracy by a human! It might be useful, but it also might have errors. Are you a human? You can help by reviewing it for accuracy! Edit it as needed then remove this message.
This test is being performed to ensure that there is a root cause narrative for each Cost Account (CA) where the Schedule Variance (SV) is exceeding the favorable dollar threshold. The Schedule Variance is calculated as the difference between the Budgeted Cost of Work Performed (BCWP) and the Budgeted Cost of Work Scheduled (BCWS). If this difference is greater than the favorable cumulative dollar threshold, a root cause narrative should be provided.
The importance of this check is to ensure that all significant variances in the project schedule are properly explained. This is crucial for understanding the reasons behind the variances and for making informed decisions about project management. The severity of this check is marked as a MAJOR, which means that missing or blank root cause narratives are likely to cause problems during the analysis of the project data. It is therefore recommended to address this issue to ensure the integrity and quality of the project data.
CREATE FUNCTION [dbo].[fnDIQ_DS03_Cost_IsSVMissingDS11RCNarrFav] (
@upload_id int = 0
)
RETURNS TABLE
AS RETURN
(
with threshold as (
SELECT ABS(ISNULL(threshold_schedule_cum_dollar_fav,0)) thrshld
FROM DS07_IPMR_header
WHERE upload_ID = @upload_ID
), VARs as (
SELECT WBS_ID
FROM DS11_variance
WHERE upload_ID = @upload_ID AND TRIM(ISNULL(narrative_RC_SVc,'')) <> ''
), CASV as (
SELECT WBS_ID_CA CAWBS, ABS(SUM(BCWPi_dollars) - SUM(BCWSi_dollars)) SV
FROM DS03_cost C
WHERE upload_ID = @upload_ID
AND WBS_ID_CA NOT IN (SELECT WBS_ID FROM VARs)
GROUP BY WBS_ID_CA
)
SELECT
C.*
FROM
DS03_cost C INNER JOIN CASV SV ON C.WBS_ID_CA = SV.CAWBS
WHERE
upload_ID = @upload_ID
AND SV.SV > (SELECT TOP 1 thrshld FROM threshold)
AND (SELECT COUNT(*) FROM VARs) > 0 --test only if DS11 has records
)