You need to sign in to do that
Don't have an account?
Aishwarya Londhe
whats wrong in this code?
List<string> countries = new list<string>();
opportunity opp;
Id oppId;
if(eatsSetting!= NULL && eatsSetting.CLM_Live_Countries__c !=null){
countries = eatsSetting.CLM_Live_Countries__c.contains(';')? eatsSetting.CLM_Live_Countries__c.split(';') : eatsSetting.CLM_Live_Countries__c.split(',');
}
if(eatsSetting != NULL && eatsSetting.CLM_Live_Countries1__c != NULL){
countries = eatsSetting.CLM_Live_Countries1__c.contains(';') ?eatsSetting.CLM_Live_Countries1__c.split(';') : eatsSetting.CLM_Live_Countries1__c.split(',');
}
opportunity opp;
Id oppId;
if(eatsSetting!= NULL && eatsSetting.CLM_Live_Countries__c !=null){
countries = eatsSetting.CLM_Live_Countries__c.contains(';')? eatsSetting.CLM_Live_Countries__c.split(';') : eatsSetting.CLM_Live_Countries__c.split(',');
}
if(eatsSetting != NULL && eatsSetting.CLM_Live_Countries1__c != NULL){
countries = eatsSetting.CLM_Live_Countries1__c.contains(';') ?eatsSetting.CLM_Live_Countries1__c.split(';') : eatsSetting.CLM_Live_Countries1__c.split(',');
}
Need to complete code.
Thank you