Recalculate Apex Managed Sharing
- From the management settings for the custom object, go to Apex Sharing Recalculations.
- Choose the Apex class that recalculates the Apex sharing for this object. The class you choose must implement the Database.Batchable interface. You cannot associate the same Apex class multiple times with the same custom object.
- Click Save.