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
David SomekhDavid Somekh 

Cloning old opportunities after list price change

We changed the list price of a product, and we don't want to enable sales people to still use the old price.
We dont allow changing the sales price (Profile permission) but this protects only creation of new opportunities.
If a user clones a previous record, the old prices remain.
How can I fix this?
PriyaPriya (Salesforce Developers) 

Hi David,

Have you written any method in apex to clone the opportunity ?


Priya Ranjan

Joe AlianJoe Alian
When we did that Salesforce changed the list price in all our Closed Won Opportunities. ... You'd then need to clone the Price Books going forward and as the guys say do ... Price, the List Price for all the related ( Opportunity Products will also change ... 1. mass update your products to old pricing, and mark them as inactive