OAF Attachment : Make an attachment mandatory- iSupplier Portal
Currently we have developed a custom in the page controller Page: /oracle/apps/ap/invoice/request/webui/UnmatchedInvoicePG that validates that there is an attached document before continuing with the receipt load in ISupplier
With the release updated to 12.2.11 , changes are seen in the attachments section, and also the TEXT_ATTR property of the OAMessageAttachmentLinkBean class returns null.
Here is the custom code
OAMessageAttachmentLinkBean oamessageattachmentlinkbean = (OAMessageAttachmentLinkBean)webBean.findChildRecursive("Attachments");
String val = (String)oamessageattachmentlinkbean.getAttributeValue(pageContext.getRenderingContext(),TEXT_ATTR);
On this property we have developed the validation to control and make mandatory the entry of attachments on the receipt upload page in ISupplier.