Last active
May 15, 2021 05:52
-
-
Save rahulmalhotra/f520d28af6f2573eeef74fa59ff92d48 to your computer and use it in GitHub Desktop.
Updated Start method of batch class used in SFDC Stop UNABLE_TO_LOCK_ROW blog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Database.QueryLocator start(Database.BatchableContext bc) { | |
return Database.getQueryLocator('SELECT Id, Count__c FROM Product_Part__c ORDER BY Product__c'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment