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
AbAb 

MasterDetail relationship between Custom Object and Territoty

Hello,

I want to create a master detail relation between Territory (master) and a custom object (as details).

I am not able to find the object.

Do i constate that the master detail is not available for this object.
At your disposal !

thank you for your suggestion !
Best Answer chosen by Ab
AbhishekAbhishek (Salesforce Developers) 
Hi,

You can definitely create a master-detail relation between the user and the 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

For your reference,

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/relationships_among_objects.htm


I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.


Thanks.