function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Miya PMiya P 

Error when clicking on the "Mass Update" & "Mass Edit" buttons on Leads. This is working for all t other List view's except for 'My Open Leads'

core.apexpages.exceptions.ApexPagesHandledException: Object type not accessible. Please check permissions and make sure the object is not in development mode: (DoNotCall != TRUE)) ) ORDER BY Product_Interest__c ASC LIMIT 10000 ^ ERROR at Row:3:Column:37 field 'Product_Interest__c' can not be sorted in a query call. Original queryString was: 'SELECT Id, Company, Email, LeadSource, Name, Salutation, FirstName, LastName FROM Lead WHERE ( ((OwnerId = '0051M000007BS2I') and (IsConverted = FALSE)) AND ((Status = 'Open') and (DoNotCall != TRUE)) ) ORDER BY Product_Interest__c ASC LIMIT 10000' 
Raj VakatiRaj Vakati
Add the Product_Interest__c  fields to list view and try ..