Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How to write an Apex method "getFilteredContact" to find revenue > $1,000,000?

Asked by Felix Andrea Jun 18, 2024 435 views 1 answer
Share

About this question

I am a Salesforce developer who is tasked with creating a custom apex controller for a particular Visualforce page that can display a list of contacts. In this task how can I write an apex method named “getFilteredContact” which can perform Database queries related to the contact and related account object to retrieve the contact belonging to the account with an annual revenue generator greater than $1,000,000? 

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.