function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
System DeveloperSystem Developer 

Don't allow deletion of the lookup record that's part of a lookup relationship".

Hi,

Why Cannot we create a look up relationship to Product2 Object by selecting "Don't allow deletion of the lookup record that's part of a lookup relationship".

Thank you in advance
 
bob_buzzardbob_buzzard
Its something that Salesforce enforces, but I've never seen anything documented as to why this is the case.  You could workaround this with a trigger or validation rule to block deletion of the lookup field.