You are here:
Enable High-Scale Integration for Order Management
Salesforce orgs use high-scale order ingestion (HSOI) to create order summaries. HSOI can handle 5,000 orders placed per minute and 2,500 orders processed per minute for approximately 50 locations. Each order can have up to 2,000 lines.
Order Ingestion must be enabled for HSOI to work on your org.
-
If you’ve integrated B2C Commerce with Order Management, pause the integration.
- Log into B2C Commerce Business Manager.
- Navigate to
- Change the Integration State from active to paused and save your changes.
- From Setup, in the Quick Find box, enter Order Management, select Order Management, and turn on High Scale for B2C Integration.
-
If all your orders are from channels that have High-Scale Orders enabled, don’t use or
disable the Create Order Summary flow. However, you can have some orders coming from
channels that have High-Scale Orders enabled and other channels where it isn’t enabled. In
this case, you can modify the Create Order Summary flow to first check if High-Scale
Orders is enabled. One way to perform this check is to use the HighScaleOrdersSettings
file-based Apex.
Create a custom invocable method that calls the HighScaleOrdersSettings file-based Apex in the commerce_ordermanagement namespace. Use the isIngestOrdersAtScale method to determine if High-Scale Orders is enabled (true). For example:
public class HighScaleSettingsInvocabale { @InvocableMethod(label = 'Determine if HighScale is Enabled') public static List<Boolean> isHighScaleEnabled() { List<Boolean> listOutput = new List<Boolean>(); System.debug('Flag settings from the server ~~~~ ' + commerce_ordermanagement.HighScaleOrdersSettings.isIngestOrdersAtScale()); listOutput.add(commerce_ordermanagement.HighScaleOrdersSettings. isIngestOrdersAtScale()); return listOutput; } }Use the custom invocable method to add an Apex action to the beginning of the Create Order Summary flow. If the flow detects that High-Scale Orders is enabled, the flow exits. If it isn’t enabled, the flow creates the order summary. -
Edit the Account object page layout.
- From the Object Manager, enter Account in the Quick Find Box.
- Select .
- In the Account Layout section, select Related Lists, and drag Pending Order Summaries to the Related Lists section.
-
Edit the Contact object page layout.
- From the Object Manager, enter Account in the Quick Find Box.
- Select .
- In the Contact Layout section, select Related Lists, and drag Pending Order Summaries to the Related Lists section.
- If you have different page layouts for different user profiles, add the Pending Order Summaries related list to the Account and Contact page layouts for all users.
-
If you have custom permission sets with the Lightning Order Management User license,
give the custom permission sets access to the pending order summary object and pending
order summary processed event.
Users with the standard Order Management Agent or Order Management Operations Manager permission set already have access.
-
From Setup, in the Quick Find Box, enter Permission Sets,
and select the custom permission set.
The permission set must have the Lightning Order Management User permission set license.
- Select Object Settings.
- Select Pending Order Summaries, and click Edit.
- Select Read and Delete, and save.
- Click Object Settings.
- Select Pending Order Summary Processed Event, and click Edit.
- Select Read and Create, and save.
-
From Setup, in the Quick Find Box, enter Permission Sets,
and select the custom permission set.
-
If you paused the integration, set the integration state back to active
- Log into B2C Commerce Business Manager.
- Navigate to
- Change the Integration State from paused to active and save your changes.
If you’re integrating with B2C Commerce for the first time, resume integration progress. -
Confirm that the high-scale system is working correctly.
- Submit a test order.
- In B2C Commerce Business Manager, in the storefront site, go to .
- In the Order Management column, locate the test order, which now has an Accepted label.
-
In your Order Management org, search for the order summary and related records, and
verify that they exist.
If you encounter an error or order summaries aren’t created, open a case with Salesforce Customer Support.

