Is it possible to change the value of the EmailAddress attribute to null?
Summary:
Content (required):
Hello community.
I need to change the value of the EmailAdress attribute in Contact to a null value, try the following code but it shows me an error.
Could you tell me if this is possible. Thank you.
Version (include the version you are using, if applicable):
Oracle Fusion Cloud Applications 23A (11.13.23.01.0)
Code Snippet (add any code snippets that support your topic, if applicable):
def correos = Email;
if(correos.hasNext())
{
def correo = correos.next();
if(correo.getAttribute('EmailAddress') != null)
{
correo.setAttribute('CreatedByModule','HZ_WS');
correo.setAttribute('EmailAddress', null)
}
}
Tagged:
0