You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Date field comparison

edited Dec 30, 2020 5:30AM in Fusion Service 4 comments

Content

Hi Team,

I have 2 custom date fields named as firstPPMdate_c and Enddate_c. While saving the record with value, the firstPPMdate_c should be earlier or equal to the enddate.But it is not working properly. Below is the validation script I have used. Please let me know if anyone aware of it.

Thanks,
Shaheela

Version

20D

Code Snippet

//Object Validation rule definition
if(FirstPPMDate_c >= EndDate_c)
{
return true
} 

//Error Message
First PPM Date should be earlier or equal to End Date !!

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!