• Skrzynia
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi. 
I'm new in apex and I need help :).
I have an value field in Contact Object and I need to set primary contact for Account whose value is bigger than another contacts value fields;

For Example
Contact1 has value field = 1;
Contact 2 has value field = 2;

i need to make Contact 2 as a primary contact for account;

Thanks for help.