• Javier Fernandez
  • NEWBIE
  • 0 Points
  • Member since 2017
  • VEEVA CRM Administrator
  • Pharmetique Labs

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Im creating this code from scratch but I'm getting and error: Illegal assignment from List<TSF_vod__c> to List<String>

public static String getMyObjAB() { 
        List <String> TSFObjetivos = new List<String> ();
        List <String> Objterr = 
        [SELECT Call_Reminder_TSF__c from TSF_vod__c where Account_vod__c = '0015000001Bbyb9AAB'];
        return MyObjAB;
    }

What can I do?
Im creating this code from scratch but I'm getting and error: Illegal assignment from List<TSF_vod__c> to List<String>

public static String getMyObjAB() { 
        List <String> TSFObjetivos = new List<String> ();
        List <String> Objterr = 
        [SELECT Call_Reminder_TSF__c from TSF_vod__c where Account_vod__c = '0015000001Bbyb9AAB'];
        return MyObjAB;
    }

What can I do?