+ Start a Discussion
KotiSFDCKotiSFDC 

how to convert master detail to lookup if we have roll-up-summery filed to master object.

piyush_sonipiyush_soni
hi Koti, 
You can convert a master-detail relationship to a lookup relationship as long as no roll-up summary fields exist on the master object. 

Thanks 
let us know if it helps you
KotiSFDCKotiSFDC
Thank you Piyush, Can u plz expline why?
piyush_sonipiyush_soni
Hi, it's because roll up summary fields only support with master details relationship NOT with lookup relationship, that is why when you convert master details to lookup then system will check that there is no roll up summery fields existe on parenet object, this is standard salesforce process dear. There is a free tool for declarative rollup summaried between non MD relationships created by Andrew Fawcett that is available at AppExchange [https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000B45gWEAR (https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000B45gWEAR" target="_blank)]

i hope it helps you.
   Let me inform if it helps you and kindly mark it best answer if it helps you 
thanks 
piyush_sonipiyush_soni
hi KotiSFDC,
Kindly close your answer by choosing by answer so it will make proper soltions for others in future
thanks