You need to sign in to do that
Don't have an account?

Urgent: How ro change the field type from Master Detail to lookup (or any other else)??
Hi All,
Sorry to mark it urgent, as i need to implement this soon...
I have a custom object with Master detail Relationship, now i want to make this field as lookp field (reason: i may not have the master record each time for the detail record). Please let me know the way of converting the master field to Lookup, or any other Data Type.
or else, is there any way to to mark the Master Detail field as non-mandatory on the detail objects page layout
Please let me know..
Thanks
Nope! Not in Enterprise edition, but possible on developer edition :)
Thanks
Ankit Arora
Blog | Facebook | Blog Page
All Answers
Setup > App Setup > Go To your object > Click "Edit" on Master Detail Field > Click on "Change Field Type" > Select Lookup Relationship > Save it.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Hi,
Unfortunately.. i don't see "Change Field Type" button when i click on the edit the Master Detail field...
Thanks
Field is on your custom object or any packaged object? Also let me know on which edition you are working with.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Fields are on Custom Object..its not packaged. And i am using Enterprise edition...
Ahh!! That is the problem, you can change it on Enterprise edition.
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Okay....
it means any of the reqt stated is not possible..... :)
Thanks
Nope! Not in Enterprise edition, but possible on developer edition :)
Thanks
Ankit Arora
Blog | Facebook | Blog Page
Is that something that happens only for the Master Detail? Because I am on Enterprise and I am able to change field type.
Not sure about which edition this will or will not work, but to change Master-Detail to Lookup, you need to first remove all Roll-up summary fields (also removed them explicitly from the 'Removed fields' . Otherwise the 'Change field type' button will not appear.
I am sure about this problem :
if A is master of B then if you need to change this master detail relationship to lookup then you only need to click on setup ->
obeject;> master detail field > Edit> now you will not be able to see button "change field type" if there is Roll up summary field on Master objetc so delete it first and also remove it from "deleted fied" trash box then you will be able to see"change field type" button.
I got this problem and It gets solved.
You've selected an incorrect answer, this is possible.
Just go into the child object, edit the Master-Detail field, click the "change field type" button. Switch to "Lookup" & Save.
Note that this button won't even show up if you have any Roll-Up summary fields on the master.
please mark this answer selected, if you find this helpful.
Nitish Singhal
You can convert a master-detail relationship to a lookup relationship as long as no roll-up summary fields exist on the master object.
Please see the LINK for all details
https://help.salesforce.com/articleView?id=relationships_considerations.htm&type=0
1) You can convert a master-detail relationship to a lookup relationship as long as no roll-up summary fields exist on the master object.
Please see the LINK for all details
2) You can convert a lookup relationship to a master-detail relationship, but only if the lookup field in all records contains a value.
https://help.salesforce.com/articleView?id=relationships_considerations.htm&type=0
1. have not Enterprise edition
2. delete all roll-up summary fields on parent and remove them from "Deleted fields"
3. delete all "Field updates" of parent if have in "Workflow actions"