function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AndyuxAndyux 

Opportunity validation rule (CloseDate,"Current FQ")

I have a couple questions. The logic is
IF Opp Status is not Closed
AND
Close Date is Current Fiscal Quarter,
THEN
 Value of Field ”Probability to Close this quarter “ cannot be “none”
AND
DATEVALUE(CloseDate,"Current FQ")
   AND(
      ISPICKVAL(StageName,"Closed Won"),
      ISPICKVAL(StageName,"Closed Lost")),
ISNULL(Probability_To_Close_This_Q__c))
1) Does this work: DATEVALUE(CloseDate,"Current FQ")?
2) It can be either Closed Won OR Lost, there should be an OR someplace?