You need to sign in to do that
Don't have an account?
PRASHANT BHARTI
SOQL to fetch records
SOQL to fetch records which has been created over 2 years and no update on those records.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
You can use below query to get the records created over 2 years then loop on that query and check that createdDate == lastmodified date.