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

Test Class for Opportunity Clone with Products



I have created an after insert trigger on OpportunityLineItem which simply modifies a field value -  this has been neccessary for where the user has Cloned Opportunities using "Clone with Products".


I now need a suitable test class - anyone know if its possible to call a "clone with products" APEX method?