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 '16 at 12:14
5

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.