Relationships

This chapter covers the following topics:

Administering Relationships

Set up relationship types and relationship phrase and role pairs that can be used to create relationships among entities in the TCA Registry. These relationships are shared throughout the Oracle E-Business Suite. See: Relationships Overview, Oracle Trading Community Architecture User Guide.

Oracle Trading Community Architecture provides seeded relationship types and phrase and role pairs, but you can create new ones as needed. See: Seeded Relationship Types, Phrases, and Roles, Oracle Trading Community Architecture Reference Guide.

Relationships administration lets you:

Administration Process

This diagram describes the process flow of setting up relationship types as well as phrase and role pairs.

the picture is described in the document text

  1. Search for a relationship type that you want to view, or to make sure that the relationship type you want to create does not already exist. See: Searching for Relationship Types.

  2. If you do not see the relationship type that you want in the search results, you can create a new type. Otherwise, select a relationship type from the results and view its details.

  3. If you are creating a new relationship type, you:

    1. Define and create the relationship type.

    2. Create a relationship phrase and role pair for the relationship type.

    3. Review and confirm your definitions.

    4. Return to search for another relationship type or view details of the type that you just created.

    See: Creating Relationship Types.

  4. If you are viewing details for a selected or newly created relationship type, you can:

Related Topics

Introduction to Administration

Searching for Relationship Types

Use the Relationship Type page to search for the relationship type that you want to view, copy, convert, add relationship phrase and role pairs to, or assign to relationship groups. You also search to make sure that the relationship type you want to create does not already exist.

The search results display not only the relationship type name but also whether it is a hierarchical relationship type or not and whether circular relationships are allowed or not. You also see when and by whom the relationship type was created.

Note: If the relationship type is seeded, the Created By column displays ORACLE and the Creation Date column shows the date that the relationship type record is created in your database.

You can view concurrent requests for the processes of copying or converting relationship types.

Related Topics

Administering Relationships

Creating Relationship Types

Use the Create Relationship Type pages to create a new relationship type along with a relationship phrase and role pair for the new type. After you search for the relationship type to make sure that it does not already exist, you follow a three-step process to create a new type.

You also specify whether the new type would create hierarchical relationships or not. If you create a nonhierarchical relationship type, you also determine if circular relationships are allowed with this relationship type or not.

To create a new relationship type:

  1. Search for the relationship type to make sure that it does not already exist. See: Searching for Relationship Types.

  2. Click Create after you verify that the relationship type is not in the search results.

  3. In the Create Relationship Type page, enter the name of your relationship type and determine the relationship type's definition for hierarchical and circular relationships.

  4. Create a relationship phrase and role pair for this relationship type. See steps 3 to 5 in Adding Relationship Phrase and Role Pairs to Relationship Types.

  5. Review your relationship type and phrase and role pair definitions.

  6. Go back to make any necessary changes. Otherwise, click Finish.

  7. From the confirmation page, you can choose to:

Related Topics

Administering Relationships

Viewing and Converting Relationship Types

Use the Overview page to view the definition of a relationship type and its included relationship phrase and role pairs. For each relationship phrase and role pair, the Relationship Phrase and Role Pairs table displays:

You can convert the relationship type into a hierarchical type, only if the relationship type is not:

Important: The conversion process fails if there are existing circular relationships using the relationship type.

You can access the concurrent request for the conversion process in the Relationship Type page. See: Searching for Relationship Types.

To view the details of a relationship type:

  1. Search for the relationship type that you want to view. See: Searching for Relationship Types.

  2. In the Search Results table, click the relationship type that you want to view details for.

    Note: You can also navigate to the Overview page after you create a new relationship type. See: Creating Relationship Types.

  3. View the relationship type details. You can choose to:

Related Topics

Administering Relationships

Copying Relationship Types

Copy existing relationship types to create new relationship types, which would have the same relationship type definition except for the name. The relationship phrase and role pairs are also copied over, but you need to append a prefix or suffix to each copied role to keep all roles unique.

You can also copy all relationships along with the relationship type. For example, the relationship that Joe is the employee of Oracle exists for the Oracle Employment relationship type. You copy the relationship type, name it OracleHQ Employment, and prefix the relationship roles with HQ. If you also copy the relationships, you would get this relationship with the OracleHQ Employment type: Joe is the HQ employee of Oracle.

