Notes
No, you cannot directly create a Master-Detail relationship on a custom object that already has records. However, you can follow these steps:
- Create a Lookup Relationship first, and link the records to the parent object.
- Once all records are linked, you can then convert the Lookup Relationship to a Master-Detail Relationship.
Alternatively, you could delete the existing records and then create the Master-Detail relationship.