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
Kondal Rao learnerKondal Rao learner 

regarding deleting junction object

hi experts,

 

I have one problem can u tell me ,in what cases we are unble to delete the junction object.

 

AroraAnupAroraAnup

There are several factors which are to be considered while deleting a custom object. These links should help you get started:

 

http://ap1.salesforce.com/help/doc/en/dev_deleting_custom_objects.htm

 

http://ap1.salesforce.com/help/doc/en/relationships_considerations.htm

 

Hope this helps!

Kondal Rao learnerKondal Rao learner

Hi ,

 

ya custom object also comes under juction object of course its custom object , pls explain me clearly

 

AroraAnupAroraAnup

Do you have any of the following defined on your junction object:

 

1. Used in Analytic Snapshot

2. Is being used in a roll-up summary field on another object

3. Has any active Apex classes, triggers or VF pages

 

Most important, if this object has more than 200 records, the system will not let you delete the object. You would first need to delete the underlying data to bring it less than 200 in order to proceed.

 

Let me know if this helps!