0

Is there any native way or package that carries over the Lead History tracking to the Opportunity when Lead is converted?

1

I don't see how this could work

  1. The OpportunityHistory.CreatedBy and CreatedDate fields are populated by the system, not via Apex
  2. Apex can't write to these objects anyway

A better solution would be to create either a Text Area (long) field on Opportunity where you use Apex to populate the lead's field history (truncated to fit field size)

or

Create a custom master-detail object under Opportunity called LeadConversion_History__c and populate accordingly.

| improve this answer | |
  • I understand that I can simulate it with a custom object and apex but I'm looking more for a native or quicker solution to this. We are trying to avoid a longer custom solution if possible. – dphil Nov 1 '17 at 13:34
  • @dphil - There is no native solution I know of; managed packages would have same limitation as Apex limitations above – cropredy Nov 1 '17 at 14:38
  • The thing with managed packages is that we wouldn't have to do the underlying work for it. Thanks for trying though! – dphil Nov 1 '17 at 17:26

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.