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

Object owner misisng when a master detail link is created

i have a basic question  ... whn i create a new custom Object, the owner field which is a standard field goes misisng when a master detail link is created . how can we solve this .. i use approval process and cannot automate tasks in the approval process due to the missing owner link .


Best Answer chosen by Admin (Salesforce Developers) 
When you define a master-detail relationship between 2 objects, the child record cannot have a separate owner, it uses the Parent record's owner field to define ownership. Your 2 options would be to change the relationship to lookup or add a new lookup field on the child object to the User object and use that in the approval process.