You are here:
Contract Creation
Vlocity supports contracts on opportunities, orders, and quotes. If the contract was created from an opportunity, when the opportunity becomes a quote, Vlocity CLM copies the contract reference from the opportunity to the quote.
If new line items are added to the quote, the Update Contract button appears on the detail page. Click the Update Contract button to update or create contract line items and create a new contract document attachment. Each contract attachment record indicates if it was created from an opportunity, order, or quote.
During the order process, the contract term is defined. You can limit the term to an allowable list of options defined in the contract document template or you can define the term when you create the content. When creating a contract, you can define a contract start date and contract term, which determine the contract end date.
When Vlocity CLM creates the contact, it also creates contract line items. Vlocity CLM also creates a Contract Document record that represents the first version of the contract. The Contract Document object stores versions of the contract document generated from a contract document template. Vlocity CLM may or may not generate the contract document itself at this time.
You can use options to control using contracts with the CPQ flow. If the Contract Required option is true, a contract is required to be part of the CPQ process. The Contract Required option can be set manually or automatically. For example, if any Product in an Order contains the Track as Agreement option, Vlocity CLM sets the Contract Required option. Then, you cannot complete the order without creating a contract. If a contract requires a signature, Vlocity CLM requires that the contract be signed before moving forward with the order. You can create a quote from an opportunity without a signed contract, but you cannot create an order from an opportunity or a quote without a signed contract.
- PDFTron Legal Licensing
PDFTron legal licensing is required for saving Contracts in PDF format. - Contract Actions Summary
There are many Actions that you can use with contracts. - Creating a Contract from an Opportunity, Order, or Quote
When you create a contract from an opportunity, order, or quote, Vlocity CLM automatically links the contract record to the parent object record from which it was created. For example, Vlocity CLM automatically links the contract record to the opportunity. - Creating a Contract from a Proposal
Generate a proposal using an approved quote, and create a contract from that proposal. - Creating a Contract from a Custom Object
When a customer is using custom objects or a CPQ application that is not Vlocity CPQ, the customer may configure Vlocity CLM to create contracts from other object pages. This application could also use the Field Mapper. - Creating a Contract from the Contracts Tab
You can create a contract from the Contracts tab, instead of from another object. - Contract Creation Example
Create and edit a contract from an insurance quote. - Contract Generation in Batch Mode
Contract generation can handle up to approximately 100 line items with good performance. To create documents with more than 100 line items, generate the contract in batch mode. Batch mode is available for object- or JSON-based Vlocity Web Templates, provided a Custom Section is used to fetch and format lines. This topic tells you how to create the custom Apex class and template required for batch generation, and how to batch-generate topics. - Batch Generation Example Class
This Apex code illustrates a basic implementation of the methods required to support the batch generation of contracts with a large number of line items (more than 100). - Viewing a Contract Document by Section View or Page View
When you check out to customize a contract document, you can view the contract in sections or by pages. If the contract is several pages long, you can quickly access the different parts by viewing section by section. When you review a contract document, you can review the redlines much faster if you view it by sections.

