• Mr Woda
  • NEWBIE
  • 20 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 3
    Replies
Create some apex logic for old Accounts, so we can run this logic,get all accounts without 'custom users" then create these 'custom users', link them with the correspondent account and link all opportunities from Account record to the custom user.
 Create inner class with comparator (by lastName asc) for parsing this json:

[{"lastName" : "Perucci", "firstName" : "John", "title" : "guitarist" },{"lastName" : "LaBrie", "firstName" : "James", "title" : "singer"},{"lastName" : "Mabgini", "firstName" : "Mike", "title" : "drummer"},{"lastName" : "Myung", "firstName" : "John", "title" : "basist"}]
Create some apex logic for old Accounts, so we can run this logic,get all accounts without 'custom users" then create these 'custom users', link them with the correspondent account and link all opportunities from Account record to the custom user.