MultiServiceAppHandler
MultiServiceAppHandler is a wrapper for CpqAppHandler that automatically handles scaling for processing thousands of sites and orders. Use this class and its methods when processing multiple items for multiple sites.
You can add a pre and post hook for MultiServiceAppHandler as you would for CpqAppHandler. See Create Hooks for MultiServiceAppHandler.
The methods are listed below in logical groups.
Method | Description |
---|---|
getMasterCarts Method | Returns a list of master carts (quotes and orders) for an opportunity. |
cloneMasterCart Method | Clones an existing master quote or order. It copies all groups and their members. It doesn’t copy Sub Quote/Order. |
getGroups Method | Returns a list of groups under a Master/Enterprise (Mega) quote or order, specific for a member-type. |
createNewGroup Method | Creates a new group (quote or order) with or without the corresponding Group Quote or Group Order record. |
updateGroup Method | Updates the name and description of a group. |
addToGroup Method | Adds a service point to a group. |
getObjectFieldsDescribe Method | For a given set of objects, returns all their fields and details, such as label, name, type, and others. |
runCartValidation Method | Runs the Industries CPQ Validate API on a sub quote. |
priceCart Method | Runs Industries CPQ pricing API on sub quotes. |
groupRollup Method | Calculates the pricing rollups (OneTime, Recurring, Usage) for a group. |
applyToGroup Method | Starts the Apply to Group batch job for a group. |
createOrderAndSubmit Method | Starts the checkout batch job for a group. |
isAllGroupsValidatedAndPriced Method | Checks if all groups are validated and priced successfully. This runs validate VIP. |
updateExternalPricingStatus Method | Updates the external pricing status of a master quote. |
removeGroups Method | Deletes a list of groups and their members. |
getGroupMembers Method | Returns a set of paginated member-records within a group. |
deleteMembers Method | Deletes the selected members from one or multiple groups. |
getUngroupedRecords Method | Returns a set of paginated non-members of a specific member type. |
invokeBatchSerially Method | Perform multiple batch operations (one after another) on a set of records. |
getFieldList Method | Returns the configured fields in FieldSet__c for a specific feature name. |
getMemberTypeList Method | Returns a list of CPQ Member Type custom metadata. |
refreshCartMSMessage Method | Regenerates all the messages of a group cart. |
refreshGroupMSMessage Method | Regenerates all the messages of a group. |
cartRollup Method | Responsible for cart rollups. |
priceLineItems Method | Responsible for pricing the line items. |