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 |
- From Setup, in the Quick Find box, enter Apex Classes, and select Apex Classes.
- Select Developer Console.
- Select Debug | Open Execute Anonymous Window.
-
Enter this code:
Database.executeBatch(new AccountSharingCriterionBatch()); - Click Execute.