Which two actions s...
 
Notifications
Clear all

Which two actions should the developer take to prevent the business logic that obtains the high value opportunities from being repeated in more than one place?

1 Posts
1 Users
0 Likes
34 Views
Isreal
(@baumgarnerisreal)
Prominent Member
Joined: 6 months ago
Posts: 333
Topic starter  

A developer created an Opportunity trigger that updates the account rating when an associated opportunity is considered high value. Current criteria for an opportunity to be considered high value is an amount greater than or equal to SI,000,000. However, this criteria value can change over time.

There is a new requirement to also display high value opportunities In a Lightning web component.

Which two actions should the developer take to prevent the business logic that obtains the high value opportunities from being repeated in more than one place? Choose 2 answers

  • A . Use custom metadata to hold the high value amount.
  • B . Call the trigger from the Lightning web component.
  • C . Leave the business logic code Inside the trigger for efficiency.
  • D . Create a helper class that fetches the high value opportunities.

Show Answer Hide Answer

Suggested Answer: A,D

   
Quote
Share: