In Oracle EBS we need to make the attachment at supplier Quotation as mandatory
Supplier to attach a signed and stamped Quotation as pdf is very important requirement
I have requirement to make attachment mandatory to OAF page, usually that requirement can be achieved using the below code
OAMessageAttachmentLinkBean localOAMessageAttachmentLinkBean =
(OAMessageAttachmentLinkBean)webBean.findChildRecursive("Attachments");
String str =
(String)localOAMessageAttachmentLinkBean.getAttributeValue(pageContext.getRenderingContext(),
TEXT_ATTR);
if ("None".equals(str)||"".equals(str)||str==null)
{
//raise error action
}
This code was working on old versions on oracle EBS. However, while trying to apply the same on EBS 12.2.14, we found that the returned variable from the attachment attribute "str", always returning as null either attachment exist of not
I found similar report discussing the same, but the answer for this post related to making attachment mandatory to standard isupplier page.