Loading
Salesforce now sends email only from verified domains. Read 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
          InsQuoteService:recalculateRollupFormulas

          InsQuoteService:recalculateRollupFormulas

          Use this service to sum the price at the child or grandchild quote line item level and recalculates it to the parent quote line item level.

          Note
          Note

          This service isn't supported for guest users.

          If a guest user tries to run an OmniScript or Integration Procedure or UI function that uses this service, the service will not run and the guest user will see an error message.

          Class: InsQuoteService

          Method: recalculateRollupFormulas

          How It Works

          This service is mainly used for large, multi-instance quotes.

          1. When InsQuoteService:createUpdateQuote is not completed in one call, the quote is updated with a subset of quote line items through multiple calls; hence, the roll-up in each call is not a complete price.

          2. This service takes as an input or remote option the quoteId of the quote that needs to recalculate the roll-up price.

          3. After all quote line items are added to the quote, this service re-calculates the roll-up price at the parent and root quote line item level.

          Remote Options

          Option

          Description

          quoteId

          Required

          Id of the quote that the service will use to recalculate the rollup price.

          Input JSON

          This service doesn't take an input JSON.

          Output JSON

          Here's a simple example of an updated quote line item Id and its unit price: 

          {
             "0QL1U0000006GZ4WAM": 1283
          }
           
          Loading
          Salesforce Help | Article