You need to sign in to do that
Don't have an account?
ABRAR-UL-HAQ
Before changing the state from "Quote Processing" to "Quote Sent" You must first create a Quote .
IF(ISPICKVAL(StageName ,"Quote Sent") && Number_of_Quotes__c = 0, true, false)
Are you trying to create a Validation Rule?
Based on the post Header, I am to belief that you are trying to create a Validation Rule. Please try using the following expression for the Error Condition Formula:
AND
(
ISCHANGED(StageName),
ISPICKVAL(PRIORVALUE(StageName), "Quote Processing"),
ISPICKVAL(StageName, "Quote Sent"),
Number_of_Quotes__c = 0
)
If you need to have a Quote in order to set the picklist the Quote sent you could just use this: