Ask Search:
Minhaj ArifinMinhaj Arifin 

What is the impact of updating the 'Child Relationship Name'

On a custom object called 'Emergency' there is a custom field called, 'Related Case'. This custom  field which has the Master-Detail data type and is related to the Case object. It displays the Case Number for which an Emergency record was created. 

I am attempting to update the relationship between Emergency and Case to a 'Look Up' relationship. In order to do this, my plan is to

Rename the field label of 'Related Case' to 'xRelated Case'. 
Create a new field caleld 'Related Case' 
Copy the data from the old field into the new field. 
Confirm that new field displays data for all Emergency Records. 
Delete the 'xRelated Case' field. 

My question: 
When I updated the field name of the old field to 'xRelated Case' I also updated the Child Relationship Name from Urgent to 'xUrgent'. Will this cause any problems in copying data from this field to the new field? What impact does updating the 'Child Relationship Name' have? 

THanks! 
User-added image


 
Best Answer chosen by Minhaj Arifin
Douglas BurkhartDouglas Burkhart
Here's an article that outlines the relationships: https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_and_custom_objects.htm

It could have an impact if you have any triggers, flows, or processes referencing that child name.

But again, if instead of renaming and creating a new field, if you just change the relationship on the existing field, you shouldn't have to do any renaming.

All Answers

Douglas BurkhartDouglas Burkhart
If you're just want to change it from a Master/Detail relationship to a Lookup relationship, you shouldn't need to go through the steps of recreating the field. On your screenshot, simply click the Edit button at the top and then another button on the next Page for "Change Field Type". From there, you should be able to adjust to a Lookup relationship.
Minhaj ArifinMinhaj Arifin
Thank you Douglas. Would you know the possible impacts of changing the 'Child Relationship Name' ? 
Douglas BurkhartDouglas Burkhart
Here's an article that outlines the relationships: https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_and_custom_objects.htm

It could have an impact if you have any triggers, flows, or processes referencing that child name.

But again, if instead of renaming and creating a new field, if you just change the relationship on the existing field, you shouldn't have to do any renaming.
This was selected as the best answer
Minhaj ArifinMinhaj Arifin
Thank you for article and recommendation Douglas!