Before you define the new relationship type in the Copy Relationship Type page, you first find and view the relationship type that you want to copy from. See: Viewing and Converting Relationship Types.

Instead of using the Copy of Relationship Type page, you can also run the Copy Relationship Type and All Relationships program, if available to you.

Program Parameters

Enter these parameters to run the Copy Relationship Type and All Relationships program from Standard Request Submission.

Related Topics

Administering Relationships

Adding Relationship Phrase and Role Pairs to Relationship Types

Use the Add Relationship Phrase and Role Pair pages to add a relationship phrase and role pair to an existing relationship type. Similarly, you also define a phrase and role pair when you create a new relationship type.

For the subject and object of the relationship phrase and role pair, you define:

What you define for the subject and object also determines the phrases, roles, and types for the reciprocal direction of the pair. For example, if you enter:

then the relationship phrase and role pair is defined as shown in this table:

Subject Role Subject Type Subject Phrase Object Type
Employer Organization Employer Of Person
Employee Person Employee Of Organization

To add a relationship phrase and role pair to a relationship type:

  1. View the relationship type that you want to add phrase and role pairs to. See: Viewing and Converting Relationship Types.

  2. Click Add Relationship Phrase and Role Pair.

    Note: Adding a phrase and role pair is also part of the relationship type creation process. See: Creating Relationship Types.

  3. Enter the subject type and subject relationship phrase.

    It does not matter which phrase is defined as the subject phrase, for example, Wife Of or Husband Of.

    For hierarchical relationship types, however, the defined subject is the parent, which ranks above the object, or child. For example, you would enter Employer Of and not Employee Of as the subject phrase to imply that the employer ranks above the employee. The employee, of course, is still the subject of the relationship when viewed from his or her perspective, for example, Joe as the employee of Oracle.

    Important: You cannot reuse phrases that are already defined in the same relationship type with the same subject and object type combination. For example, if Parent and Child are already defined with subject and object type Person in the Family relationship type, you cannot create phrase pairs such as Parent and Son, or Mother and Child, in the Family relationship type with Person subject and object types.

  4. Enter the singular and plural relationship roles that describe the subject.

    The roles can be a combination of the relationship type and phrase. For example, if the type is Oracle Employment and the phrase is Employee Of, the role can be Oracle Employee.

    This method of defining roles helps you keep roles unique and differentiate between roles of similar relationship types. For example, if you have another relationship type called Elcaro Employment, you would define Elcaro Employee as the role. You cannot have duplicate roles such as Employee for both relationship types.

  5. Enter the corresponding information for the object.

  6. Click Apply.

  7. The confirmation takes you back to view the relationship type with your phrase and role pair added. See: Viewing and Converting Relationship Types.

Related Topics

Administering Relationships

Assigning Relationship Phrases and Roles to Relationship Groups

Use the Assign to Relationship Groups page to assign relationship phrases and roles to relationship groups. You can assign each phrase within a relationship phrase pair and type to a different set of groups. The phrase assignment automatically determines the assignment of the corresponding role.

For example, you can assign the relationship phrase Employer Of to a set of groups that differ from the assignments for Employee Of. The corresponding relationship role Employer would have the assignments of Employer Of, and likewise Employee with assignments of Employee Of.

Relationship groups are mainly used to determine which user interfaces in Oracle applications each phrase and role is available in. Each relationship group corresponds to one or more Oracle Applications user interfaces. Examples of groups include Customer Account Information, Party Families, Party Contacts, Party Corporation Hierarchy, and Party Customers.

For example, you would assign phrases for customer relationships to the Party Customers group. These phrases and their corresponding roles would then be available in Oracle Applications user interfaces with customer related functionality.

To assign a relationship phrase and role to relationship groups:

  1. View the relationship type with the phrase and role that you want to assign to relationship groups. See: Viewing and Converting Relationship Types.

  2. Click Assign to Relationship Groups.

  3. In the Assign to Relationship Groups page, select the phrase that you want to assign and click Go. The Assign Relationship Phrase to Groups region displays the current assignments for the selected phrase.

  4. Move relationship groups between the two boxes as needed. The relationship phrase and its corresponding relationship role are assigned only to the relationship groups in the Assigned Relationship Groups box.

  5. Click Apply. The confirmation takes you back to view the same relationship type. See: Viewing and Converting Relationship Types.

Related Topics

Administering Relationships