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
bbyrnebbyrne 

Create APEX class to create large number of new leads based on current opportunity stages

I'm in the process of trying to create an APEX class that creates a large number of new lead objects based on "stage" and "date" information in existing opportunities. I'm wondering if this is a common task that some other people have completed and whether there is some good sample code available (search didn't render any good results)?

 

Any help would be appreciated.

Thanks.

-B-