Recursive Hierarchies (Master Data Services)
In Master Data Services, a recursive hierarchy is a derived hierarchy that includes a recursive relationship. A recursive relationship exists when an entity has a domain-based attribute based on the entity itself.
Recursive Hierarchy Example
A typical recursive hierarchy example is an organizational structure. In Master Data Services, you would do this by creating an Employee entity with a domain-based attribute called Manager. The Manager attribute is populated from the list of employees. In this sample organization, all employees can be managers.
You can create a derived hierarchy that highlights the relationship between the Employee entity and the Manager domain-based attribute.
To include each member in the hierarchy only once, you can anchor null relationships. When you do, members with blank domain-based attribute values are displayed at the top level of the hierarchy.
If you do not anchor null relationships, members are included multiple times. All members are displayed at the top level. They are also displayed under members of which they are attributes.
In this example, Marcia is at the top level. She is not the manager of any employees because she is not used as a domain-based attribute value for any other Employee members. Robert, in contrast, has a level beneath him because Marcia has Robert as her Manager attribute value.
Rules
A derived hierarchy cannot contain more than one recursive relationship. It can, however, have other derived relationships (for example, a derived hierarchy that contains a recursive Manager to Employee relationship can also have Country/Region to Manager and Employee to Store relationships).
You cannot assign member permissions (on the Hierarchy Members tab) to members in a recursive hierarchy.
Recursive hierarchies cannot include circular relationships. For example, Katherine cannot be Sandeep's manager if Sandeep is her manager. Also, Katherine cannot manage herself.
Related Tasks
Task Description | Topic |
---|---|
Create a derived hierarchy. | Create a Derived Hierarchy (Master Data Services) |
Change the name of an existing derived hierarchy. | Change a Derived Hierarchy Name (Master Data Services) |
Delete an existing derived hierarchy. | Delete a Derived Hierarchy (Master Data Services) |