Groovy Validation Code for Contact Email (Doc ID 2169864.1)

Last updated on AUGUST 12, 2016

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.1.11.1.0 and later
Information in this document applies to any platform.

Goal

Customer requirement is that the Email should be mandatory in contact object and they wanted to Enter only the valid value in these fields Ex:work phone should only accept numbers and not characters
Email Should contains '@' and '.' compulsory if it doesn't contain they need an error message to be shown in the UI.

They have written object level validations on the Email to make it mandatory but these are firing only at create time and these validations are not firing.

This is happening if they edit only Email field  in Contact Object.
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms