-1

Anyone can help me to write following trigger:

Find the first 2 contacts with the highest salary and update the name in a custom field separated by a “,”.

  • Create a new custom text field on account named “Top Salary Contacts”.
  • Create a custom number type field on contact with 2 decimal places named “Salary” in contact.
New contributor
Mayur Borate is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
3
  • 1
    Hi and welcome to SFSE. Please read How to Ask and perhaps take the tour before you edit your question to show what you have tried and where you are stuck. This is not a free coding service, but we are here to help with specific problems encountered along the way.
    – Phil W
    Jun 23 at 5:39
  • Please add what you have tried so far.
    – Elijah
    Jun 23 at 6:27
  • If you're new to Triggers (or any other part of Salesforce), then trailhead.salesforce.com is going to be a better resource to get you started.
    – Derek F
    Jun 23 at 11:27

0

Browse other questions tagged or ask your own question.