- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Please use below sample code to add and save rate plans to a Quote using CPQ X
// Replace the Quote ID with the newly created quote ID String quoteId = 'a1G0I000001ZjLIUA0';' // Replace the ID with the Poduct rate plan ID in your Org List<Id> productRatePlanIds = new List<Id>{'a0z0I0000092q6k'}; List<zqu.QPlan> plans = zqu.QPlanBuilder.makeFromCatalog(quoteId, productRatePlanIds); zqu.QPlanWriter.save(plans);
please refer below Knowlege Articles for more information on using CPX classes.
QPlanBuilder_Class and QPlanWriter_Class
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Please use below sample code to add and save rate plans to a Quote using CPQ X
// Replace the Quote ID with the newly created quote ID String quoteId = 'a1G0I000001ZjLIUA0';' // Replace the ID with the Poduct rate plan ID in your Org List<Id> productRatePlanIds = new List<Id>{'a0z0I0000092q6k'}; List<zqu.QPlan> plans = zqu.QPlanBuilder.makeFromCatalog(quoteId, productRatePlanIds); zqu.QPlanWriter.save(plans);
please refer below Knowlege Articles for more information on using CPX classes.
QPlanBuilder_Class and QPlanWriter_Class
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √