Add Warning on Attachment Deletion
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
0