
I need to lock down an opportunity for editing at sales stage 'Closed Won' as well as prevent any addition or changes to the opportunity products by all profiles except these 3 profiles ("00e20000001Ozls", "00e20000000nRxA", "00e20000001P3qc").
The script below seems to allow the profiles above to edit the opportunity at Closed Won, but does not allow anyone else to even add products at any other stage? Can you help?
4 件の回答

Hi SteveMo
Thanks for the prompt feedback, 6 mins ;-)
How can I include more than one profile?
And will the script below prevent the user from editing existing products that are assigned to an opportunity once its closed?