Enable relationship aggregation
The Process Last Month CI Costs scheduled job processes costs of configuration items. To start aggregating expenses to parents, identify the relationships to use for aggregation. Because there are many options for CMDB relationships, using all available paths for aggregation is generally not efficient.
Vorbereitungen
Role required: financial_mgmt_admin
Warum und wann dieser Vorgang ausgeführt wird
You can have multiple relationships for each child class. For example, to enable only certain relationships or parent classes, create a new record for each type and class combination paired with the child class.
When an expense line is generated from a configuration item cost, the parents of the configuration item are evaluated. The parent class and relationship type are compared to the list of relationship path records to see if there is a match to use for aggregation. If there is a match, an expense line is generated for the parent configuration item. The process repeats for all parents until there are either no parent relationships or the relationships in place do not meet the criteria defined in the relationship path records.
Prozedur
Nächste Maßnahme
When a configuration item has multiple parents that have valid relationship paths, the amount aggregated to each parent is split to prevent over-aggregation of a item cost. When evaluating parent relationships to active relationship paths, the aggregation counts the total number of valid relationships. The expense line amount from the child configuration item is evenly divided among the number valid paths and that amount is used when creating the inherited expense line for the parent.