Show TOC

Defining a Code Option for RelationshipsLocate this document in the navigation structure

You can control naming restraints for relationships so that each relationship must have a unique code.

Context

If you do not select Unique Code, two relationships can have the same code, and you differentiate them by the entities they link.

The following error message is displayed when the option you choose is incompatible with the current CDM:

Error message

Solution

Unique Code option could not be selected because at least two relationships have the same code: <relationship_code>.

Change the code of one relationship

Procedure

  1. Select Start of the navigation path Tools Next navigation step Model Options End of the navigation path to open the Model Options dialog box:
  2. Select or clear the Unique Code check box in the Relationship groupbox, and then click OK to return to the model.