You need to sign in to do that
Don't have an account?
Nikita Ghosh 19
Validation Error with the Picklist value is not working.
I need a validation rule:
There is a Status field and if Status = Valid AOC than there should be an specific date that should be update in to AOC Expiry Date (Ther is a default value in the AOC Expiry Date, which is 31/12/2016) If the default value is not changed than there should be an error to update a valid date.
I am using this formula:
NOT( AND( ISCHANGED( AOC_Expiry_Date__c ),
ISPICKVAL( Status__c , 'Valid AOC') ) )
Formula is working good but after changing the date, still I am facing the error.
There is a Status field and if Status = Valid AOC than there should be an specific date that should be update in to AOC Expiry Date (Ther is a default value in the AOC Expiry Date, which is 31/12/2016) If the default value is not changed than there should be an error to update a valid date.
I am using this formula:
NOT( AND( ISCHANGED( AOC_Expiry_Date__c ),
ISPICKVAL( Status__c , 'Valid AOC') ) )
Formula is working good but after changing the date, still I am facing the error.
AND( NOT(ISCHANGED( AOC_Expiry_Date__c )),
ISPICKVAL( Status__c , 'Valid AOC'))
I tried this bt i m still facing the error.
Thanks.
NOT(ISCHANGED( AOC_Expiry_Date__c )),
AOC_Expiry_Date__c = 'Give the default date value',
ISCHANGED(Status__c ),
ISPICKVAL( Status__c , 'Valid AOC')
)
This will fire if Status__c is changed to Valid AOC and the AOC_Expiry_Date__c is not changed and AOC_Expiry_Date__c is equal to default date value.
AND(
NOT(ISCHANGED( AOC_Expiry_Date__c )),
AOC_Expiry_Date__c = 'Give the default date value',
ISCHANGED(Status__c ),
ISPICKVAL( Status__c , 'Valid AOC')
)
This formula works
AND( NOT(ISCHANGED( AOC_Expiry_Date__c )),
ISPICKVAL( Status__c , 'Valid AOC'))
But error mess stay as it is while changing the date.
This is the record before error
After hitting the save button this is the outcome
After changing the date the error remain there as it is.
I am leaving for home, I will reply you in 45 minutes. Thanks for all the effort doing for me.