Loading
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
Insurance
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