ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 38 - Certified Sharing and Visibility Architect discussion

Report
Export

After testing and deploying a new trigger that does creates a related order when a opportunity is closed, the Architect begins complaints of permission error messages appearing when closing an opportunity.

How did this error occur?

A.
The trigger should be using RunAs() when creating the order.
Answers
A.
The trigger should be using RunAs() when creating the order.
B.
Trigger is using IsCreateable() Apex method and the user doesn't have create permission on the Oder object.
Answers
B.
Trigger is using IsCreateable() Apex method and the user doesn't have create permission on the Oder object.
C.
The trigger handlers class does not use any sharing keywords and the user not have access to the orders related to the opportunity.
Answers
C.
The trigger handlers class does not use any sharing keywords and the user not have access to the orders related to the opportunity.
D.
The trigger handler class is using ''with sharing'' and the user does not have access to the orders related to the opportunity.
Answers
D.
The trigger handler class is using ''with sharing'' and the user does not have access to the orders related to the opportunity.
Suggested answer: D
asked 23/09/2024
Harold van den Meijdenberg
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first