• Mark Stoddard 17
  • NEWBIE
  • 0 Points
  • Member since 2016
  • Wonder Ward

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I have a List<Contact> in apex, but ultimately what I want is Map<Contact,List<String>> where the List<String> is the list of account numbers associated to the contact.

I had some working queries a while back, but I didn't think I'd need them, so got rid of them.  Now I'm not sure how to do it.  I assume I need to hit  Account Contact Relationships somehow, but don't know how.