List of questions
Related questions
Question 38 - Certified Sharing and Visibility Architect discussion
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.
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.
D.
The trigger handler class is using ''with sharing'' and the user does not have access to the orders related to the opportunity.
Your answer:
0 comments
Sorted by
Leave a comment first