+ Start a Discussion

Insert OpposrtunityShare

     I have written trigger which manulaay adds a set of users to the OpportunityShare Object whenever the Owner of Opportunity is Changed, This works fine when the Owner is changed once, But once again when i change the Owner of the same Opportunity, the Users manually added to OpportunityShare Object prevuiously are lost.

I need to reatin the sharing on the Opportuntiy once the users are manually added to the Opportuntiy Share Object no matter how many times Owner is Changed.

Can someone help me out on this.

Many Thanks in Advance,