Not rocket science but as usual there are a lot of bad posts on this so: Switch Opportunity for whatever object and tralala.
Silly Dev Trick: Record Type Id without SOQL
Posted on
Computers, Music, and Thoughts
Not rocket science but as usual there are a lot of bad posts on this so: Switch Opportunity for whatever object and tralala.