Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

groupRollup Method

Calculates the pricing rollups (OneTime, Recurring, Usage) for a group.

ParameterRequiredDescription
parentIdRequiredOpportunity ID.
contextIdRequiredParent cart Id (Master/Enterprise Quote/Order Id)
groupIdRequiredGroup ID.
groupCartIdOptional: Required only if groupId is not passed.Group Cart Id.
groupFieldsOptionalGroup Field list.
masterFieldsOptionalMaster Field list.
quoteFieldsOptionalQuote Field list.
ParameterDescription
messageIn case of any error.