Loading
Feature degradation | Gmail Email delivery failureRead More
Salesforce Order Management
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Enable High-Scale Integration for Order Management

          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.
          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.
           
          Loading
          Salesforce Help | Article