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
Gopinath418Gopinath418 

how to insert bulk cpq quote documents using api?

Hi,
i have a scenario where have to generate quote document when an quote is inserted. I am able to do this using below code. But i want to do this for bulk quote inserts. Can anyone suggest me on this?
public with sharing class GenerateQuoteProposal {
    
    public String save(QuoteProposalModel context) {
        return SBQQ.ServiceRouter.save('SBQQ.QuoteDocumentAPI.Save', JSON.serialize(context));
    }
}
Herbert FloresHerbert Flores
The Oracle Configure, Price and Quote (CPQ) solution supports complete quote-to-cash process from customer inquiry to order fulfillment.

https://www.mybalancenow.today/
Mubeen QawiMubeen Qawi
I have not presonally implemented a solution for this use Case. But someone did and share the code snippets, you can perhaps build from this use case, as his/her use case is different. Hope it helps.
https://salesforce.stackexchange.com/questions/263923/salesforce-cpq-renewal-quote-and-document-generation-automation