You can add a foreign key relationship between two base objects.
Start the Schema Manager.
Acquire a write lock.
In the schema tree, expand a base object (the base object that will be the child in the relationship).
Right-click
Relationships
.
The Schema Manager displays the Properties tab of the Relationships page.
Click the
Add
button.
The Schema Manager displays the Add Relationship dialog.
Define the new relationship by selecting:
a column in the Relate from tree, and
a column in the Relate to tree
If you want, check (select) the
Create associated index
check box if you want to create an index on this a foreign key relationship. Metadata is defined in the
Operational Reference Store
that an index exists.
Click
OK.
Click the
Diagram
tab to view the foreign key relationship diagram.
Click the
Save
button to save your changes.
After you have created a relationship, if you go back and try to create another relationship, the column is not displayed because it is in use. When you delete the relationship, the column will be displayed.