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
avkavk 

What happens to Lookup and Master Detail Relationships after UNDELETE

I've a parent record. All the child records will be deleted if i delete this parent record for a Master Relationship. What if i undelete this Master/Parent Record??.. will all my child records also get restored??........ AND ...... I've a parent record.. If i delete this master/parent record, all the Lookup values(fields) in child records associated with this parent will turn 'null' for a Lookup Relationship. What if I undelete this Master/Parent Record??... will all these values will also get restored?? Pls confirm..

SurekaSureka

Hi,

 

For your first question, If you undelete Master record, the child records will be restored. Also the relationship between master and child will be restored.

 

Second question in the lookup relationship, If you undelete parent record, the relationship between the parent and child will be restored.ie. Null values will be replaced by corresponding parent record.

 

Thanks