Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

download

Copying Product Configuration to the Proposal

You can use this API to copy product configuration from a saved or finalized proposal to another proposal.

API

Signature

copyProductConfiguration

webService static Boolean copyProductConfiguration(Id oldProposalId, Id newProposalId)

Request Parameter

Name

Type

Required?

Description

newProposalId ID

Yes

The ID of the proposal from which you want to copy the product configuration.

oldProposalId ID

Yes

The ID of the proposal where you want to copy the product configuration.

Response Parameter

Field

Type

Description

isSuccess Boolean

Indicates whether the product configuration was copied or not.

Code Sample

The sample enables you to copy product configuration from one proposal to another.

/** * The below method demonstrates how to copy product configuration from one proposal to another one. */ public static Boolean copyProductConfiguration(Id oldProposalID, Id newProposalId ) { Boolean isSuccess = false; isSuccess = Apttus_qpconfig.QPConfigWebService.copyProductConfiguration(oldProposalID, newProposalId); return isSuccess ; }