---
schema_version: "1"
id: 52d9e588f2e794fd31f9e4d93fff0b91b97b3de33a27564884201b805e9e4dc8
title: Enable High-Scale Integration for Order Management
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/om_hi_scale.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.om_hi_scale.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 00fcf2bb46bc3c0c7b25d79527e57f05dd82aa18d41424f7702b0f5726b79049
description: 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.
products:
  - Commerce
  - Salesforce Order Management
release: "264"
---
# 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.

1. If you’ve integrated B2C Commerce with Order Management, pause the integration.
    1. Log into B2C Commerce Business Manager.
    2. Navigate to **Administration** | **Global Preferences** | **Salesforce Order Management Integration Administration.**
    3. Change the Integration State from **active** to **paused** and save your changes.
2. From Setup, in the Quick Find box, enter Order Management, select Order Management, and turn on High Scale for B2C Integration.
3. 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.
4. Edit the Account object page layout.
    1. From the Object Manager, enter Account in the Quick Find Box.
    2. Select **Account** | **Page Layouts** | **Account Layout**.
    3. In the Account Layout section, select **Related Lists**, and drag **Pending Order Summaries** to the Related Lists section.
5. Edit the Contact object page layout.
    1. From the Object Manager, enter Account in the Quick Find Box.
    2. Select **Contact** | **Page Layouts** | **Contact Layout**.
    3. In the Contact Layout section, select **Related Lists**, and drag **Pending Order Summaries** to the Related Lists section.
6. 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.
7. 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.
    
    1. 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.
    2. Select **Object Settings**.
    3. Select **Pending Order Summaries**, and click **Edit**.
    4. Select **Read** and **Delete**, and save.
    5. Click **Object Settings**.
    6. Select **Pending Order Summary Processed Event**, and click **Edit**.
    7. Select **Read** and **Create**, and save.
8. If you paused the integration, set the integration state back to active
    
    1. Log into B2C Commerce Business Manager.
    2. Navigate to **Administration** | **Global Preferences** | **Salesforce Order Management Integration Administration.**
    3. 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](https://help.salesforce.com/s/articleView?id=commerce.om_impl_storefront_integration.htm&release=264.0.0&type=5 "Set up a connection between B2C Commerce and the Salesforce org where Order Management is configured. This connection lets Order Management receive orders from B2C Commerce.").
9. Confirm that the high-scale system is working correctly.
    1. Submit a test order.
    2. In B2C Commerce Business Manager, in the storefront site, go to **Merchant Tools** | **Ordering** | **Orders**.
    3. In the Order Management column, locate the test order, which now has an Accepted label.
    4. 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.

#### See Also

- [Order Management and Salesforce Flow](https://help.salesforce.com/s/articleView?id=commerce.om_configure_om_flows.htm&release=264.0.0&type=5 "Order Management works with Salesforce Flow to help you to create manual and automated functions. We provide out-of-the-box flow templates for processes such as order summary creation, placing orders on behalf of shoppers, order fulfillment, and order servicing.")
- [Manually Import a Pending Order Summary](https://help.salesforce.com/s/articleView?id=commerce.om_order_summary_manual_import.htm&release=264.0.0&type=5 "When the high-scale system is enabled, orders usually flow quickly from the Zero Object Service (ZOS) into Order Management. But when order volume is high, such as during a flash sale, orders can spend time waiting in ZOS. While an order is in ZOS, it’s visible in Order Management as a pending order summary. If you want to service an order that’s still in ZOS, you can manually import the pending order summary.")
- [Disable High-Scale Integration with B2C Commerce](https://help.salesforce.com/s/articleView?id=commerce.om_deactivate_high_scale_orders.htm&release=264.0.0&type=5 "Confirm that your org has a functioning Create Order Summary flow.")