Validation rule to avoid closing an Opportunity other than today in Salesforce

Validation Rule:


AND ( 
CloseDate <> TODAY(), 
OR ( 
ISCHANGED( StageName ) , 
DATEVALUE( CreatedDate ) = TODAY() 
), 
Probability = 1.00//you can use isClosed = true also 
)

No comments:

Post a Comment