Loading
Set Up and Maintain Retail Execution
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
          Run the Account Sharing Batch Script

          Run the Account Sharing Batch Script

          Run the account-sharing batch script manually to update the Sharing Criterion field values in the database.

          Required Editions

          Available in: Lightning Experience in Professional, Enterprise, and Unlimited Editions that have Consumer Goods Cloud enabled
          User Permissions Needed
          To run the account sharing batch script:

          CGCloud Business Admin

          OR

          CGCloud Retail Business Admin

          1. From Setup, in the Quick Find box, enter Apex Classes, and select Apex Classes.
          2. Select Developer Console.
          3. Select Debug | Open Execute Anonymous Window.
          4. Enter this code:
            Database.executeBatch(new AccountSharingCriterionBatch());
          5. Click Execute.
           
          Loading
          Salesforce Help | Article