Salesforce Fact #523 | Opportunity CloseDate validation
Suppose we have a use case where we need to implement a restriction that the Opportunity Close date can only be the last day of the month. We can implement the below validation rule:
CloseDate <> ADDMONTHS(CloseDate, 1) - DAY(ADDMONTHS(CloseDate, 1))
Comments
Post a Comment