0

Is it possible that the standard field OwnerID be deleted in a custom object? Because we're having a problem now due to its missing/deleted. enter image description here

These are the standard fields under the custom object that we are using.

5
  • what is the problem you are facing? how can the owner id be missed or deleted? The owner is mandatory on any record. please explain. Commented Jun 16, 2017 at 6:11
  • We don't know how it was missed/deleted. Please see the screenshot above @NitishSinghal
    – JMRAF69
    Commented Jun 16, 2017 at 6:14
  • What is the relation of having a master-detail relationship in a missing standard field? @RedDevil
    – JMRAF69
    Commented Jun 16, 2017 at 6:19
  • My bad @JMRAF69 missed the missing part
    – RedDevil
    Commented Jun 16, 2017 at 6:25
  • 5
    Can you show us all the custom fields too? If this object is a child in an M/D relationship then it will not have an owner. It will be owned by its parent's owner. Commented Jun 16, 2017 at 6:54

1 Answer 1

5

If the object is a child of a master-detail relationship (has a master-detail lookup field) then it wont have an ownerId. If you added a master-detail field, the ownerId standard field would have been removed.

The sharing would be controlled by the parent object's OWD settings. If it is a junction object (has 2 master-detail lookups) then both parent object settings contribute to the child sharing settings - for example both parent objects need to be Public Read-Only for the child object to be Public Read-Only.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .