1

We have Quote object looking up to opportunity in our Org. We want to set sharing of Quote object to Private. The sharing of the Quote record should be same as of opportunity. We are planning to control it via apex sharing. Please let me how can I control the sharing of Quote record after it is created and related opportunity record sharing gets modified via manual sharing.

FYI - We cannot write trigger on OpportunityShare object.

4
  • Is quote standard Object or custom? – Pranay Jaiswal Jul 15 '19 at 18:03
  • What have you tried to do? What options have you considered? – Sebastian Kessel Jul 15 '19 at 18:20
  • @pranay Jaiswal We can treat it as a custom object. Its actually a object from Salesforce CPQ manage package. – Sam R Jul 16 '19 at 3:30
  • @Sebastian One option can be of a batch which we are thinking of. But a batch can't sink the access on quote in real time or atleast in few secs. It also gonna put extra load on the system as it need to be scheduled in few mins interval. – Sam R Jul 16 '19 at 3:35