You need to sign in to do that
Don't have an account?
pooja kesharwani
Failed to create Master-Detail relationship between the objects
I have two objects, job and employee. I tried to relate them with Master Detail but I am getting the below error:
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.
Kindly help me here.
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.
Kindly help me here.
Does those objects have look up relationship?
If no, then follow the below steps :-
- 1. You must first create a Lookup relationship between the objects.
- 2.populate the lookup field with data in all records,
- 3.and then change the relationship type to Master-Detail.
Kindly mark it as the best answer if it works for you.Thanks & Regards,
Priya Ranjan