How Relationships Work
As an example, a component in manufacturing could be contained in several different assemblies or subassemblies in varying quantities. Component objects could be connected to the various assembly and subassembly objects that contain it. Each time objects are connected with this relationship, the user could be prompted for the quantity value for the relationship instance.
If the component is later redesigned, the older design might become obsolete. When a revision of the component object is then created, the relationship would disconnect from the original and connect to the newer revision. If the component is cloned because a similar component is available, the cloned component might or might not be part of the assembly the original component connects to. The connection to the original should remain and there should be no connection to the cloned component.
For the process to work like this, the relationship definition would include the attribute "quantity." The cardinality would be "many to many" since components could be connected to several assemblies and assemblies can contain many components. The revision rule would be "float" so new revisions would use the connections of the original. The clone rule would be "none" so the original connection remains but no connection is created for the clone.
A relationship can be derived from another relationship. This signifies that the derived relationship is of the same kind as its parent. This arrangement of derived relationships is called a relationship hierarchy. Derived relationships share characteristics with their parent and siblings. This is called relationship inheritance. When creating a derived relationship, other attributes, methods, and triggers can be associated with it, in addition to the inherited ones.
You must be a Business Administrator to define relationships. Relationships are typically initially created through MQL when all other primary administrative objects are defined. However, if a new relationship must be added, it can be created with Business Administrator.