Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Insurance
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Insurance Quote Object Model

          Insurance Quote Object Model

          We've extended the Salesforce quote data model to store Insurance-specific data in quotes. When Insurance quoting uses the functionality of both Insurance and Salesforce to store all the data associated with that quote.

          Quote data is created, updated, removed, and pulled by the services in the InsQuoteService class. The primary services are:

          These Services are used in OmniScripts and Integration Procedures. OmniScripts and Integration Procedures maintain runtime data in their own Data Object Models (DOMs), formatted in JSON.

          When a service is called, all or part of the data from the DOM can be passed to that service. After a service completes execution, JSON-formatted data is returned and the DOM of the OmniScript or Integration Procedure is updated. Other services such as getRatedProduct and repriceProduct pull information from the root product and use the rating engine to price the product being quoted.

          If you've set up complete product specs, created a well-formed rating engine, and mapped the rating engine to the product spec correctly, Insurance creates quotes and stores the data according to the data model described in this topic.

          A quote object contains information about all the coverages, insured items, and insured parties that are part of the quote.

          Single Root vs Multi-Root Quote Data

          Most Insurance lines of business use a single root product per quote. That means that the quote includes one root product, and can include multiple insured items, insured parties, and coverages.

          Group Health lines of business use multiple root products (plans) per quote. That means that one group quote can include lots of root products, plus insured items, insured parties, and coverages for each root product.

          Data stored on the quote and quote line items vary between single-root and multi-root quotes.

          Single-root quotes:

          • JSON rated data (containing calculated premiums) gets set on the quote object.

          • The PrimaryRootItemId is set on the quote object. It points to the root quote line item.

          Multi-root quotes:

          • JSON rated data gets set on the quote line items on a per-product basis.

          • No PrimaryRootItemId is set

          What's in the Quote Object

          The quote object contains these major areas where data is stored:

          • Insurance quote details

          • Insurance quote line items

          • Quote pricing adjustments

            Quote pricing adjustments are populated by the calculateTaxesAndFees service, usually when it's used in a flow that calculates taxes and fees separately from generating a quote.

            To get to the Quote Pricing Adjustments, click the Related tab on the quote record, then scroll down to Quote Pricing Adjustments.

            Each line item shows the pricing adjustment's Id (name), amount, and source of the tax or fee. You can click the Tax/Fee ID of any adjustment to see where it comes from.

          • Insurance Quote Item Relationship Object

          • Insurance coverages

          • Insurance insured items

          Quote Data Model

          To see the full quote >data model, see Insurance and Financial Services Data Model.

          • Insurance Quote Details
            The header information for a quote is populated by the InsQuoteService:createUpdateQuote service. You can see it in the Quote object's Details tab.
          • Insurance Quote Line Items
            Quote line items are stored as separate objects that are associated with and linked to their associated quote object.
          • Insurance Quote Item Relationships Object
            The Quote Item Relationships object is an object that holds the table that's used for many-to-many quote line item relationships only. It creates a structure that lets Vlocity store driver data only one time.
          • Insurance Coverages
            Vlocity uses the root product(s) as the basis for storing coverages and creating relationships between coverages, insured items, and root products in the quote data model.
          • Insurance Insured Items
            The insured item data in the quote gets pulled from the insured item specs associated with the root product that's been quoted.
           
          Loading
          Salesforce Help | Article