• John Chalovich 6
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I am an Admin with no coding/developer skills, and we don't have a developer. Salesforce Support told me that my problem could be solved by setting a trigger to manually update stage history. I'm hoping someone can explain how to do this.

Basically, my team created an opportunity in July '18 that shouldn't have been created until December '18, and I need it to show up as created in December '18 with the stage set to Evaluation in December, as well.

2 days ago (January '19), I deleted the original opportunity and created a new opportunity through import with the CreatedDate set to December 12, 2018, with the stage set to Evaluation. However, while the opportunity correctly appears as having been created in December, the stage value is not set until January. Therefore, the opportunity is missing from my Opportunity Trend report in december, because it is considered stageless until January.

Can someone tell me how to create a trigger that will set the opportunity stage history to show the evaluation stage being set in December? Thank you!