You are here:
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 |
|---|---|
Returns a list of master carts (quotes and orders) for an opportunity. |
|
Clones an existing master quote or order. It copies all groups and their members. It doesn’t copy Sub Quote/Order. |
|
Returns a list of groups under a Master/Enterprise (Mega) quote or order, specific for a member-type. |
|
Creates a new group (quote or order) with or without the corresponding Group Quote or Group Order record. |
|
Updates the name and description of a group. |
|
Adds a service point to a group. |
|
For a given set of objects, returns all their fields and details, such as label, name, type, and others. |
|
Runs the Industries CPQ Validate API on a sub quote. |
|
Runs Industries CPQ pricing API on sub quotes. |
|
Calculates the pricing rollups (OneTime, Recurring, Usage) for a group. |
|
Starts the Apply to Group batch job for a group. |
|
Starts the checkout batch job for a group. |
|
Checks if all groups are validated and priced successfully. This runs validate VIP. |
|
Updates the external pricing status of a master quote. |
|
Deletes a list of groups and their members. |
|
Returns a set of paginated member-records within a group. |
|
Deletes the selected members from one or multiple groups. |
|
Returns a set of paginated non-members of a specific member type. |
|
Perform multiple batch operations (one after another) on a set of records. |
|
Returns the configured fields in |
|
Returns a list of CPQ Member Type custom metadata. |
|
Regenerates all the messages of a group cart. |
|
Regenerates all the messages of a group. |
- Create Hooks for MultiServiceAppHandler
The Multisite APIs provide an option to write custom pre- and post-hooks for each API to implement custom logic. A pre-hook is run before the actual API runs. A post-hook runs after the actual API runs. - createNewGroup Method
Creates a new (Quote or Order)-group with or without the corresponding Group Quote or Group Order record. - addToGroup Method
Adds a service point to a group. - removeGroups Method
Deletes a list of groups and their members. - getGroups Method
Returns a list of groups under a Master/Enterprise (Mega) quote or order, specific for a member-type. - updateGroup Method
Updates the name and description of a group. - applyToGroup Method
Starts the Apply to Group batch job for a group. - groupRollup Method
Calculates the pricing rollups (OneTime, Recurring, Usage) for a group. - isAllGroupsValidatedAndPriced Method
Checks if all groups are validated and priced successfully. This runs validate VIP. - getUngroupedRecords Method
Returns a set of paginated non-members of a specific member-type. - refreshGroupMSMessage Method
Regenerates all the messages of a group. - cloneMasterCart Method
Clones an existing master quote or order. It copies all groups and their members. It doesn’t copy Sub Quote/Order. - getMasterCarts Method
Returns a list of master carts (quotes and orders) for an opportunity. - createOrderAndSubmit Method
Starts the checkout batch job for a group. - deleteMembers Method
Deletes the selected members from one or multiple groups. - getGroupMembers Method
Returns a set of paginated member-records within a group. - getMemberTypeList Method
Returns a list of CPQ Member Type custom metadata. - priceCart Method
Runs Industries CPQ pricing API on sub quotes. - runCartValidation Method
Runs the Industries CPQ Validate API on a sub quote. - refreshCartMSMessage Method
Regenerates all the messages of a group cart. - updateExternalPricingStatus Method
Updates the external pricing status of a master quote. - getObjectFieldsDescribe Method
For a given set of objects, returns all their fields and details, such as label, name, type, and others. - getFieldList Method
Returns the configured fields inFieldSet__cfor a specific feature name. - invokeBatchSerially Method
Performs multiple batch operations (one after another) on a set of records.

