GenerateProposal Method for a Business Component
To create a new proposal record, the GenerateProposal method uses a template and settings from the DocServer as input. The DocServer is third-party software that specializes in searching, storing, and serving documents. It creates the proposal.
Format
To specify a custom template, use the following format:
BusComp.InvokeMethod("GenerateProposal", RecordExists, Replace, TemplateFile)To use the default proposal template, use the following format:
BusComp.InvokeMethod("GenerateProposal", RecordExists, Replace)The following table describes the arguments for the GenerateProposal method.
| Argument | Description | 
|---|---|
| RecordExists | You can use one of the following values: 
 | 
| Replace | You can use one of the following values: 
 | 
| TemplateFile | Optional. You can use one of the following values: 
 | 
Used With
To use this method, you can use a BusComp.InvokeMethod call with the following interfaces:
- Browser Script 
- COM Data Control 
- COM Data Server 
- Siebel Java Data Bean 
- Mobile Web Client Automation Server 
- Server Script