You need to sign in to do that
Don't have an account?
kiran punuru
If the user added on opportunity team have different profile then set a check box to true
I have one requirement like this,If the user added on opportunity team have different profile then set a check box to true which is best way to acheive this.can anyone advise on this.
thanks
kiran
thanks
kiran
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000kC50IAE
Thanks for the reply , i had used the same trigger and added users with two different profiles but the checkbox is still false.can you please help me .
regards,
kiran
Try now with this code
I have already used update mapOpportunityToUpdate.values(); but still that check box is setting to true.
I have added opportunity team members like this:
First i have addded oppty team member1 with different profile as oppty owner profile . In this case it has to set to true which is not happening is it working for you?
Thanks,
kiran
Iam getting error at this line : variable id does not exist
mapOpportunityToUpdate.put(Id, new Opportunity(Id = objOTM.OpportunityId, Is_Diff_Profile__c = true));
What is the ID here ?
thanks
kiran