2

I am facing a problem regarding Clone of record. I have an apex page as detail page of Survey__c object. There is a clone button to create new record from existing one via an apex class. Now I am not allowed to modify that Apex class or clone button. There is no way track kept which is the master record and cloned record. How can I figure out now the master and slave record of Survey__c object?

Please help me out.

1
  • question is not clear at all. Please, put some code and what have you tried to achieve
    – kurunve
    May 4, 2016 at 12:14

1 Answer 1

5

You can query for created date for both records and whichever has later date that is cloned.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .