Guest User

Untitled

a guest
Nov 21st, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. for(EmailMessage sEmailMessage :listEmailMessage)
  2. {
  3.  
  4. liIDs.add(sEmailMessage.RelatedToid);
  5.  
  6. }
  7.  
  8. for(contact sCont : [select Id, LastEmailSentTime__c from contact where Id in : liIDS])
  9. {
  10. // sCont.LastTaskCreatedTime__c == null;
  11. // ids.add(sCont);
  12. }
  13.  
  14. }
Add Comment
Please, Sign In to add comment