You are here:
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.
Method: recalculateRollupFormulas
How It Works
This service is mainly used for large, multi-instance quotes.
-
When
InsQuoteService:createUpdateQuoteis 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. -
This service takes as an input or remote option the
quoteIdof the quote that needs to recalculate the roll-up price. -
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.

