ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 223 - Certified Platform Developer II discussion

Report
Export

As part of a custom development, a developer creates a Lightning Component to show how a particular opportunity progresses over time. The component must display the date stamp when any of the following fields change:

• Amount Probability, Stage, or Close Date

What is the most efficient way to Query such information?

A.
[Select Amount, CloseDate, StageName, Probability FROM OpportunityHistory WHERE Opportunityld = :oppId];
Answers
A.
[Select Amount, CloseDate, StageName, Probability FROM OpportunityHistory WHERE Opportunityld = :oppId];
B.
[Select Newvalue, Oldvalue From OpportunityField_History Where Oppportunity = oppid AND Field IN
Answers
B.
[Select Newvalue, Oldvalue From OpportunityField_History Where Oppportunity = oppid AND Field IN
C.
[Select NewValue, Oldvalue FROM Opportunity FieldHistory WHERE Opportunityld = :oppId AND Field IN
Answers
C.
[Select NewValue, Oldvalue FROM Opportunity FieldHistory WHERE Opportunityld = :oppId AND Field IN
D.
('StageName', Probability',Amount /CloseDate')];
Answers
D.
('StageName', Probability',Amount /CloseDate')];
E.
[Select Amount CloseDate. StageName, Probability FROM Opportunity_History WHERE Opportunityld - :oppId];
Answers
E.
[Select Amount CloseDate. StageName, Probability FROM Opportunity_History WHERE Opportunityld - :oppId];
Suggested answer: C
asked 23/09/2024
Rodwell Shibambu
51 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first