QuestionQ105

VerifiedData Modeling

Universal Containers (UC) is migrating legacy inventory data from an enterprise resource planning (ERP) system into Sales Cloud, with these requirements:

  1. Legacy inventory data will be stored in a custom child object named Inventory__c.
  2. Inventory data must be related to the standard Account object.
  3. The Inventory__c object must inherit the same sharing rules as the Account object.
  4. Whenever an Account record is deleted in Salesforce, the related Inventory__c record(s) must also be deleted.

What relationship field type should a data architect recommend for this scenario?

Explanation

A master-detail relationship on Inventory__c makes Account the master and Inventory the detail. Detail-record access is controlled by the parent’s visibility, and deleting the parent record cascade-deletes its detail records.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!