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

Is it possible to change the value of the EmailAddress attribute to null?

Received Response
44
Views
1
Comments
edited Jun 23, 2023 9:09PM in Sales 1 comment

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) 

  }

}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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