look up and master detail relatiionship in salesforce code example Example: change lookup to master detail salesforce Considerations for Relationships - Salesforce Help