You need to sign in to do that
Don't have an account?
Monishan M
Error: Compile Error: Missing ')' at ',' at line 20 column 62
Hi All,
I am receiving above error in below code
global class RetrieveMedicalInquiryStatusBatchMVN implements Database.Batchable<sObject>, Database.AllowsCallouts, Database.Stateful, Schedulable {
String query = 'SELECT Id,Account_vod__c, Status_vod__c, MA_Response_AZ__c ' +
// Query Closing
'FROM Medical_Inquiry_vod__c ' +
'WHERE Sent_to_GMIP_MVN__c = TRUE ' +
'AND Id IN :Ids';
List <String> statuses;
List<String> Ids = new List<String>('a0tU000000784Gbdue' , 'a0tU00000090WERThc') ;
Can you please help me in sorting this out
Thanks,
Monisha
I am receiving above error in below code
global class RetrieveMedicalInquiryStatusBatchMVN implements Database.Batchable<sObject>, Database.AllowsCallouts, Database.Stateful, Schedulable {
String query = 'SELECT Id,Account_vod__c, Status_vod__c, MA_Response_AZ__c ' +
// Query Closing
'FROM Medical_Inquiry_vod__c ' +
'WHERE Sent_to_GMIP_MVN__c = TRUE ' +
'AND Id IN :Ids';
List <String> statuses;
List<String> Ids = new List<String>('a0tU000000784Gbdue' , 'a0tU00000090WERThc') ;
Can you please help me in sorting this out
Thanks,
Monisha
List<String> Ids = new List<String>('a0tU000000784Gbdue' , 'a0tU00000090WERThc') ;
With:
List<String> Ids = new List<String>{'a0tU000000784Gbdue' , 'a0tU00000090WERThc'} ;