This section describes how to create and modify cost rules, and how PPM picks up the best matching cost rule for cost calculation.
Overview of cost rules
|Why you create cost rules||
To calculate cost with sufficient accuracy, you may want to create cost rules for various scenarios.
|Where cost rules are used||
Cost rules determine how PPM calculates costs for the following:
You set cost rules based on a range of factors that can be prioritized. Before creating a cost rule, we recommend you identify the factors that drive cost rates, and the order of precedence among them.
- All cost rules are subject to the same cost factors. If you want to make a change to a cost rule that involves rearranging cost factors, keep in mind that any changes to cost factors will affect all cost rules in the system.
- Not all cost factors apply to all entities at all times. For details, see Cost Factor Applications
To select cost factors and arrange their order of precedence:
- Prerequisite: You should have the Manage Cost Factors access grant.
From the menu bar, select Open > Administration > Financials > Change Cost Factors.
The Change Cost Factors page opens.
The cost factors Team, Team Type, and Team Specialty are only available when the feature Team Management is enabled.
Add, remove, or rearrange cost factors:
Add cost factors by selecting from the Available Columns list and clicking the right arrow icon.
Remove cost factors by selecting from the Selected Columns list and clicking the left arrow icon.
Reorder cost factors by selecting from the Selected Columns list and clicking the up or down arrow icons.
Cost factors cannot be removed if they are being used by any cost rule. Cost factors can be added or re-prioritized at any time, and doing so will trigger the recalculation of costs for open lifecycle entities and time sheets.
Click Save or Done.
Create a cost rule
If Team Management is enabled, PPM uses cost rules for teams to calculate team related costs, such as forecast costs of team assignments. Therefore, if your system has teams in use, you should create both team cost rules and non-team cost rules.
- Prerequisite: You should have the Edit Cost Rate Rules access grant.
To create a non-team cost rule, from the menu bar, select Create > Administrative > Cost Rule.
The Add Cost Rule page opens listing all the selected cost factors except the ones that are particular to teams.
To create a team cost rule, from the menu bar, select Create > Administrative > Team Cost Rule.
The Add Team Cost Rule page opens listing all the selected cost factors except the ones that are particular to resources.
Provide values for any relevant cost factors.
Select a Currency and enter a Rate amount.
Click the calendar icon and specify an Effective Start date.
Modify a cost rule
You can modify a cost rule by changing its currency, rate, or effective date(s).
Changes to cost factors also modify cost rules. For details, see Identify cost factors.
Since version 9.30, PPM implements the following restrictive measures to ensure the changes to an existing cost rule has no impact to other projects where their time sheets contain a time period that falls into the duration of this cost rule. This prevents changing existing cost values from unwanted recalculation.
|If the effective finish date of an existing cost rate is earlier than the current day (today)||You cannot modify the cost rate.|
|If the effective finish date of an existing cost rate is later than the current day (today), but the effective start date is earlier than today||You can only modify the finish date, and the new value for the effective finish date must be later than the current day (today).|
|If both effective dates of an existing cost rate are later than the current day (today)||
Note: If you do need to modify the currency, rate, or effective date(s) for an existing cost rule, regardless of the above restrictive rules, you can still do so by clicking the Modify Existing Rate button on the Edit Cost Rule page. However, always be cautious when you make this decision.
|Open the Edit Cost Rule page of a cost rule||
|Modify the finish date of a cost rule||
You can only modify the finish date of a cost rule if its effective start date is earlier than today and its effective finish date is later than today.
|Modify the currency, rate, and effective start and finish dates of a cost rule||
If both effective dates of the cost rate are later than today, click Edit to open the Edit Rate window.
If the effective start date is earlier than today and the finish date is later than today:
|Delete a cost rule||
Note: If you delete a cost rule, the event cannot be tracked in the cost rule audit trail. However, it is recorded in the database.
Recalculate cost after cost rule changes
After you make changes to cost rules, PPM recalculates cost according to a schedule specified in the Cost Rate Rule Update Service, as described in Cost Calculation Services.
Note: Changes to cost rules may not take effect immediately. By default, costs are recalculated as needed once every hour. We recommend that changes to cost rules be made after working hours or on weekends, to avoid confusion.
When calculating the cost of a resource, team, or a staffing profile position, PPM uses the rate of the cost rule that is besting matching the resource, team, or the position. Here is how PPM picks up the best matching cost rule for a resource. The case for a team or position is the same.
- PPM checks whether the cost rule and the resource contain the same cost factors and whether values of the factors are the same. If yes, the cost factor is considered matching.
PPM calculates the score of each cost rule based on the matching cost factors, and the rule with the highest score is the best matching rule.
Scenario Calculation If a cost rule contains no matching cost factor It is considered not applicable and gets -1 point. If a cost rule contains one or more matching cost factors
PPM assigns 2n points to each matching factor according to its priority.
For example, if a cost rule contains four cost factors and they are all matching factors,
- the factor of top priority gets 24 = 16 points;
- the one of second priority gets 23 = 8 points;
- the one of third priority gets 22 = 4 points;
- the last one gets 21 = 2 points.
The score of this cost rule is the sum of all points its factors get. In this example, it is 16 + 8 + 4 + 2 = 30 points.
If a cost factor contains no value It is considered as a wildcard factor. PPM assigns 1 point to each wildcard factor. If a cost rule is not the default one
It gets an extra 1 point.
Therefore, if a cost rule contains the same cost factors with the default cost rule, it gets a higher score than the default one.
Note: There is at least one matching rule, that is, the default rule which cannot be deleted and whose cost factors are all wildcard factors.