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.
Answer: D
Latest Sharing and Visibility Architect Dumps Valid Version with 212 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund