You need to sign in to do that
Don't have an account?
Venkateswarlu P
can we create Master detail relationship between User and Custom object on Existing Records
User Object has Records and Custom Object[Emp] has no records in it. User object has records in it, so we can't create a master detail relation.Created lookup relation, Then try to convert look up to master by clicking on change field type there is no master detail option to select.
emp Object has below fields.
emp Object has below fields.
You can definitely create a master- detail relation between user and custom object (Emp). In this relationship, User has to be Master and Custom Object needs to be the detail Object. So for that, you need to create a new relationship field of type Master-Detail on the Custom Object. It is not possible the other way round.
Please let me know if it solves your purpose or you need more assistance.
Thanks,
Jainam Contractor,
Salesforce Consultant,
Varasi LLC
All Answers
You can definitely create a master- detail relation between user and custom object (Emp). In this relationship, User has to be Master and Custom Object needs to be the detail Object. So for that, you need to create a new relationship field of type Master-Detail on the Custom Object. It is not possible the other way round.
Please let me know if it solves your purpose or you need more assistance.
Thanks,
Jainam Contractor,
Salesforce Consultant,
Varasi LLC
As per Salesforce documentation, a user cannot create a master-detail relationship in which the User or Lead objects are the master. This is a limitation.
Refer link:
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/relationships_among_objects.htm
Kindly mark this answer as best answer if it solves your issue.
Regards,
Sagar
We can define master-detail relationships between custom objects or between a custom object and a standard object. However, the standard object cannot be on the detail side of a relationship with a custom object. In addition, you cannot create a master-detail relationship in which the User or Lead objects are the master.
i.e : If you find suitable then Please close the thread by selecting the best answer :)
Can you please send me the steps or process.
Thanks
Jainam, remove your answer. You are thoroughly incorrect.