Documentation

Insert Order

Image

Object Dependencies

This window displays the order in which object records (Object Level) must be inserted. There are Order Independent objects (objects whose fields do not reference other object records, and no other objects reference the records of these objects). There are also Order Dependent objects (objects whose fields reference other object records or other objects reference the records of these objects). The insert order is determined using a topological sort method which figures out based on the field dependencies the sequence the object records need to be inserted.

For example, Account is the parent to Contact, meaning that an Account must exist first before adding Contacts to that account.

Circular References

Image

The application will automatically calculate the insert order of the objects and account for circular references.

Record Level Order Dependencies

Record level order dependencies occur when a record (RecordA) in ObjectA references another record (RecordB) in ObjectA. In this scenario, RecordB will be inserted before RecordA. An example of this is on the Account object where one Account might be the parent of another Account. In this scenario, the ParentId field for the account record is used to determine the insert order. The application automatically identifies these relationships and automatically calculates the appropriate insert order.

Select any of the Order Dependent objects to show the list of Object/Fields which reference the selected object.