0 Associations
Mentions
The short answer is no. Although line items have a “dirty” flag that controls whether the line is recalculated upon “Recalculate Changes”, this field is not programmatically controlled.
If you’re faced with a requirement similar to a 2nd pass for Price Setting module, it means you’ll need to perform the line item calculations at header level and persist the changes to the lines using the applicable methods:
// For Quotes: quoteProcessor.addOrUpdateInput(lineId, inputMap) quoteProcessor.addOrUpdateOutput(lineId, outputMap) // For Agreements and Promotions: cProcessor.addOrUpdateInput(lineId, inputMap) cProcessor.addOrUpdateOutput(lineId, outputMap) // etc