weWe have a button on the opportunity object that is a part of the Octive managed package and is submitting the proposal for an approval when clicked. weWe would like to customize it so that when the opportunity is at stage 'Closed or Lost' or 'Closed'Closed or Lost'
or Won''Closed or Won'
and user clicks the button they get an error message.
The
The button URL is as following: /apex/tinderbox__create_document?sObjectType=Opportunity&recordId={!Opportunity.Id}
Would greatly appreciate any help.
Thank you
/apex/tinderbox__create_document?sObjectType=Opportunity&recordId={!Opportunity.Id}