Loading
Feature degradation | Gmail Email delivery failureRead More
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
          Schedule an Apex Class for the Account Sharing Batch Process

          Schedule an Apex Class for the Account Sharing Batch Process

          Schedule an Apex class to run the account sharing batch process and make the supporting accounts—Wholesaler, Distributor, or Payer—visible to users.

          Required Editions

          Available in: Lightning Experience in Professional, Enterprise, and Unlimited Editions that have Consumer Goods Cloud enabled
          User Permissions Needed
          To schedule an Apex batch process:

          CGCloud Business Admin

          OR

          CGCloud Retail Business Admin

          1. From Setup, in the Quick Find box, enter Apex Classes, and then select Apex Classes.
          2. Click Schedule Apex.
          3. Select the Apex class as AccountSharingCriterionBatch.
            If the Apex class isn’t listed, find and open the Apex class in Developer Console. Then retry selecting the apex class on the Schedule Apex page.
          4. Specify how often you want the apex class to run.
            We recommend that you schedule to run the batch process weekly.
          5. Save your changes.

          To monitor the jobs, from Setup, in the Quick Find box, enter Scheduled Jobs, and then select Scheduled Jobs.

           
          Loading
          Salesforce Help | Article