• James Martucci
  • 0 Points
  • Member since 2014

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 0
Hello, I need some help.  I have 2000 account records.  Each account has an owner.  I want to display the manager of the owner on the account record.  For each account, I do a query tot the User object to retrieve the mangerId field.  Works for a few account records, but governor limits are reached for lots of account records.  Basically, for each account record, do a query to get the manager.  If 2000 accounts, then there are 2000 querys.  Way too many.  Can you help me architect a better solution?  Thanks.