What is the optimal...
 
Notifications
Clear all

What is the optimal way to implement these requirements?

1 Posts
1 Users
0 Likes
169 Views
(@salterslloyd)
Noble Member
Joined: 2 years ago
Posts: 746
Topic starter  

An org has a requirement that an Account must always have one and only one Contact listed as Primary. So selecting one Contact will de-select any others. The client wants a checkbox on the Contact called 'Is Primary' to control this feature. The client also wants to ensure that the last name of every Contact is stored entirely in uppercase characters .

What is the optimal way to implement these requirements?

  • A . write a single trigger on Contact for both after update and before update and callout to helper classes to handle each set of logic.
  • B . Write an after update trigger on Contact for the Is Primary logic and a separate before update trigger on Contact for the last name logic.
  • C . write an after update trigger on Account for the Is Primary logic and a before update trigger on Contact for the last name logic.
  • D . write a Validation Rule on the Contact for the Is Primary logic and a before update trigger on Contact for the last name logic.

Show Answer Hide Answer

Suggested Answer: A

   
Quote

Latest Salesforce PDII Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: