Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Updated Start method of batch class used in SFDC Stop UNABLE_TO_LOCK_ROW blog
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