Difference between revisions of "Related Objects"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 50: Line 50:


''Learn more:''
''Learn more:''
:* [[Object Relationships]]
:* [[Understanding Object Relationships]]
:* Working with [[Object Relationships#Related Objects|Related Objects]]
:* [[Composite Object]]s
:* [[Composite Object]]s

Revision as of 19:30, 17 October 2013

GearIcon.png > Customization > Objects > {object} > Object Relationships > Related Objects

About Related Objects

A Related Object is a participant in an Object Relationship.

If the record you are viewing is the target of a Lookup, then one or more records in another object could be pointing to it. The referencing object is Related Object, that contains one or more Related Records. (When viewing data, those records are displayed in the Related Information section of the record you are viewing.)

For example, in the Sample Order Processing System, records in the OrderItems object "look up" to records in the Orders object. When viewing an Order record, those records appear in the Related Information section. When entering an Order, the Form may display them in a Subform (a table of related records).

On the other hand, when the record you are viewing has a Lookup to another object, the referenced object (or target object) is also a Related Object. But there can only be only one target record for the Lookup field.

So:

From the standpoint of the Orders record:
  • There can be multiple related records in the OrderItems object.
  • When you view an Order, the related records appear in the Related Information section of the Order form.
From the standpoint of an OrderItems record:
  • Orders is a related object.
  • There can be only one, so the identifying information for the Order is displayed as part of the OrderItems record.

Learn more:

The Relationship Grid

This grid displays objects that are related to the current object, and how they are related:

Column Content
Relationship Type Cardinality of the relationship: One to many, many to one, or many to many.
Object The object at the other end of the relationship. Click this link to Manage the Object Relationship.
Alias The name given to the relationship, for use in Composite Object operations.
Junction To If the relationship is many to many, then the object is a Junction Object. This column gives a link to the object on the other side of the junction.
Cascade Rules In this section, you establish the Cascade Rules that govern Composite Object operations.

Learn more: