You need to sign in to do that
Don't have an account?

Need Apex Code for the Logic please.
Hi Team,
Need a Apex class for following:
Create an Apex class called “SalesUtility”. Methods in this class must be accessible without creating an instance of it.
And a utility method in “SalesUtility” which will return sum of “Expected Revenue” from Opportunity for current fiscal quarter. And
Write a utility method in “SalesUtility” class which will return all the Opportunity records having the same name as Lead Company field on Lead records.
Write a test class to verify all the above scenarios.
Thanks,
Aj
Need a Apex class for following:
Create an Apex class called “SalesUtility”. Methods in this class must be accessible without creating an instance of it.
And a utility method in “SalesUtility” which will return sum of “Expected Revenue” from Opportunity for current fiscal quarter. And
Write a utility method in “SalesUtility” class which will return all the Opportunity records having the same name as Lead Company field on Lead records.
Write a test class to verify all the above scenarios.
Thanks,
Aj
Please refer below class, This is onof the ways to acheve your requirement. Please let us know, if this helps.
Thanks,
Govindaraj.S
All Answers
Please refer below class, This is onof the ways to acheve your requirement. Please let us know, if this helps.
Thanks,
Govindaraj.S
It Worked.