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

Add Warning on Attachment Deletion

Received Response
21
Views
1
Comments
in Sales 1 comment

Summary: The desired outcome is to have a warning display when a user tries to delete an attachment that they can either accept or decline. We tried to use a similar snippet as listed below but can't accout for the removal of the attachment.

if (LeadStatus_Custom_c == 'CONVERTED')

{

  def attachVO=Attachment

 if(!attachVO.hasNext())

 {

 throw new oracle.jbo.ValidationException("You are not allow to covert the Agreement without Attachment")

   

  

}

}


Content (required): Oracle CX Sales


Version (include the version you are using, if applicable): 23C

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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