change master detail to lookup salesforce code example Example: change lookup to master detail salesforce Considerations for Relationships - Salesforce Help