Delete Relationship

If a relationship is no longer desired between business objects, you can delete it with the Delete Relationship command.

delete relationship NAME;
  • NAME is the name of the relationship to be deleted.

When this command is processed, the list of existing business object relationships is searched. If the name is not found, an error message is displayed. If the name is found, the relationship is deleted along with all information about that relationship. A relationship can only be deleted if there are no connections using the relationship or relationships derived from the relationship. In order to delete a parent relationship, you must delete all its child relationships.

For example, to delete the relationship named “Maintenance Relationship,” enter the following command:

delete relationship “Maintenance Relationship”;

After this command is processed, the relationship is deleted and you receive an MQL prompt for another command.