Enable the option : "Delete this record also. This allows users to delete large numbers of records without regard for sharing or visibility constraints." on the Custom Lookup Fields.
Steps in Lightning :
1. Click on Setup
2. Object Manager
3. Select the Object the custom lookup field is created
4. Open the Lookup Field
5. Select the Edit Button
6. Put a tick mark on the option : "Delete this record also. This allows users to delete large numbers of records without regard for sharing or visibility constraints."
7. Hit Save
Steps in Classic :
For Standard Objects with Custom Lookup Field :
1. Click on Setup.
2. Look for the Object the lookup field is created
3. Click on Fields
4. Open the Lookup Field
5. Select the Edit Button
6. Put a tick mark on the option : "Delete this record also. This allows users to delete large numbers of records without regard for sharing or visibility constraints."
7. Hit Save
For Custom Objects with Custom Lookup Field :
1. Click on Setup
2. Open Objects
3. Select the Object where the custom lookup field is created
4. Look for "Custom Fields & Relationship"
5. Open the Lookup Field
6. Select the Edit Button
7. Put a tick mark on the option : "Delete this record also. This allows users to delete large numbers of records without regard for sharing or visibility constraints."
8. Hit Save
Please Note: Salesforce Support will need to set the permission "Enable cascade delete on custom lookup relationships" to see the option, "Delete this record also".
000380112

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.