Creating Proposal Line Items from Opportunity
This API creates proposal line items from opportunity line items, creates a task for the action and invokes custom the callback which extends the interface CustomClass.IQuoteLifecycleCallback2. This API is a callback action after the proposal is created from createProposalFromOpportunity API.
API |
Signature |
---|---|
afterCreateFromOpportunity |
webService static Boolean afterCreateFromOpportunity(Id proposalId) |
Request Parameter |
||
---|---|---|
Name |
Type |
Description |
proposalId | ID |
The ID of the existing proposal. |
Response Parameters |
||
---|---|---|
Field |
Type |
Description |
isSuccess | Boolean |
Indicates whether the callback was successfully executed. The values are true and false. |
Code Sample
The sample code below enables you to create proposal line items from the opportunity and create a new task for given proposalID.
Integration Details
Use the following information in your integrations with CPQ Web Services API. Refer to Integrating Conga with External Systems for information on how to get started.