function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
App SharkApp Shark 

Master Detail To look Up

Hi All,

I want to change my schema from Master detail to look Up relation ship.I have the following question.

1) Do any of the data get affected
2) what would be the owner Id of the child record once it is changed to look up
 
salesforce mesalesforce me
Hi check this once....

http://salesforce.stackexchange.com/questions/907/can-you-convert-a-master-detail-relationship-to-a-lookup-if-its-referenced-in-c
Deepthi BDeepthi B
Hello App Shark,

You cannot convert the Master Detail Relationship to lookup if you have any Roll-up summary fields on the Master Object.
For converting goto the Setup --> Child SObject --> Master Detail Field --> Change Field Type--> Switch to Lookup.

There will be no affect on the data after the convertion but if you have any Apex code that refers the master-detail field, it will stop working if you are not checking not equals to null in your code as future records might not have any value to this field(Look up is not mandatory).
The ownerId of the child records in lookup realtionship will have the id of the owner/created user.

Hope it helped you!
Regards,
Deepthi
Rupal KumarRupal Kumar
hi App Shark,
                 
 Nope! Not in Enterprise edition, but possible on developer edition.
        ​Setup > App Setup > Go To your object > Click "Edit" on Master Detail Field > Click on "Change Field Type" > Select Lookup Relationship > Save it.

Thanks
Rupal Kumar
Mirketa Software Pvt Ltd
http://mirketa.com/index.html