Administer > Database administration > Entity relationship management > Entity Relationship Diagram utility > View relationships of a specific field in an entity relationship diagram

View relationships of a specific field in an entity relationship diagram

Applies to User Roles:

System Administrator

Before you make updates to a specific field in a table or to its values in the database, you may want to see the relationships of this specific field to understand the potential impact on other records.

To view the relationships of a specific field, follow these steps:

  1. Navigate to Tailoring > SQL Utities > Entity Relationship Diagram.
  2. In the Table Name box, type the name of the table that contains the field.
  3. Click Search.

    Service Manager generates an ERD for the specified table.

  4. In the diagram, select a field in the current table.

    The selected field and its related fields in other tables are highlighted in green, and the relationships between them are highlighted with blue connector lines. The following figure shows an example in which the relationships between the dept.name field in the dept table and related fields in other tables are highlighted. The related fields are highlighted with a green background, and the relationships are highlighted with blue connector lines.

    In the meantime, the lower part of the left pane is refreshed to display the relationship definitions for the current field, as well as their queries. The relationship definitions are displayed as links, which you can directly open. See the following figure for an example in which the relationship definitions are all link files.

    The display text of each relationship definition link uses the following format: <source table name>:<source field alias>-<target table name>:<target field alias>, where the aliases are the Source Field Name and Target Field Name that are defined in the relationship definition. The following is an example: contacts:dept.name - dept:depart.name.

    If you click the example link, the link record is displayed, in which you can see the source and target table names and field names that are displayed in the link text above.