OAF

Display the multiple errors in OAF

import com.sun.java.util.collections.ArrayList; import oracle.apps.fnd.framework.OAException; import oracle.apps.fnd.common.MessageToken; ArrayList errorMsg= new ArrayList(); for (int i=0; i< hMember.size(); i++) { MessageToken[] token = {new MessageToken(“USER”, getOADBTransaction().getUserName()),new MessageToken(“NUM”,hMember.getChildNumber())}; errorMsg.add(new OAException((String)(getOADBTransaction().getMessage(“XXFKI”,”XXFKI_ERRORS”,token)))); } OAException.raiseBundledOAException(errorMsg);

Read More

How to change the column header dynamically in advance table.

To change the column of a header dynamically use the following code in your controller. import oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean; import oracle.apps.fnd.framework.webui.beans.table.OAColumnBean; import oracle.apps.fnd.framework.webui.beans.table.OASortableHeaderBean; OAAdvancedTableBean tableBean = (OAAdvancedTableBean)webBean.findIndexedChildRecursive(“VendordtlRN”); OAColumnBean columnBean = (OAColumnBean)tableBean.findIndexedChildRecursive(“SupplierID”); OASortableHeaderBean…

Read More

How to write DDL statement in OAF

By using below script we can perform ddl statement in Application Module. public void OTCancel() { OnetimeVOImpl delvo = getOnetimeVO1(); Row row[] = delvo.getAllRowsInRange(); OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)getDBTransaction(); for (int…

Read More

Invalid Column Type error in OAF

This error occurred in OAF when I added the new export button to table layout region. For this error just right click on our VO (View Object) and select Edit.…

Read More

How to disable field based on parameter value

By using following script we can get parameter value in page level. Based on value we can set rendered property for the fields as follows: public void processRequest(OAPageContext pageContext, OAWebBean…

Read More

OAF Error – Unable to set binding parameter that does not exist

Introduction: This blog discusses on one of the causes for the issue “Unable to set binding parameter that does not exist ” Cause of the Issue: In OAF , our…

Read More

How to add Jar files to JDeveloper

In this post we are going to discuss how to add jar files to JDeveloper. First we need to download required jar file, after that you need to follow the…

Read More

Message Component Layout in OAF

If we have an requirement to fix the number of the Columns displays for a single row in in the OAF region then we can use Message component layout. In…

Read More

VO Extension Error — Attribute set for comments in View Object VO failed

Once we did VO Extension & migrated those files into server. Post that we may face this type of error Attribute set for comments in View Object VO failed. Solution:…

Read More

OAF Date Converter, Formatter and Validation – Reusable Methods

Various Date Converter, Formatter and Validations Reusable Methods in OAF /**=============================================== * Methods related to Date Operation Starts Here * =================================================*/ /** * Method that returns the current system date.…

Read More