I'm trying to create a lookup relationship field however it's giving me an error saying it cannot create a Master-Detail relationship, which is not what I selected. Is there any reasion for this occurring?

error code

  • Did you say Lookup - Required? that could cause the same – zaitsman Aug 6 at 5:23
  • I did check required, is there no way of making it a requirement to fill in that field without making it a master-detail relationship? – Claire Aug 6 at 14:30
  • The problem is not Master-Detail, the problem is that since you are making it required AND you have data in this sObject, SF does not know how to handle this. It cant put no value for existing records as you said it is required and it can’t figure out what value to put there since it’s a lookup. – zaitsman Aug 6 at 22:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.