1-844-696-6465 (US)        +91 77600 44484        help@dezyre.com

I tried to complete the assignment of yesterday and got stuck when this message coming up



0
Cannot Create Master-Detail Relationship
You cannot create a new Master-Detail relationship on an existing custom object if records already exist. You must first create a Lookup relationship, populate the lookup field with data in all records, and then change the relationship type to Master-Detail.

I have tried doing so but it does not seem to work for me.

1 Answer(s)


0

You have 2 Options
1) Delete all records in detail object.
2) Create relationship as lookup, then populate parent record in all existing records.

Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)

Email
Password