October 30, 2019

Opportunity Closed Date must be in current month Salesforce Validation Rule

Validation Rule:

AND(
IF( IsNew(), true, IF( PRIORVALUE( IsClosed ), ISCHANGED( CloseDate ) , false ) ),
MONTH( CloseDate ) != MONTH( TODAY() ),
IsClosed
)


No comments:

Post a Comment