Relationships Among Objects

Relationships associate objects with other objects in Salesforce.com. For example, a relationship can link a custom object to standard object in a related list, such as linking a custom object called Bugs to cases to track product defects associated with customer cases. To view the parent and child relationships among standard objects, see the ERD diagrams in Data Model.

Note
You can use parent-child relationships in SOQL queries. For more information, see Relationship Queries.
You can define different types of relationships by creating custom relationship fields on an object. The differences between relationship types include how they handle data deletion, record ownership, security, and required fields in page layouts:

To create relationships, use the Salesforce.com user interface or Salesforce.com Metadata API. For detailed information, see the Salesforce.com online help.

In Axis, the element for a relationship will be a query result for parent-to-child relationships or an sObject for child-to-parent relationships.

© Copyright 2000-2010 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.