+ Start a Discussion
HeeseHeese 

Need help with a validation rule

I have a lookup field on contracts to an opportunity.  Is there a way that I can write a validation rule that requires an opportunity to have a contract that is "Activated' prior to marking the opportunity as Closed/Won?

 Thanks 

SteveMo__cSteveMo__c

I don't think it can be done with Formula Language, because Opportunities and Contracts don't have the needed Master-Detail Relationship, so you can't get a handle to the Contract fields.  

 

You might be able to do something with Apex Code like they do with the free Primary Contact Required App from the AppExchange.  But the only thing that I know about Apex Code is that I don't know anything about Apex Code.