The definition of the Allocation and Assignment 'COST' report database views utilize 'sliced' units and the Rate Matrix Extraction cost and rates data to calculate the costs of assignments and allocations for calendar periods of (D)aily, (W)eekly, (M)onthly, and (Q)uarterly.
The (D)aily report database views generate correct cost values for the total daily sliced units.
The other periods are not calculated correctly when the rate matrix configuration has different rates configured during the other period ranges.
Use Case Scenario:
Project does not start on the first day of the month, does not start on the first day of the quarter or does not start on the first day of the week. When this occurs, the database view will return an incorrect cost because the 'slice' date will not fall within the date range in the rate matrix extraction table.
The Rate Matrix Rows have multiple rates during a week, during a month and during a quarter period. When this occurs, the database view will return only one cost because the 'slice' date is only for one date (the first day of the week, month or quarter)
The steps outlined are for Team Allocation values and comparison of data for the database views were looked at for RPT_PRJ_*_ALLOC_COST_V views. The same behavior applies to the RPT_RES_*_ALLOC_COST_V views and for the PRJ and RES 'ASSIGN' cost views. The steps outlined only trace the data for a LABOR resource. The same behavior applies for the other types of resources (Equipment, Material, Expense)
Database Views Affected:
TIMESLICES USED: MONTHLYRESOURCEALLOCCURVE, MONTHLYRESOURCEHARDALLOC
TIMESLICES USED: QUARTERLYRESOURCEALLOCCURVE, QUARTERLYRESOURCEHARDALLOC
TIMESLICES USED: WEEKLYRESOURCEALLOCCURVE, WEEKLYRESOURCEHARDALLOC
TIMESLICES USED: MONTHLYRESOURCEBASECURVE, MONTHLYBASEASSIGNCOSTS
TIMESLICES USED: QUARTERLYRESOURCEBASECURVE, QUARTERLYBASEASSIGNCOSTS
TIMESLICES USED: WEEKLYRESOURCEBASECURVE, WEEKLYBASEASSIGNCOSTS
Steps to Reproduce:
- Create a set of Rate Matrix Rows with multiple rates that change during a week or month
- Create a Project that begins in the middle of the month, in the middle of a week
- Set up project financial properties
- Allocate and assign Resources to the project
- Check Time Slice Definitions - be sure the date range covers the dates used in the project example
- Execute 'Time Slicing' job
- Execute 'Rate Matrix Extraction' job
- Get the internal record ID for the project created (look at project properties URL)
- Execute queries to see data values from database DAILY, MONTHLY, QUARTERLY and WEEKLY Allocation view for comparison and calculation verification
Expected Result: Weekly, Monthly, Quarterly calculations should equate to summation of Daily values
Actual Result: Weekly, Monthly, Quarterly calculations use 'slice' date to find the cost rate in the matrix.
Caused by CLRT-71952
This is identified as a 'Known Defect'. There are no current plans to make changes to this area of the product.
For On Premise Customers Only:
Define alternative database views to sum the daily calculated amounts (ie. from RPT_PRJ_D_ALLOC_COST_V) using a 'group by' clause for the reporting calendar hierarchy level such as weekly, monthly, quarterly, yearly. Refer to the Technical Reference Guide for specific details on the NBI_DIM_CALENDAR_TIME fields.
Click Here for a document that provides sample queries which have been reviewed by our development team.
If you use these queries be sure to implement them in a manner that 'requires' the use of passing a value for the PROJECT_ID and HIERARCHY_LEVEL parameters.
Details are given in the attachment showing what valid values should be passed as parameters.
Reference Customer Reported Known Defects and our CA PPM Customer Defect Resolution Policy.