Error of passing of oracle.sql.ARRAY in PL/SQL function at work under OC4J

Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
Error occured at working with DataSource based on com.evermind.sql.DriverManagerDataSource and oracle.jdbc.pool.OracleDataSource.
Error:
java.lang.AbstractMethodError: com.evermind.sql.OrclCMTConnection.physicalConnectionWithin()Loracle
/jdbc/internal/OracleConnection;
at oracle.sql.TypeDescriptor.setPhysicalConnectionOf(TypeDescriptor.java:660)
at oracle.sql.TypeDescriptor.<init>(TypeDescriptor.java:212)
at oracle.sql.ArrayDescriptor.<init>(ArrayDescriptor.java:376)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:237)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:192)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:177)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:114)
What to do?
Thank you.

The issue is resolved by change classes12dms.jar for OC4J. The jdbc driver was changed from version (read from manifest):
Manifest-Version: 1.0
Specification-Title: Oracle JDBC driver classes for use with JDK12
Created-By: 1.4.2_08 (Sun Microsystems Inc.)
Implementation-Title: classes12dms_g.jar
Specification-Vendor: Oracle Corporation
Specification-Version: Oracle JDBC Driver version - "10.2.0.1.0"
Implementation-Version: Oracle JDBC Driver version - "10.2.0.1.0"
Implementation-Vendor: Oracle Corporation
Implementation-Time: Wed Jun 22 19:11:35 2005
to:
Manifest-Version: 1.0
Name: javax/sql/ConnectionEvent.class
Digest-Algorithms: SHA MD5
SHA-Digest: GQ5KFq39ybZzmgVThMOVSb6DDL8=
MD5-Digest: uryrGtwsbgYBwoQDl0I85A==
Name: javax/sql/ConnectionEventListener.class
Digest-Algorithms: SHA MD5
SHA-Digest: gh9/m94g05tRid8f4mhmEnJ5als=
MD5-Digest: x63DZ5tPqdiCaLP0z1GHew==
Probably the Oracle has compiled OC4J with other version of this library.

Similar Messages

  • Error in OAF page: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation

    Hi All,
    I am getting the below mentioned error when I try to run the OAF page.
    Kindly suggest what needs to be done here.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT Approval_status FROM APPS.HXC_TIMECARD_SUMMARY WHERE RESOURCE_ID like NVL(:1,RESOURCE_ID) and start_time = NVL(:2,start_time) and stop_time =NVL(:3,stop_time) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2704) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1707) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432) at _OA._jspService(OA.jsp:33) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534) ## Detail 0 ## java.sql.SQLException: ORA-01007: variable not in select list at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578) at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631) at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518) at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375) at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828) at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525) at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574) at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544) at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619) at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339) at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326) at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441) at XXCo.oracle.apps.hxc.selfservice.timecard.webui.XXTmecardsListCO.processFormRequest(XXTmecardsListCO.java:100) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2700) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1707) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432) at _OA._jspService(OA.jsp:33) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534) java.sql.SQLException: ORA-01007: variable not in select list at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578) at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631) at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518) at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375) at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828) at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525) at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574) at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544) at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619) at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339) at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326) at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441) at XXCo.oracle.apps.hxc.selfservice.timecard.webui.XXTmecardsListCO.processFormRequest(XXTmecardsListCO.java:100) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2700) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1707) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432) at _OA._jspService(OA.jsp:33) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534) 
    Thanks,
    Sukanya

    Hi All,
    I am getting the below mentioned error when I try to run the OAF page.
    Kindly suggest what needs to be done here.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT Approval_status FROM APPS.HXC_TIMECARD_SUMMARY WHERE RESOURCE_ID like NVL(:1,RESOURCE_ID) and start_time = NVL(:2,start_time) and stop_time =NVL(:3,stop_time) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2704) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1707) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432) at _OA._jspService(OA.jsp:33) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534) ## Detail 0 ## java.sql.SQLException: ORA-01007: variable not in select list at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578) at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631) at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518) at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375) at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828) at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525) at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574) at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544) at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619) at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339) at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326) at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441) at XXCo.oracle.apps.hxc.selfservice.timecard.webui.XXTmecardsListCO.processFormRequest(XXTmecardsListCO.java:100) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2700) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1707) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432) at _OA._jspService(OA.jsp:33) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534) java.sql.SQLException: ORA-01007: variable not in select list at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578) at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631) at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518) at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375) at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828) at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525) at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574) at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544) at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619) at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339) at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326) at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441) at XXCo.oracle.apps.hxc.selfservice.timecard.webui.XXTmecardsListCO.processFormRequest(XXTmecardsListCO.java:100) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2700) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1707) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432) at _OA._jspService(OA.jsp:33) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534) 
    Thanks,
    Sukanya

  • Oracle 8.1.7 client installer won't work under windows 2000

    I am trying to run the latest oracle client install of 8.1.7 on my windows 2000 PC and when I double click on it, it show the hour glass for a few seconds, then nothing happens. No screens come up at all. I have a Dell PC with an ATI rage 16 MB ultra card and I have dowlnloaded the latest jre 1.1.8 and nothing helps. If I try another kind of PC like my ibm, the installer works fine. Dell has no answers??

    I found the solution on another discussion group and it worked for WinNT4 SP6a:
    First copy your CD content to your hard disk (by example c:\temp), then rename file "symcjit.dll" (by example "symcjit.old") in directory "c:\temp\Stage\Components\Oracle.swd.jre\1.1.7.30\1\DataFiles\Expanded\jre\win32\bin".
    Finally, run Setup.exe in directory "c:\temp\Install\Win32".

  • Using BC4J to pass an array to a stored function

    I have successfully implemented the use of BC4J view objects to pass and retrive values from a stored database procedure/function as per Steve Muench's paper.
    What I am having difficulty achieving is passing through an array to a stored function. I have a multiple selection table where on submit, I retrieve the selected values and want to be able to put them in a array and pass them to a stored function.
    At the database level, I have created a nested table with one of the columns being a table of numbers. A wrapper function is called with the array type being one of the in parameters and the database updated.
    I am however having no luck building the array in my Java code and passing it to the database through an expert-only view object.
    I have :
    1. Database wrapper function has an extra parameter for the table of numbers (number(10))
    2. Changed the view object query to include the extra parameter (of type Number[])
    3. Changed the relevant view object and transaction Impl classes to pass through an array of oracle.jbo.domain.Number
    4. Update my test module class to
    -- Test module class
    String _am = "transaction2.transaction2module", _cf = "Transaction2ModuleLocal";
        String str1 = "String1";
        String str2 = "String2";
        String str3 = "String3";
        Number[] num4 = {new Number(1001),new Number(1002),new Number(1003),new Number(1004)};
        Transaction2Module testModule = (Transaction2Module)Configuration.createRootApplicationModule(_am,_cf);
        TxnResultType txnResult = testModule.getTxnResult(str1,str2,str3,num4);
    -- Transaction2ModuleImpl.java
    public ProcessTransactionImpl getProcessTxn()
        return (ProcessTransactionImpl)findViewObject("ProcessTxn");
      public TxnResultType getTxnResult(String p1, String p2, String p3, Number[] p4)
        return getProcessTxn().getTxnResult(p1, p2, p3, p4);
    -- ProcessTxnImpl.java
    public TxnResultType getTxnResult(String p1, String p2, String p3, Number[] p4)
        setWhereClauseParam(0,p1);
        setWhereClauseParam(1,p2);
        setWhereClauseParam(2,p3);
        setWhereClauseParam(3,p4);
        executeQuery();
        return ((ProcessTransactionRowImpl)first()).getTxnResult();
      }but the error message given is :
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: select transaction_wrapper(:0, :1, :2, :3) as txn_result from dual
    java.sql.SQLException: Invalid column type
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
    Can anyone offer some suggestions ?
    Thanks,
    Brent

    Thanks for the reply - I had nearly given up on this ! I did add the setWhereClause statement as you suggested
    setWhereClause("p1=:0 and p2=:1 and p3=:2 and p4=:3");but still got the same error. I have posted the entire output which may help you see what's still going wrong (hopefully!)
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. 
    Statement: SELECT * FROM (select test_array(:0,:1,:2,:3) as result from dual) QRSLT  WHERE (p1=:0 and p2=:1 and p3=:2 and p4=:3)
         void oracle.jbo.server.QueryCollection.executeQuery(java.lang.Object[], int)
              QueryCollection.java:541
         void oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(java.lang.Object, java.lang.Object[], int)
              ViewObjectImpl.java:2650
         void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
              ViewRowSetImpl.java:523
         void oracle.jbo.server.ViewRowSetImpl.executeQuery()
              ViewRowSetImpl.java:564
         void oracle.jbo.server.ViewObjectImpl.executeQuery()
              ViewObjectImpl.java:2614
         java.lang.String mypackage5.TxnViewImpl.getResult(java.lang.String, java.lang.String, java.lang.String, oracle.jbo.domain.Number[])
              TxnViewImpl.java:25
         java.lang.String mypackage5.TransModuleImpl.getResult(java.lang.String, java.lang.String, java.lang.String, oracle.jbo.domain.Number[])
              TransModuleImpl.java:29
         void mypackage5.TestArray.main(java.lang.String[])
              TestArray.java:17
    ## Detail 0 ##
    java.sql.SQLException: Invalid column type
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
              DBError.java:187
         void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
              DBError.java:229
         void oracle.jdbc.dbaccess.DBError.throwSqlException(int)
              DBError.java:292
         void oracle.jdbc.driver.OraclePreparedStatement.setObject(int, java.lang.Object, int, int)
              OraclePreparedStatement.java:2782
         void oracle.jdbc.driver.OraclePreparedStatement.setObject(int, java.lang.Object)
              OraclePreparedStatement.java:2905
         boolean oracle.jbo.server.ViewRowSetImpl.bindParameters(java.lang.Object[], java.sql.PreparedStatement)
              ViewRowSetImpl.java:1313
         void oracle.jbo.server.QueryCollection.executeQuery(java.lang.Object[], int)
              QueryCollection.java:511
         void oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(java.lang.Object, java.lang.Object[], int)
              ViewObjectImpl.java:2650
         void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
              ViewRowSetImpl.java:523
         void oracle.jbo.server.ViewRowSetImpl.executeQuery()
              ViewRowSetImpl.java:564
         void oracle.jbo.server.ViewObjectImpl.executeQuery()
              ViewObjectImpl.java:2614
         java.lang.String mypackage5.TxnViewImpl.getResult(java.lang.String, java.lang.String, java.lang.String, oracle.jbo.domain.Number[])
              TxnViewImpl.java:25
         java.lang.String mypackage5.TransModuleImpl.getResult(java.lang.String, java.lang.String, java.lang.String, oracle.jbo.domain.Number[])
              TransModuleImpl.java:29
         void mypackage5.TestArray.main(java.lang.String[])
              TestArray.java:17
    Exception in thread main
    Process exited with exit code 1.I had to do a new example as I could not find the code I was using earlier. This is my java class
    import oracle.jbo.client.Configuration;
    import oracle.jbo.domain.Number;
    import mypackage5.common.TransModule;
    public class TestArray
      public static void main(String[] args)
        String _am = "mypackage5.TransModule", _cf = "TransModuleLocal";
        String str1 = "String1";
        String str2 = "String2";
        String str3 = "String3";
        Number[] num4 = {new Number(1001),new Number(1002),new Number(1003),new Number(1004)};
        TransModule testModule = (TransModule)Configuration.createRootApplicationModule(_am,_cf);
        String txnResult = testModule.getResult(str1,str2,str3,num4);
        System.out.println("Result = " + txnResult);

  • Problem passing oracle.sql.ARRAY to Oracle

    I am having ClassCastException when I try to pass a oracle.sql.ARRAY to a Oracle Package.
    Here is my code:
    PreparedStatement stmt = null;
    String strArray[] = { "1,2,3,4,5" };
    ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor( "TEST_PAC_1.TEST_COLL_2", dbConnection );
    //encounter Exception on the line below.
    ARRAY array_to_pass = new ARRAY( descriptor, dbConnection, strArray );
    String queryStr = "begin TEST_PAC_1.TEST_PROC_2(?); end;";
    stmt = dbConnection.prepareStatement(queryStr);
    stmt.setArray( 1, array_to_pass );
    stmt.execute();
    I understand that oracle.sql.ARRAY has been replaced by weblogic.jdbc.vendor.oracle.OracleArray in Weblogic.
    MY QUESTION IS: HOW DO I INSERT MY STRING ARRAY INTO THE OracleArray and pass it to the plsql.
    Really frustrated searching through the forums for the whole day,
    Thanks,

    Try this if you are at weblogic 8.1:
    Connection con = getConnectionFromDataSource();
    Connection vendorConnection = ((WLConnection)con).getVendorConnection();
    // use direct oracle connection.
    ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor( "TEST_PAC_1.TEST_COLL_2", dbConnection );
    vendorConnection.close();
    Beware that you should be very careful as you are going to use a direct vendor
    connection.
    The better aproach is to pass the string array as a delimited string to your storad
    procedure and parse it in the SP - then you don't have to mess up with vendor-specific
    handling.
    Hope this helps.
    Regards,
    Slava Imeshev
    "Daddy Daddy" <[email protected]> wrote in message news:24349835.1097143668312.JavaMail.root@jserv5...
    I am having ClassCastException when I try to pass a oracle.sql.ARRAY to a Oracle Package.
    Here is my code:
    PreparedStatement stmt = null;
    String strArray[] = { "1,2,3,4,5" };
    ArrayDescriptor descriptor = ArrayDescriptor.createDescriptor( "TEST_PAC_1.TEST_COLL_2", dbConnection );
    //encounter Exception on the line below.
    ARRAY array_to_pass = new ARRAY( descriptor, dbConnection, strArray );
    String queryStr = "begin TEST_PAC_1.TEST_PROC_2(?); end;";
    stmt = dbConnection.prepareStatement(queryStr);
    stmt.setArray( 1, array_to_pass );
    stmt.execute();
    I understand that oracle.sql.ARRAY has been replaced by weblogic.jdbc.vendor.oracle.OracleArray in Weblogic.
    MY QUESTION IS: HOW DO I INSERT MY STRING ARRAY INTO THE OracleArray and pass it to the plsql.
    Really frustrated searching through the forums for the whole day,
    Thanks,

  • Java.sql.SQLException: Internal Error while using oracle.sql.ARRAY.getArray

    Hello All,
    Here is the issue description. Our application uses Oracle Object Types and LIST. We deployed our application on QA environment which has Oracle 10g. Application runs fine...no issues. Now we moved to UAT. UAT environment is same as QA environment and DBA have created replica of QA database.
    Now WAR file which works fine with QA database , somehow doesnt work with UAT database. Application throws following exception when code tries to call getArray() on java.sql.Array.
    We tried to point UAT weblogic to QA database and it worked fine.....but when we point UAT weblogic to UAT database , we get following exception. So we know that this is a database issue.
    DBA claims that QA env database and UAT env database are same.
    Can anybody please tell me what wrong here? What setting is not done on UAT database which is done on QA?
    java.sql.SQLException: Internal Error at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227) at oracle.jdbc.oracore.OracleTypeCOLLECTION.initCollElemTypeName(OracleTypeCOLLECTION.java:975) at oracle.jdbc.oracore.OracleTypeCOLLECTION.getAttributeType(OracleTypeCOLLECTION.java:1005) at oracle.jdbc.oracore.OracleNamedType.getFullName(OracleNamedType.java:96) at oracle.jdbc.oracore.OracleTypeADT.createStructDescriptor(OracleTypeADT.java:1958) at oracle.jdbc.oracore.OracleTypeADT.unpickle81(OracleTypeADT.java:1432) at oracle.jdbc.oracore.OracleTypeUPT.unpickle81UPT(OracleTypeUPT.java:426) at oracle.jdbc.oracore.OracleTypeUPT.unpickle81rec(OracleTypeUPT.java:383) at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody_elems(OracleTypeCOLLECTION.java:928) at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody(OracleTypeCOLLECTION.java:872) at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81(OracleTypeCOLLECTION.java:692) at oracle.jdbc.oracore.OracleTypeCOLLECTION._unlinearize(OracleTypeCOLLECTION.java:217) at oracle.jdbc.oracore.OracleTypeCOLLECTION.unlinearize(OracleTypeCOLLECTION.java:189) at oracle.sql.ArrayDescriptor.toJavaArray(ArrayDescriptor.java:663) at oracle.sql.ARRAY.getArray(ARRAY.java:282) at weblogic.jdbc.wrapper.Array_oracle_sql_ARRAY.getArray(Unknown Source)
    Please help.

    425260 wrote:
    This can happen if you use the oracle.sql.ARRAY class with WebLogic.
    WebLogic wraps oracle.sql.ARRAY with its own class (i.e. weblogic.jdbc.wrapper.Array_oracle_sql_ARRAY). The easiest solution is to replace oracle.sql.ARRAY with the JDBC standard java.sql.Array.
    <PRE class=jive-pre><CODE class="jive-code jive-java">Object[] items = (Object[])array.getArray();
    <FONT color=navy><B>if</B></FONT> (items.length &gt; 0) <FONT color=navy>{</FONT>
    <FONT color=navy><B>for</B></FONT> (<FONT color=navy><B>int</B></FONT> i = 0; i &lt; items.length; i++) <FONT color=navy>{</FONT>
    Object arrayItem = items;
    <FONT color=navy>}</FONT>
    <FONT color=navy>}</FONT>
    </CODE></PRE>
    The <B>array</B> object is a java.sql.Array. Here no unwrapping of the WebLogic wrapper is needed.
    If you absolutely need the oracle.sql.ARRAY class than you must use an <B>unwrap</B> API on the WebLogic wrapper class.
    <PRE class=jive-pre><CODE class="jive-code jive-java"><FONT color=navy><B>if</B></FONT> (object <FONT color=navy><B>instanceof</B></FONT> weblogic.jdbc.wrapper.Array)
    array = (ARRAY) ( ((weblogic.jdbc.wrapper.Array)object).unwrap(Class.forName(<FONT color=red>"oracle.sql.ARRAY"</FONT>)) );
    <FONT color=navy><B>else</B></FONT>
    array = (ARRAY) object;
    </CODE></PRE>
    Here, <B>array</B> is an oracle.sql.ARRAY. Try to see if this <A class=bodylinkwhite href="http://www.software-to-convert.com/3gp-conversion-software/3gp-to-myspace-video-software.html"><FONT face=tahoma,verdana,sans-serif color=#000 size=1>helps</FONT></A>. Good luck.
    Thanks for your explanation! It's very valuable, It is exactly what I need, I understand this part.

  • Java.sql.SQLException: Internal Error: at oracle.sql.ARRAY.getArray(ARRAY.j

    hi all,
    I am getting the below exception
    Basically i am registering an out parameters like this
    cs.registerOutParameter(4, Types.ARRAY, "ISSUESECTION_LIST");
    my database version: oracle 11.1.0.7.0.
    I have created a synonym and given the execute privileges ,but also it comes up with the below exception
    java.sql.SQLException: Internal Error
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION.initCollElemTypeName(OracleTypeCOLLECTION.java:1026)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION.getAttributeType(OracleTypeCOLLECTION.java:1056)
    at oracle.jdbc.oracore.OracleNamedType.getFullName(OracleNamedType.java:110)
    at oracle.jdbc.oracore.OracleTypeADT.createStructDescriptor(OracleTypeADT.java:2262)
    at oracle.jdbc.oracore.OracleTypeADT.unpickle81(OracleTypeADT.java:1656)
    at oracle.jdbc.oracore.OracleTypeUPT.unpickle81UPT(OracleTypeUPT.java:466)
    at oracle.jdbc.oracore.OracleTypeUPT.unpickle81rec(OracleTypeUPT.java:416)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody_elems(OracleTypeCOLLECTION.java:979)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody(OracleTypeCOLLECTION.java:923)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81(OracleTypeCOLLECTION.java:743)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION._unlinearize(OracleTypeCOLLECTION.java:242)
    at oracle.jdbc.oracore.OracleTypeCOLLECTION.unlinearize(OracleTypeCOLLECTION.java:208)
    at oracle.sql.ArrayDescriptor.toJavaArray(ArrayDescriptor.java:963)
    at oracle.sql.ARRAY.getArray(ARRAY.java:370)
    at com.db.gmr.eds.sm.jdbc.IssueSectionStoreJDBC.getResources(IssueSectionStoreJDBC.java:69)
    at com.db.gmr.eds.handler.GetResources.handle(GetResources.java:126)
    at com.db.gmr.eds.servlet.PageController.handle(PageController.java:138)
    at com.db.gmr.eds.servlet.PageController.doGet(PageController.java:80)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at com.db.gmr.core.servlet.filters.TomcatParameterBugFix.doFilter(TomcatParameterBugFix.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:500)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:619)
    If i use cs.registerOutParameter(4, Types.ARRAY, "SCHEMA_OWNER_NAME.ISSUESECTION_LIST"); Then i wont be getting the error.
    COULD ANYONE LET ME KNOW THE WORK AROUND OTHER THAN THE ABOVE SOLUTION LIKE ADDING THE OWNER SCHEMA NAME WITH THE USER DEFINED COLLECTION TYPE.

    There couold be two reasons:
    1) it depends how u have defined type. if ISSUESECTION_LIST is defined in type SCHEMA_OWNER, then you have to call this ways only 'SCHEMA_OWNER_NAME.ISSUESECTION_LIST'
    2) You might have defined using schema_owner_name like scott.<TYPE_NAME>. if its so, then drop it and again define type without using schema owner.
    For detail help post your type declaration.

  • Java.sql.SQLException: Internal Error with oracle.sql.ARRAY getArray()

    hi,
    I am having having problems with the getArray() of oracle.sql.ARRAY.
    Here are the details:
    Oracle Database - 9.2.0.6. The JDBC driver used -10.2.0.1 jar.(the latest available).
    I am calling a stored procedure from java, that has out param as a collection (VARRAY) of a user defined type.
    The stored procedure works fine, if the user/schema used to connect,contains actual type, and i am able to extract the user defined object from the oracle.sql.ARRAY, via getArray().
    But if i use a different user to connect which has public synonyms and execute rights to the actual type, i get the following error:
    java.sql.SQLException: Internal Error
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.initCollElemTypeName(OracleTypeCOLLECTION.java:1026)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.getAttributeType(OracleTypeCOLLECTION.java:1056)
         at oracle.jdbc.oracore.OracleNamedType.getFullName(OracleNamedType.java:110)
         at oracle.jdbc.oracore.OracleTypeADT.createStructDescriptor(OracleTypeADT.java:2262)
         at oracle.jdbc.oracore.OracleTypeADT.unpickle81(OracleTypeADT.java:1656)
         at oracle.jdbc.oracore.OracleTypeUPT.unpickle81UPT(OracleTypeUPT.java:466)
         at oracle.jdbc.oracore.OracleTypeUPT.unpickle81rec(OracleTypeUPT.java:416)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody_elems(OracleTypeCOLLECTION.java:979)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody(OracleTypeCOLLECTION.java:923)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81(OracleTypeCOLLECTION.java:743)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION._unlinearize(OracleTypeCOLLECTION.java:242)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unlinearize(OracleTypeCOLLECTION.java:208)
         at oracle.sql.ArrayDescriptor.toJavaArray(ArrayDescriptor.java:963)
         at oracle.sql.ARRAY.getArray(ARRAY.java:370)
    The problem is happening because we have 2 different users to connect to the database. one is the dba user, which contains all the types, packages and other one the application user, which we are supposed to use, to connect via java. This application user does have access to types via public synonym, but it gives the above mentioned error.
    Please help :(.
    Regards,
    Gaurav.

    Hi avi,
    Even I am getting the same error inspite of preceding the type name with the same user who has created the type.
    It has displayed the array length.When I am trying to fetch each array, I am getting the error.
    ARRAY simpleArray = (ARRAY) cs.getObject(3);          
    System.out.println("Array is of length " + simpleArray.length());          ********************** The above stmt prints 2 records ******************
    But it goes to exception in the foll stmt..
    Object [] objArrStructArray = null;
    try{
         objArrStructArray = (Object[]) simpleArray.getArray();
    }catch(SQLException e){
         e.printStackTrace();
    Do u know abt this?
    The foll is the error which I am getting.
    java.sql.SQLException: Internal Error
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.initCollElemTypeName(OracleTypeCOLLECTION.java:1026)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.getAttributeType(OracleTypeCOLLECTION.java:1056)
         at oracle.jdbc.oracore.OracleNamedType.getFullName(OracleNamedType.java:110)
         at oracle.jdbc.oracore.OracleTypeADT.createStructDescriptor(OracleTypeADT.java:2262)
         at oracle.jdbc.oracore.OracleTypeADT.unpickle81(OracleTypeADT.java:1656)
         at oracle.jdbc.oracore.OracleTypeUPT.unpickle81UPT(OracleTypeUPT.java:466)
         at oracle.jdbc.oracore.OracleTypeUPT.unpickle81rec(OracleTypeUPT.java:416)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody_elems(OracleTypeCOLLECTION.java:979)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody(OracleTypeCOLLECTION.java:923)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81(OracleTypeCOLLECTION.java:743)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION._unlinearize(OracleTypeCOLLECTION.java:242)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unlinearize(OracleTypeCOLLECTION.java:208)
         at oracle.sql.ArrayDescriptor.toJavaArray(ArrayDescriptor.java:963)
         at oracle.sql.ARRAY.getArray(ARRAY.java:353)
         at com.telstra.plo.data.NetworkDAO.findCablesInBuffer(NetworkDAO.java:730)
         at com.telstra.plo.data.NetworkDAOTest.testFindCablesInBuffer(NetworkDAOTest.java:45)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    Thanks
    Archana

  • How to create oracle.sql.array

    I need to create an oracle.sql.array to pass in my custom objects array to the database. I know you can create it using the ArrayDescriptor class but the problem with that is the connection object is need.
    I am using the writeSql() method of the SQLData interface. I therefore dont have the connection object. Any ideas?

    haha
    you misunderstand. i have in my code:
    <code>
         // update the organisation
         public boolean setOrganisation(Organisation pOrg) {
              Organisation org = pOrg;
              OracleCallableStatement callStat = null;
              Connection conn = null;
              boolean OK = false;
              try {
                   conn = getConnection(getUserName());
                   pOrg.setConnection(conn);
                   callStat = (OracleCallableStatement) conn.prepareCall("{call p_cmt.update_organisation(?)}");
                   callStat.setObject(1, org);
                   callStat.execute();
                   OK = true;
              } catch (Exception e) {
                   logger.severe("error writing organisation with id " + org.getId() + ". " + e);
              } finally {
                   cleanUpConnections(conn, callStat);
              return OK;
    </code>
    This writes the object organisation to the database. Now in the class organisation i have the following method which is called automatically when writing the organisation object to the database:
    <code>
         public void writeSQL(SQLOutput p_stream) throws SQLException {
              p_stream.writeInt(id);
              p_stream.writeObject(country);
         if (finIndexArr == null)
              finIndexArr = new ListElement[0];
         ArrayDescriptor af = ArrayDescriptor.createDescriptor(
         ObjectMapper.elementList, conn);
         ARRAY arr = new ARRAY(af, conn, finIndexArr);          
              p_stream.writeArray(arr);
    </code>
    The problem is the last bit. To put the finIndexArr into an array i need the connection object. So i have to pass into the organisation object the connection object which seems unneccessary and pointless to me. I was just looking at an alternative way of creating the array without the need of the connection object. Since the setOrganisation() above has the connection to the database i dont see why i need to specify it in the array as well

  • Oracle.sql.ARRAY incompatible with weblogic.jdbc.vendor.oracle.OracleArray

    Hi,
    I am facing following issue in my one environment. but in other environment same class path is working fine. I have compared all jar and classpath for both weblogic server.
    I am using weblogic 11g.
    27 Mar 2013 15:21:09,507 ERROR XXXServlet:293 - oracle.sql.ARRAY incompatible with weblogic.jdbc.vendor.oracle.OracleArray
    java.lang.ClassCastException: oracle.sql.ARRAY incompatible with weblogic.jdbc.vendor.oracle.OracleArray
    at com.emc.nems.wsd.ui.beans.reports.mpapi.FacilityBeanType.nullSafeGet(FacilityBeanType.java:126)
    at org.hibernate.type.CustomType.nullSafeGet(CustomType.java:128)
    at org.hibernate.type.AbstractType.hydrate(AbstractType.java:105)
    at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2114)
    at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1404)
    at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1332)
    at org.hibernate.loader.Loader.getRow(Loader.java:1230)
    at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:603)
    at org.hibernate.loader.Loader.doQuery(Loader.java:724)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
    at org.hibernate.loader.Loader.doList(Loader.java:2232)
    at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)
    at org.hibernate.loader.Loader.list(Loader.java:2124)
    at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:312)
    at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1723)
    at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)
    at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:175)
    at com.emc.nems.oms.dao.hibernate.util.OMSHibBaseDAO.executeNamedQueryWithoutTransaction(Unknown Source)
    at com.emc.nems.wsd.dao.hibernate.reports.mpapi.MpapiReportHibDAO.findMCR020(Unknown Source)
    at com.emc.nems.wsd.ui.handler.reports.ReportsHandler.getMPAPIData(Unknown Source)
    at com.emc.nems.wsd.ui.servlets.reports.mpapi.MpapiServlet.executeReport(XXXServlet.java:1009)
    at com.emc.nems.wsd.ui.servlets.reports.mpapi.MpapiServlet.generateAuditFile(XXXServlet.java:318)
    at com.emc.nems.wsd.ui.servlets.reports.mpapi.MpapiServlet.execute(XXXServlet.java:273)
    at com.emc.nems.wsd.ui.servlets.reports.mpapi.MpapiServlet.doGet(XXXServlet.java:207)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3731)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3695)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2285)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2184)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1459)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Regards,
    Abhishek

    Creating my Oracle connection works fine ... code as follows:
    <i>Context ctxt = getInitialContext();
    DataSource dataSource = (DataSource) ctxt.lookup(poolName);
    Connection conn = dataSource.getConnection();
    OracleConnection oracleConn = (OracleConnection)((WLConnection)conn).getVendorConnection();</i>
    I also have reviewed documentation:
    http://e-docs.bea.com/wls/docs81/jdbc/thirdparty.html. In section 'Using OracleStruct Extension Methods' it highlights that
    <i>java.sql.Struct struct =(weblogic.jdbc.vendor.oracle.OracleStruct)(rs.getObject(2));</i>
    None of the documentation actually mentions <b>oracle.sql.STRUCT</b>. For Weblogic to truely provide support for Oracle it needs an easy way of converting to this data type. At present I cannot interact with Oracle APIs until I can create an oracle.sql.STRUCT.

  • Oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation

    I have extended PoRequisitionLinesVO in iProcurement,My requirement is to copy an existing foreign currency requisition so that the newly created requisition will be created with current exchange rate.
    After deployment when I am clicking on NonCatalogRequest I am getting the following error  :
    <!--StartFragment-->oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.  Statement: SELECT * FROM (SELECT PoRequisitionLineEO.REQUISITION_LINE_ID,
           PoRequisitionLineEO.REQUISITION_HEADER_ID,
           PoRequisitionLineEO.LINE_NUM,
           PoRequisitionLineEO.LAST_UPDATE_DATE,
           PoRequisitionLineEO.LAST_UPDATED_BY,
           PoRequisitionLineEO.LAST_UPDATE_LOGIN,
           PoRequisitionLineEO.CREATION_DATE,
           PoRequisitionLineEO.CREATED_BY,
           PoRequisitionLineEO.DELIVER_TO_LOCATION_ID,
           PoRequisitionLineEO.TO_PERSON_ID,
           PoRequisitionLineEO.ITEM_DESCRIPTION,
           PoRequisitionLineEO.CATEGORY_ID,
           PoRequisitionLineEO.UNIT_MEAS_LOOKUP_CODE,
           PoRequisitionLineEO.UNIT_PRICE,
           PoRequisitionLineEO.QUANTITY,
           PoRequisitionLineEO.LINE_TYPE_ID,
           PoRequisitionLineEO.SOURCE_TYPE_CODE,
           PoRequisitionLineEO.ITEM_ID,
           PoRequisitionLineEO.ITEM_REVISION,
           PoRequisitionLineEO.QUANTITY_DELIVERED,
           PoRequisitionLineEO.SUGGESTED_BUYER_ID,
           PoRequisitionLineEO.ENCUMBERED_FLAG,
           PoRequisitionLineEO.RFQ_REQUIRED_FLAG,
           PoRequisitionLineEO.NEED_BY_DATE,
           PoRequisitionLineEO.LINE_LOCATION_ID,
           PoRequisitionLineEO.MODIFIED_BY_AGENT_FLAG,
           PoRequisitionLineEO.PARENT_REQ_LINE_ID,
           PoRequisitionLineEO.JUSTIFICATION,
           PoRequisitionLineEO.NOTE_TO_AGENT,
           PoRequisitionLineEO.NOTE_TO_RECEIVER,
           PoRequisitionLineEO.PURCHASING_AGENT_ID,
           PoRequisitionLineEO.DOCUMENT_TYPE_CODE,
           PoRequisitionLineEO.BLANKET_PO_HEADER_ID,
           PoRequisitionLineEO.BLANKET_PO_LINE_NUM,
           PoRequisitionLineEO.CURRENCY_CODE,
           PoRequisitionLineEO.RATE_TYPE,
           /*PoRequisitionLineEO.RATE_DATE*/trunc(SYSDATE) rate_DATE,
           /*PoRequisitionLineEO.RATE*/
           (SELECT conversion_rate
              FROM gl_daily_rates
                   ,hr_operating_units hou
                   ,gl_sets_of_books sob
             WHERE from_currency = PoRequisitionLineEO.CURRENCY_CODE
             AND to_currency = sob.currency_code
             AND conversion_type = PoRequisitionLineEO.RATE_TYPE
             AND conversion_date = trunc(SYSDATE)
             AND  hou.organization_id = PoRequisitionLineEO.org_id
              AND hou.set_of_books_id = sob.SET_OF_BOOKS_ID ) rate,
           PoRequisitionLineEO.CURRENCY_UNIT_PRICE,
           PoRequisitionLineEO.SUGGESTED_VENDOR_NAME,
           PoRequisitionLineEO.SUGGESTED_VENDOR_LOCATION,
           PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT,
           PoRequisitionLineEO.SUGGESTED_VENDOR_PHONE,
           PoRequisitionLineEO.SUGGESTED_VENDOR_PRODUCT_CODE,
           PoRequisitionLineEO.UN_NUMBER_ID,
           PoRequisitionLineEO.HAZARD_CLASS_ID,
           PoRequisitionLineEO.MUST_USE_SUGG_VENDOR_FLAG,
           PoRequisitionLineEO.REFERENCE_NUM,
           PoRequisitionLineEO.ON_RFQ_FLAG,
           PoRequisitionLineEO.URGENT_FLAG,
           PoRequisitionLineEO.CANCEL_FLAG,
           PoRequisitionLineEO.SOURCE_ORGANIZATION_ID,
           PoRequisitionLineEO.SOURCE_SUBINVENTORY,
           PoRequisitionLineEO.DESTINATION_TYPE_CODE,
           PoRequisitionLineEO.DESTINATION_ORGANIZATION_ID,
           PoRequisitionLineEO.DESTINATION_SUBINVENTORY,
           PoRequisitionLineEO.QUANTITY_CANCELLED,
           PoRequisitionLineEO.CANCEL_DATE,
           PoRequisitionLineEO.CANCEL_REASON,
           PoRequisitionLineEO.CLOSED_CODE,
           PoRequisitionLineEO.AGENT_RETURN_NOTE,
           PoRequisitionLineEO.CHANGED_AFTER_RESEARCH_FLAG,
           PoRequisitionLineEO.VENDOR_ID,
           PoRequisitionLineEO.VENDOR_SITE_ID,
           PoRequisitionLineEO.VENDOR_CONTACT_ID,
           PoRequisitionLineEO.RESEARCH_AGENT_ID,
           PoRequisitionLineEO.ON_LINE_FLAG,
           PoRequisitionLineEO.WIP_ENTITY_ID,
           PoRequisitionLineEO.WIP_LINE_ID,
           PoRequisitionLineEO.WIP_REPETITIVE_SCHEDULE_ID,
           PoRequisitionLineEO.WIP_OPERATION_SEQ_NUM,
           PoRequisitionLineEO.WIP_RESOURCE_SEQ_NUM,
           PoRequisitionLineEO.ATTRIBUTE_CATEGORY,
           PoRequisitionLineEO.DESTINATION_CONTEXT,
           PoRequisitionLineEO.INVENTORY_SOURCE_CONTEXT,
           PoRequisitionLineEO.VENDOR_SOURCE_CONTEXT,
           PoRequisitionLineEO.BOM_RESOURCE_ID,
           PoRequisitionLineEO.REQUEST_ID,
           PoRequisitionLineEO.PROGRAM_APPLICATION_ID,
           PoRequisitionLineEO.PROGRAM_ID,
           PoRequisitionLineEO.PROGRAM_UPDATE_DATE,
           PoRequisitionLineEO.USSGL_TRANSACTION_CODE,
           PoRequisitionLineEO.GOVERNMENT_CONTEXT,
           PoRequisitionLineEO.CLOSED_REASON,
           PoRequisitionLineEO.CLOSED_DATE,
           PoRequisitionLineEO.TRANSACTION_REASON_CODE,
           PoRequisitionLineEO.QUANTITY_RECEIVED,
           PoRequisitionLineEO.SOURCE_REQ_LINE_ID,
           PoRequisitionLineEO.ORG_ID,
           PoRequisitionLineEO.KANBAN_CARD_ID,
           PoRequisitionLineEO.CATALOG_TYPE,
           PoRequisitionLineEO.CATALOG_SOURCE,
           PoRequisitionLineEO.MANUFACTURER_ID,
           PoRequisitionLineEO.MANUFACTURER_NAME,
           PoRequisitionLineEO.MANUFACTURER_PART_NUMBER,
           PoRequisitionLineEO.REQUESTER_EMAIL,
           PoRequisitionLineEO.REQUESTER_FAX,
           PoRequisitionLineEO.REQUESTER_PHONE,
           PoRequisitionLineEO.UNSPSC_CODE,
           PoRequisitionLineEO.OTHER_CATEGORY_CODE,
           PoRequisitionLineEO.SUPPLIER_DUNS,
           PoRequisitionLineEO.TAX_STATUS_INDICATOR,
           PoRequisitionLineEO.PCARD_FLAG,
           PoRequisitionLineEO.NEW_SUPPLIER_FLAG,
           PoRequisitionLineEO.AUTO_RECEIVE_FLAG,
           PoRequisitionLineEO.TAX_USER_OVERRIDE_FLAG,
           PoRequisitionLineEO.TAX_CODE_ID,
           PoRequisitionLineEO.NOTE_TO_VENDOR,
           PoRequisitionLineEO.OKE_CONTRACT_VERSION_ID,
           PoRequisitionLineEO.OKE_CONTRACT_HEADER_ID,
           PoRequisitionLineEO.ITEM_SOURCE_ID,
           PoRequisitionLineEO.SUPPLIER_REF_NUMBER,
           PoRequisitionLineEO.SECONDARY_UNIT_OF_MEASURE,
           PoRequisitionLineEO.SECONDARY_QUANTITY,
           PoRequisitionLineEO.PREFERRED_GRADE,
           PoRequisitionLineEO.SECONDARY_QUANTITY_RECEIVED,
           PoRequisitionLineEO.SECONDARY_QUANTITY_CANCELLED,
           PoRequisitionLineEO.AUCTION_HEADER_ID,
           PoRequisitionLineEO.AUCTION_DISPLAY_NUMBER,
           PoRequisitionLineEO.AUCTION_LINE_NUMBER,
           PoRequisitionLineEO.REQS_IN_POOL_FLAG,
           PoRequisitionLineEO.VMI_FLAG,
           PoRequisitionLineEO.ATTRIBUTE1,
           PoRequisitionLineEO.ATTRIBUTE2,
           PoRequisitionLineEO.ATTRIBUTE3,
           PoRequisitionLineEO.ATTRIBUTE4,
           PoRequisitionLineEO.ATTRIBUTE5,
           PoRequisitionLineEO.ATTRIBUTE6,
           PoRequisitionLineEO.ATTRIBUTE7,
           PoRequisitionLineEO.ATTRIBUTE8,
           PoRequisitionLineEO.ATTRIBUTE9,
           PoRequisitionLineEO.ATTRIBUTE10,
           PoRequisitionLineEO.ATTRIBUTE11,
           PoRequisitionLineEO.ATTRIBUTE12,
           PoRequisitionLineEO.ATTRIBUTE13,
           PoRequisitionLineEO.ATTRIBUTE14,
           PoRequisitionLineEO.ATTRIBUTE15,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE1,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE2,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE3,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE4,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE5,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE6,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE7,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE8,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE9,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE10,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE11,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE12,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE13,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE14,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE15,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE16,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE17,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE18,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE19,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE20,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE_CATEGORY,
           PoRequisitionLineEO.BID_NUMBER,
           PoRequisitionLineEO.BID_LINE_NUMBER,
           PoRequisitionLineEO.AMOUNT,
           PoRequisitionLineEO.CURRENCY_AMOUNT,
           PoRequisitionLineEO.NONCAT_TEMPLATE_ID,
           PoRequisitionLineEO.JOB_ID,
           PoRequisitionLineEO.CONTACT_INFORMATION,
           PoRequisitionLineEO.CANDIDATE_SCREENING_REQD_FLAG,
           PoRequisitionLineEO.SUGGESTED_SUPPLIER_FLAG,
           PoRequisitionLineEO.ASSIGNMENT_END_DATE,
           PoRequisitionLineEO.OVERTIME_ALLOWED_FLAG,
           PoRequisitionLineEO.CONTRACTOR_REQUISITION_FLAG,
           PoRequisitionLineEO.LABOR_REQ_LINE_ID,
           PoRequisitionLineEO.JOB_LONG_DESCRIPTION,
           PoRequisitionLineEO.CONTRACTOR_STATUS,
           PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT_FAX,
           PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT_EMAIL,
           PoRequisitionLineEO.CANDIDATE_FIRST_NAME,
           PoRequisitionLineEO.CANDIDATE_LAST_NAME,
           PoRequisitionLineEO.ASSIGNMENT_START_DATE,
           PoRequisitionLineEO.ORDER_TYPE_LOOKUP_CODE,
           PoRequisitionLineEO.PURCHASE_BASIS,
           PoRequisitionLineEO.MATCHING_BASIS,
           PoRequisitionLineEO.NEGOTIATED_BY_PREPARER_FLAG,
           PoRequisitionLineEO.BASE_UNIT_PRICE,
           PoRequisitionLineEO.AT_SOURCING_FLAG,
           PoRequisitionLineEO.TAX_ATTRIBUTE_UPDATE_CODE,
           PoRequisitionLineEO.DROP_SHIP_FLAG,
           PoRequisitionLineEO.SHIP_METHOD,
           PoRequisitionLineEO.ESTIMATED_PICKUP_DATE,
           PoRequisitionLineEO.SUPPLIER_NOTIFIED_FOR_CANCEL,
           PoRequisitionLineEO.TAX_NAME
    FROM PO_REQUISITION_LINES_ALL PoRequisitionLineEO) QRSLT  WHERE (nvl(closed_code, 'N') <> 'FINALLY CLOSED' AND nvl(cancel_flag, 'N') = 'N' AND nvl(modified_by_agent_flag, 'N') = 'N' AND line_location_id IS NULL AND ((SELECT nvl(transferred_to_oe_flag, 'N')      FROM po_requisition_headers_all h      WHERE h.requisition_header_id = PoRequisitionLineEO.requisition_header_id)      <> 'Y' OR      source_type_code = 'VENDOR')) AND REQUISITION_HEADER_ID = :1
    at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:996)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:720)
    at oracle.apps.icx.por.common.webui.ClientUtil.invokeMethod(ClientUtil.java:973)
    at oracle.apps.icx.icatalog.shopping.webui.NonCatalogRequestCO.executeServerCommand(NonCatalogRequestCO.java:1038)
    at oracle.apps.icx.icatalog.shopping.webui.NonCatalogRequestCO.processRequest(NonCatalogRequestCO.java:250)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:604)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1183)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2629)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1949)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:549)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:437)
    at _OA._jspService(_OA.java:204)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.sql.SQLSyntaxErrorException: ORA-00904: "POREQUISITIONLINEEO"."REQUISITION_HEADER_ID": invalid identifier
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:205)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:861)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1145)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1267)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3493)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:860)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3754)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4560)
    at oracle.apps.icx.por.req.server.PoRequisitionLinesVOImpl.executeQueryForCollection(PoRequisitionLinesVOImpl.java:65)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:688)
    at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2654)
    at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2912)
    at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2086)
    at oracle.jbo.server.ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:4904)
    at oracle.jbo.server.ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3405)
    at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3546)
    at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3506)
    at oracle.jbo.server.ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3290)
    at oracle.jbo.server.ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1478)
    at oracle.jbo.server.ViewRowSetImpl.first(ViewRowSetImpl.java:2828)
    at oracle.jbo.server.ViewObjectImpl.first(ViewObjectImpl.java:5831)
    at oracle.apps.icx.por.req.server.ReqSubActionSvrCmd.loadCurrentReqInternal(ReqSubActionSvrCmd.java:1099)
    at oracle.apps.icx.por.req.server.RequisitionSvrCmd.loadCurrentReq(RequisitionSvrCmd.java:1234)
    at oracle.apps.icx.por.req.server.RequisitionAMImpl.loadCurrentReq(RequisitionAMImpl.java:1165)
    at oracle.apps.icx.icatalog.shopping.server.NoncatRequestSvrCmd.defaultAndPopulate(NoncatRequestSvrCmd.java:205)
    at oracle.apps.icx.icatalog.shopping.server.NoncatRequestSvrCmd.execute(NoncatRequestSvrCmd.java:110)
    at oracle.apps.icx.por.common.server.PorBaseAMImpl.executeServerCommand(PorBaseAMImpl.java:122)
    at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:720)
    at oracle.apps.icx.por.common.webui.ClientUtil.invokeMethod(ClientUtil.java:973)
    at oracle.apps.icx.icatalog.shopping.webui.NonCatalogRequestCO.executeServerCommand(NonCatalogRequestCO.java:1038)
    at oracle.apps.icx.icatalog.shopping.webui.NonCatalogRequestCO.processRequest(NonCatalogRequestCO.java:250)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:604)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1183)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:976)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:943)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:663)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2629)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1949)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:549)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:437)
    at _OA._jspService(_OA.java:204)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    java.sql.SQLSyntaxErrorException: ORA-00904: "POREQUISITIONLINEEO"."REQUISITION_HEADER_ID": invalid identifier
    Please suggest me where have I done wrong.

    Hi,
    Attribute Mapping for REQUISITION_HEADER_ID is same as that of the standard VO
    Below is the extended Vo xml file :
    <?xml version='1.0' encoding='windows-1252' ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <ViewObject
       Name="PoRequisitionLinesVOEX"
       Extends="oracle.apps.icx.por.req.server.PoRequisitionLinesVO"
       BindingStyle="Oracle"
       CustomQuery="true"
       ComponentClass="XXPO.oracle.apps.icx.por.req.server.PoRequisitionLinesVOEXImpl"
       UseGlueCode="false" >
       <SQLQuery><![CDATA[
    SELECT PoRequisitionLineEO.REQUISITION_LINE_ID,
           PoRequisitionLineEO.REQUISITION_HEADER_ID,
           PoRequisitionLineEO.LINE_NUM,
           PoRequisitionLineEO.LAST_UPDATE_DATE,
           PoRequisitionLineEO.LAST_UPDATED_BY,
           PoRequisitionLineEO.LAST_UPDATE_LOGIN,
           PoRequisitionLineEO.CREATION_DATE,
           PoRequisitionLineEO.CREATED_BY,
           PoRequisitionLineEO.DELIVER_TO_LOCATION_ID,
           PoRequisitionLineEO.TO_PERSON_ID,
           PoRequisitionLineEO.ITEM_DESCRIPTION,
           PoRequisitionLineEO.CATEGORY_ID,
           PoRequisitionLineEO.UNIT_MEAS_LOOKUP_CODE,
           PoRequisitionLineEO.UNIT_PRICE,
           PoRequisitionLineEO.QUANTITY,
           PoRequisitionLineEO.LINE_TYPE_ID,
           PoRequisitionLineEO.SOURCE_TYPE_CODE,
           PoRequisitionLineEO.ITEM_ID,
           PoRequisitionLineEO.ITEM_REVISION,
           PoRequisitionLineEO.QUANTITY_DELIVERED,
           PoRequisitionLineEO.SUGGESTED_BUYER_ID,
           PoRequisitionLineEO.ENCUMBERED_FLAG,
           PoRequisitionLineEO.RFQ_REQUIRED_FLAG,
           PoRequisitionLineEO.NEED_BY_DATE,
           PoRequisitionLineEO.LINE_LOCATION_ID,
           PoRequisitionLineEO.MODIFIED_BY_AGENT_FLAG,
           PoRequisitionLineEO.PARENT_REQ_LINE_ID,
           PoRequisitionLineEO.JUSTIFICATION,
           PoRequisitionLineEO.NOTE_TO_AGENT,
           PoRequisitionLineEO.NOTE_TO_RECEIVER,
           PoRequisitionLineEO.PURCHASING_AGENT_ID,
           PoRequisitionLineEO.DOCUMENT_TYPE_CODE,
           PoRequisitionLineEO.BLANKET_PO_HEADER_ID,
           PoRequisitionLineEO.BLANKET_PO_LINE_NUM,
           PoRequisitionLineEO.CURRENCY_CODE,
           PoRequisitionLineEO.RATE_TYPE,
           /*PoRequisitionLineEO.RATE_DATE*/trunc(SYSDATE) rate_DATE,
           /*PoRequisitionLineEO.RATE*/
           (SELECT conversion_rate
              FROM gl_daily_rates
                   ,hr_operating_units hou
                   ,gl_sets_of_books sob
             WHERE from_currency = PoRequisitionLineEO.CURRENCY_CODE
             AND to_currency = sob.currency_code
             AND conversion_type = PoRequisitionLineEO.RATE_TYPE
             AND conversion_date = trunc(SYSDATE)
             AND  hou.organization_id = PoRequisitionLineEO.org_id
              AND hou.set_of_books_id = sob.SET_OF_BOOKS_ID ) rate,
           PoRequisitionLineEO.CURRENCY_UNIT_PRICE,
           PoRequisitionLineEO.SUGGESTED_VENDOR_NAME,
           PoRequisitionLineEO.SUGGESTED_VENDOR_LOCATION,
           PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT,
           PoRequisitionLineEO.SUGGESTED_VENDOR_PHONE,
           PoRequisitionLineEO.SUGGESTED_VENDOR_PRODUCT_CODE,
           PoRequisitionLineEO.UN_NUMBER_ID,
           PoRequisitionLineEO.HAZARD_CLASS_ID,
           PoRequisitionLineEO.MUST_USE_SUGG_VENDOR_FLAG,
           PoRequisitionLineEO.REFERENCE_NUM,
           PoRequisitionLineEO.ON_RFQ_FLAG,
           PoRequisitionLineEO.URGENT_FLAG,
           PoRequisitionLineEO.CANCEL_FLAG,
           PoRequisitionLineEO.SOURCE_ORGANIZATION_ID,
           PoRequisitionLineEO.SOURCE_SUBINVENTORY,
           PoRequisitionLineEO.DESTINATION_TYPE_CODE,
           PoRequisitionLineEO.DESTINATION_ORGANIZATION_ID,
           PoRequisitionLineEO.DESTINATION_SUBINVENTORY,
           PoRequisitionLineEO.QUANTITY_CANCELLED,
           PoRequisitionLineEO.CANCEL_DATE,
           PoRequisitionLineEO.CANCEL_REASON,
           PoRequisitionLineEO.CLOSED_CODE,
           PoRequisitionLineEO.AGENT_RETURN_NOTE,
           PoRequisitionLineEO.CHANGED_AFTER_RESEARCH_FLAG,
           PoRequisitionLineEO.VENDOR_ID,
           PoRequisitionLineEO.VENDOR_SITE_ID,
           PoRequisitionLineEO.VENDOR_CONTACT_ID,
           PoRequisitionLineEO.RESEARCH_AGENT_ID,
           PoRequisitionLineEO.ON_LINE_FLAG,
           PoRequisitionLineEO.WIP_ENTITY_ID,
           PoRequisitionLineEO.WIP_LINE_ID,
           PoRequisitionLineEO.WIP_REPETITIVE_SCHEDULE_ID,
           PoRequisitionLineEO.WIP_OPERATION_SEQ_NUM,
           PoRequisitionLineEO.WIP_RESOURCE_SEQ_NUM,
           PoRequisitionLineEO.ATTRIBUTE_CATEGORY,
           PoRequisitionLineEO.DESTINATION_CONTEXT,
           PoRequisitionLineEO.INVENTORY_SOURCE_CONTEXT,
           PoRequisitionLineEO.VENDOR_SOURCE_CONTEXT,
           PoRequisitionLineEO.BOM_RESOURCE_ID,
           PoRequisitionLineEO.REQUEST_ID,
           PoRequisitionLineEO.PROGRAM_APPLICATION_ID,
           PoRequisitionLineEO.PROGRAM_ID,
           PoRequisitionLineEO.PROGRAM_UPDATE_DATE,
           PoRequisitionLineEO.USSGL_TRANSACTION_CODE,
           PoRequisitionLineEO.GOVERNMENT_CONTEXT,
           PoRequisitionLineEO.CLOSED_REASON,
           PoRequisitionLineEO.CLOSED_DATE,
           PoRequisitionLineEO.TRANSACTION_REASON_CODE,
           PoRequisitionLineEO.QUANTITY_RECEIVED,
           PoRequisitionLineEO.SOURCE_REQ_LINE_ID,
           PoRequisitionLineEO.ORG_ID,
           PoRequisitionLineEO.KANBAN_CARD_ID,
           PoRequisitionLineEO.CATALOG_TYPE,
           PoRequisitionLineEO.CATALOG_SOURCE,
           PoRequisitionLineEO.MANUFACTURER_ID,
           PoRequisitionLineEO.MANUFACTURER_NAME,
           PoRequisitionLineEO.MANUFACTURER_PART_NUMBER,
           PoRequisitionLineEO.REQUESTER_EMAIL,
           PoRequisitionLineEO.REQUESTER_FAX,
           PoRequisitionLineEO.REQUESTER_PHONE,
           PoRequisitionLineEO.UNSPSC_CODE,
           PoRequisitionLineEO.OTHER_CATEGORY_CODE,
           PoRequisitionLineEO.SUPPLIER_DUNS,
           PoRequisitionLineEO.TAX_STATUS_INDICATOR,
           PoRequisitionLineEO.PCARD_FLAG,
           PoRequisitionLineEO.NEW_SUPPLIER_FLAG,
           PoRequisitionLineEO.AUTO_RECEIVE_FLAG,
           PoRequisitionLineEO.TAX_USER_OVERRIDE_FLAG,
           PoRequisitionLineEO.TAX_CODE_ID,
           PoRequisitionLineEO.NOTE_TO_VENDOR,
           PoRequisitionLineEO.OKE_CONTRACT_VERSION_ID,
           PoRequisitionLineEO.OKE_CONTRACT_HEADER_ID,
           PoRequisitionLineEO.ITEM_SOURCE_ID,
           PoRequisitionLineEO.SUPPLIER_REF_NUMBER,
           PoRequisitionLineEO.SECONDARY_UNIT_OF_MEASURE,
           PoRequisitionLineEO.SECONDARY_QUANTITY,
           PoRequisitionLineEO.PREFERRED_GRADE,
           PoRequisitionLineEO.SECONDARY_QUANTITY_RECEIVED,
           PoRequisitionLineEO.SECONDARY_QUANTITY_CANCELLED,
           PoRequisitionLineEO.AUCTION_HEADER_ID,
           PoRequisitionLineEO.AUCTION_DISPLAY_NUMBER,
           PoRequisitionLineEO.AUCTION_LINE_NUMBER,
           PoRequisitionLineEO.REQS_IN_POOL_FLAG,
           PoRequisitionLineEO.VMI_FLAG,
           PoRequisitionLineEO.ATTRIBUTE1,
           PoRequisitionLineEO.ATTRIBUTE2,
           PoRequisitionLineEO.ATTRIBUTE3,
           PoRequisitionLineEO.ATTRIBUTE4,
           PoRequisitionLineEO.ATTRIBUTE5,
           PoRequisitionLineEO.ATTRIBUTE6,
           PoRequisitionLineEO.ATTRIBUTE7,
           PoRequisitionLineEO.ATTRIBUTE8,
           PoRequisitionLineEO.ATTRIBUTE9,
           PoRequisitionLineEO.ATTRIBUTE10,
           PoRequisitionLineEO.ATTRIBUTE11,
           PoRequisitionLineEO.ATTRIBUTE12,
           PoRequisitionLineEO.ATTRIBUTE13,
           PoRequisitionLineEO.ATTRIBUTE14,
           PoRequisitionLineEO.ATTRIBUTE15,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE1,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE2,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE3,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE4,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE5,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE6,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE7,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE8,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE9,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE10,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE11,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE12,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE13,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE14,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE15,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE16,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE17,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE18,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE19,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE20,
           PoRequisitionLineEO.GLOBAL_ATTRIBUTE_CATEGORY,
           PoRequisitionLineEO.BID_NUMBER,
           PoRequisitionLineEO.BID_LINE_NUMBER,
           PoRequisitionLineEO.AMOUNT,
           PoRequisitionLineEO.CURRENCY_AMOUNT,
           PoRequisitionLineEO.NONCAT_TEMPLATE_ID,
           PoRequisitionLineEO.JOB_ID,
           PoRequisitionLineEO.CONTACT_INFORMATION,
           PoRequisitionLineEO.CANDIDATE_SCREENING_REQD_FLAG,
           PoRequisitionLineEO.SUGGESTED_SUPPLIER_FLAG,
           PoRequisitionLineEO.ASSIGNMENT_END_DATE,
           PoRequisitionLineEO.OVERTIME_ALLOWED_FLAG,
           PoRequisitionLineEO.CONTRACTOR_REQUISITION_FLAG,
           PoRequisitionLineEO.LABOR_REQ_LINE_ID,
           PoRequisitionLineEO.JOB_LONG_DESCRIPTION,
           PoRequisitionLineEO.CONTRACTOR_STATUS,
           PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT_FAX,
           PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT_EMAIL,
           PoRequisitionLineEO.CANDIDATE_FIRST_NAME,
           PoRequisitionLineEO.CANDIDATE_LAST_NAME,
           PoRequisitionLineEO.ASSIGNMENT_START_DATE,
           PoRequisitionLineEO.ORDER_TYPE_LOOKUP_CODE,
           PoRequisitionLineEO.PURCHASE_BASIS,
           PoRequisitionLineEO.MATCHING_BASIS,
           PoRequisitionLineEO.NEGOTIATED_BY_PREPARER_FLAG,
           PoRequisitionLineEO.BASE_UNIT_PRICE,
           PoRequisitionLineEO.AT_SOURCING_FLAG,
           PoRequisitionLineEO.TAX_ATTRIBUTE_UPDATE_CODE,
           PoRequisitionLineEO.DROP_SHIP_FLAG,
           PoRequisitionLineEO.SHIP_METHOD,
           PoRequisitionLineEO.ESTIMATED_PICKUP_DATE,
           PoRequisitionLineEO.SUPPLIER_NOTIFIED_FOR_CANCEL,
           PoRequisitionLineEO.TAX_NAME
    FROM PO_REQUISITION_LINES_ALL PoRequisitionLineEO
       ]]></SQLQuery>
       <DesignTime>
          <Attr Name="_isExpertMode" Value="true" />
          <Attr Name="_version" Value="10.1.3.41.57" />
          <Attr Name="_codeGenFlag2" Value="Access|Coll|VarAccess" />
       </DesignTime>
       <ViewAttribute
          Name="Selected"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="Selected"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="REQUISITION_LINE_ID"
          IsUpdateable="false"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SuggestedBuyer"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="DestinationType"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="DeliverToLocation"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Requester"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="UnitOfMeasure"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Total"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CostCenter"
          IsQueriable="false"
          IsPersistent="false"
          Precision="200"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="NonrecoverableTax"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="RecoverableTax"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="EstimatedTax"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ServiceCost"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplierContact"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplierSite"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Supplier"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="InvReplenishment"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Category"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CategoryDescription"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ItemNumber"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="OperationReference"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="WorkOrder"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="UnNumber"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="HazardClass"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="LineType"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="VendorNumber"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="DestinationOrganization"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SourceDocType"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SourceDocNum"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="DisplayRateType"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="InfoTemplateName"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="INVENTORY_ITEM_ID"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ORGANIZATION_ID"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ProjectNumber"
          IsQueriable="false"
          IsPersistent="false"
          Precision="25"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ReqAwardId"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CodeCombinationId"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="AwardNumber"
          IsQueriable="false"
          IsPersistent="false"
          Precision="15"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="TaskId"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="TaskNumber"
          IsQueriable="false"
          IsPersistent="false"
          Precision="25"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ProjectId"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ChargeAccount"
          IsQueriable="false"
          IsPersistent="false"
          Precision="2000"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="TrasactionCode"
          IsQueriable="false"
          IsPersistent="false"
          Precision="30"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="GLDate"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Date"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="DATE" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ExpenditureItemDate"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Date"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="DATE" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ExpenditureOrganizationId"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ExpenditureOrg"
          IsQueriable="false"
          IsPersistent="false"
          Precision="240"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ExpenditureType"
          IsQueriable="false"
          IsPersistent="false"
          Precision="30"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CategoryEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ItemDescEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="LineDisabled"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="RateDateEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="RateTypeEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="RateEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CurrencyEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="AmountEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="PriceEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="QuantityEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="UomEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ContractNumEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="MfrPartNumEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="MfrEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplItemNumEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplFaxEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplEmailEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplPhoneEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplContactEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplSiteEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplEditable"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="TxnTotal"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ApprovalTotal"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="EnterChargeAccount"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Multiple"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="GlEncumberedDate"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Date"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="DATE" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="InfoTemplateInternalName"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="NewSupplier"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="PcardUsed"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="RestrictSupplierType"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="RestrictCategoryFlag"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CommodityId"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="oracle.jbo.domain.Number"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Urgent"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="Job"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplierSelected"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="SupplierSwitcher"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="ExpenseAmount"
          IsQueriable="false"
          IsPersistent="false"
          Type="oracle.jbo.domain.Number"
          ColumnType="NUMBER"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="CandidateFullName"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAddAccountDistributionRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAddOneTimeAddrRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAddProjectDistributionRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAmountRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAwardMultiple"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAwardMultipleRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsAwardRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsChargeAccountMultiple"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsChargeAccountMultipleRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsChargeAccountReadOnly"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsChargeAccountRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsDeliverToLocationReadOnly"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsDestinationTypeReadOnly"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsEditDelOneTimeAddrRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsEnterChargeAccountRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureItemDateMultiple"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureItemDateMultipleRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureItemDateRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureOrgMultiple"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureOrgMultipleRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureOrgRendered"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="IsExpenditureTypeMultiple"
          IsQueriable="false"
          IsPersistent="false"
          Precision="255"
          Type="java.lang.Boolean"
          ColumnType="VARCHAR2"
          AliasName="VIEW_ATTR"
          Passivate="true"
          SQLType="BIT" >
          <DesignTime>
             <Attr Name="_OverrideAttr" Value="true" />
          </DesignTime>
       </ViewAttribute>
       <View

  • Oracle.jbo.SQLStmtException:JBO-27122:SQL error during statement preparatio

    Hi,
    i am extending a VO(ApInvDistAllVO) in r12.i am just adding three additional columns.when i am substuting the VO, getting error as "Attempt to set a parameter name that does not occur in the SQL: Bind_InvoiceId".Here i am pasting seeded and custom query.
    SELECT ApInvDistAllEO.ACCOUNTING_DATE,
    ApInvDistAllEO.ACCRUAL_POSTED_FLAG,
    ApInvDistAllEO.ASSETS_ADDITION_FLAG,
    ApInvDistAllEO.ASSETS_TRACKING_FLAG,
    ApInvDistAllEO.CASH_POSTED_FLAG,
    ApInvDistAllEO.DISTRIBUTION_LINE_NUMBER,
    ApInvDistAllEO.DIST_CODE_COMBINATION_ID,
    ApInvDistAllEO.INVOICE_ID,
    ApInvDistAllEO.LAST_UPDATED_BY,
    ApInvDistAllEO.LAST_UPDATE_DATE,
    ApInvDistAllEO.LINE_TYPE_LOOKUP_CODE,
    ApInvDistAllEO.PERIOD_NAME,
    ApInvDistAllEO.SET_OF_BOOKS_ID,
    ApInvDistAllEO.ACCTS_PAY_CODE_COMBINATION_ID,
    ApInvDistAllEO.AMOUNT,
    ApInvDistAllEO.BASE_AMOUNT,
    ApInvDistAllEO.BASE_INVOICE_PRICE_VARIANCE,
    ApInvDistAllEO.BATCH_ID,
    ApInvDistAllEO.CREATED_BY,
    ApInvDistAllEO.CREATION_DATE,
    ApInvDistAllEO.DESCRIPTION,
    ApInvDistAllEO.EXCHANGE_RATE_VARIANCE,
    ApInvDistAllEO.FINAL_MATCH_FLAG,
    ApInvDistAllEO.INCOME_TAX_REGION,
    ApInvDistAllEO.INVOICE_PRICE_VARIANCE,
    ApInvDistAllEO.LAST_UPDATE_LOGIN,
    ApInvDistAllEO.MATCH_STATUS_FLAG,
    ApInvDistAllEO.POSTED_FLAG,
    ApInvDistAllEO.PO_DISTRIBUTION_ID,
    ApInvDistAllEO.PROGRAM_APPLICATION_ID,
    ApInvDistAllEO.PROGRAM_ID,
    ApInvDistAllEO.PROGRAM_UPDATE_DATE,
    ApInvDistAllEO.QUANTITY_INVOICED,
    ApInvDistAllEO.RATE_VAR_CODE_COMBINATION_ID,
    ApInvDistAllEO.REQUEST_ID,
    ApInvDistAllEO.REVERSAL_FLAG,
    ApInvDistAllEO.TYPE_1099,
    ApInvDistAllEO.UNIT_PRICE,
    ApInvDistAllEO.AMOUNT_ENCUMBERED,
    ApInvDistAllEO.BASE_AMOUNT_ENCUMBERED,
    ApInvDistAllEO.ENCUMBERED_FLAG,
    ApInvDistAllEO.EXCHANGE_DATE,
    ApInvDistAllEO.EXCHANGE_RATE,
    ApInvDistAllEO.EXCHANGE_RATE_TYPE,
    ApInvDistAllEO.PRICE_ADJUSTMENT_FLAG,
    ApInvDistAllEO.PRICE_VAR_CODE_COMBINATION_ID,
    ApInvDistAllEO.QUANTITY_UNENCUMBERED,
    ApInvDistAllEO.STAT_AMOUNT,
    ApInvDistAllEO.AMOUNT_TO_POST,
    ApInvDistAllEO.ATTRIBUTE1,
    ApInvDistAllEO.ATTRIBUTE10,
    ApInvDistAllEO.ATTRIBUTE11,
    ApInvDistAllEO.ATTRIBUTE12,
    ApInvDistAllEO.ATTRIBUTE13,
    ApInvDistAllEO.ATTRIBUTE14,
    ApInvDistAllEO.ATTRIBUTE15,
    ApInvDistAllEO.ATTRIBUTE2,
    ApInvDistAllEO.ATTRIBUTE3,
    ApInvDistAllEO.ATTRIBUTE4,
    ApInvDistAllEO.ATTRIBUTE5,
    ApInvDistAllEO.ATTRIBUTE6,
    ApInvDistAllEO.ATTRIBUTE7,
    ApInvDistAllEO.ATTRIBUTE8,
    ApInvDistAllEO.ATTRIBUTE9,
    ApInvDistAllEO.ATTRIBUTE_CATEGORY,
    ApInvDistAllEO.BASE_AMOUNT_TO_POST,
    ApInvDistAllEO.CASH_JE_BATCH_ID,
    ApInvDistAllEO.EXPENDITURE_ITEM_DATE,
    ApInvDistAllEO.EXPENDITURE_ORGANIZATION_ID,
    ApInvDistAllEO.EXPENDITURE_TYPE,
    ApInvDistAllEO.JE_BATCH_ID,
    ApInvDistAllEO.PARENT_INVOICE_ID,
    ApInvDistAllEO.PA_ADDITION_FLAG,
    ApInvDistAllEO.PA_QUANTITY,
    ApInvDistAllEO.POSTED_AMOUNT,
    ApInvDistAllEO.POSTED_BASE_AMOUNT,
    ApInvDistAllEO.PREPAY_AMOUNT_REMAINING,
    ApInvDistAllEO.PROJECT_ACCOUNTING_CONTEXT,
    ApInvDistAllEO.PROJECT_ID,
    ApInvDistAllEO.TASK_ID,
    ApInvDistAllEO.USSGL_TRANSACTION_CODE,
    ApInvDistAllEO.USSGL_TRX_CODE_CONTEXT,
    ApInvDistAllEO.EARLIEST_SETTLEMENT_DATE,
    ApInvDistAllEO.REQ_DISTRIBUTION_ID,
    ApInvDistAllEO.QUANTITY_VARIANCE,
    ApInvDistAllEO.BASE_QUANTITY_VARIANCE,
    ApInvDistAllEO.PACKET_ID,
    ApInvDistAllEO.AWT_FLAG,
    ApInvDistAllEO.AWT_GROUP_ID,
    ApInvDistAllEO.AWT_TAX_RATE_ID,
    ApInvDistAllEO.AWT_GROSS_AMOUNT,
    ApInvDistAllEO.AWT_INVOICE_ID,
    ApInvDistAllEO.AWT_ORIGIN_GROUP_ID,
    ApInvDistAllEO.REFERENCE_1,
    ApInvDistAllEO.REFERENCE_2,
    ApInvDistAllEO.ORG_ID,
    ApInvDistAllEO.OTHER_INVOICE_ID,
    ApInvDistAllEO.AWT_INVOICE_PAYMENT_ID,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE_CATEGORY,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE1,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE2,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE3,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE4,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE5,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE6,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE7,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE8,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE9,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE10,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE11,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE12,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE13,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE14,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE15,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE16,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE17,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE18,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE19,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE20,
    ApInvDistAllEO.LINE_GROUP_NUMBER,
    ApInvDistAllEO.RECEIPT_VERIFIED_FLAG,
    ApInvDistAllEO.RECEIPT_REQUIRED_FLAG,
    ApInvDistAllEO.RECEIPT_MISSING_FLAG,
    ApInvDistAllEO.JUSTIFICATION,
    ApInvDistAllEO.EXPENSE_GROUP,
    ApInvDistAllEO.START_EXPENSE_DATE,
    ApInvDistAllEO.END_EXPENSE_DATE,
    ApInvDistAllEO.RECEIPT_CURRENCY_CODE,
    ApInvDistAllEO.RECEIPT_CONVERSION_RATE,
    ApInvDistAllEO.RECEIPT_CURRENCY_AMOUNT,
    ApInvDistAllEO.DAILY_AMOUNT,
    ApInvDistAllEO.WEB_PARAMETER_ID,
    ApInvDistAllEO.ADJUSTMENT_REASON,
    ApInvDistAllEO.AWARD_ID,
    ApInvDistAllEO.MRC_ACCRUAL_POSTED_FLAG,
    ApInvDistAllEO.MRC_CASH_POSTED_FLAG,
    ApInvDistAllEO.MRC_DIST_CODE_COMBINATION_ID,
    ApInvDistAllEO.MRC_AMOUNT,
    ApInvDistAllEO.MRC_BASE_AMOUNT,
    ApInvDistAllEO.MRC_BASE_INV_PRICE_VARIANCE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE_VARIANCE,
    ApInvDistAllEO.MRC_POSTED_FLAG,
    ApInvDistAllEO.MRC_PROGRAM_APPLICATION_ID,
    ApInvDistAllEO.MRC_PROGRAM_ID,
    ApInvDistAllEO.MRC_PROGRAM_UPDATE_DATE,
    ApInvDistAllEO.MRC_RATE_VAR_CCID,
    ApInvDistAllEO.MRC_REQUEST_ID,
    ApInvDistAllEO.MRC_EXCHANGE_DATE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE_TYPE,
    ApInvDistAllEO.MRC_AMOUNT_TO_POST,
    ApInvDistAllEO.MRC_BASE_AMOUNT_TO_POST,
    ApInvDistAllEO.MRC_CASH_JE_BATCH_ID,
    ApInvDistAllEO.MRC_JE_BATCH_ID,
    ApInvDistAllEO.MRC_POSTED_AMOUNT,
    ApInvDistAllEO.MRC_POSTED_BASE_AMOUNT,
    ApInvDistAllEO.MRC_RECEIPT_CONVERSION_RATE,
    ApInvDistAllEO.CREDIT_CARD_TRX_ID,
    ApInvDistAllEO.DIST_MATCH_TYPE,
    ApInvDistAllEO.RCV_TRANSACTION_ID,
    ApInvDistAllEO.INVOICE_DISTRIBUTION_ID,
    ApInvDistAllEO.PARENT_REVERSAL_ID,
    ApInvDistAllEO.TAX_RECOVERABLE_FLAG,
    ApInvDistAllEO.PA_CC_AR_INVOICE_ID,
    ApInvDistAllEO.PA_CC_AR_INVOICE_LINE_NUM,
    ApInvDistAllEO.PA_CC_PROCESSED_CODE,
    ApInvDistAllEO.MERCHANT_DOCUMENT_NUMBER,
    ApInvDistAllEO.MERCHANT_NAME,
    ApInvDistAllEO.MERCHANT_REFERENCE,
    ApInvDistAllEO.MERCHANT_TAX_REG_NUMBER,
    ApInvDistAllEO.MERCHANT_TAXPAYER_ID,
    ApInvDistAllEO.COUNTRY_OF_SUPPLY,
    ApInvDistAllEO.MATCHED_UOM_LOOKUP_CODE,
    ApInvDistAllEO.GMS_BURDENABLE_RAW_COST,
    ApInvDistAllEO.ACCOUNTING_EVENT_ID,
    ApInvDistAllEO.PREPAY_DISTRIBUTION_ID,
    ApInvDistAllEO.UPGRADE_POSTED_AMT,
    ApInvDistAllEO.UPGRADE_BASE_POSTED_AMT,
    ApInvDistAllEO.INVENTORY_TRANSFER_STATUS,
    ApInvDistAllEO.COMPANY_PREPAID_INVOICE_ID,
    ApInvDistAllEO.CC_REVERSAL_FLAG,
    ApInvDistAllEO.AWT_WITHHELD_AMT,
    ApInvDistAllEO.INVOICE_INCLUDES_PREPAY_FLAG,
    ApInvDistAllEO.PRICE_CORRECT_INV_ID,
    ApInvDistAllEO.PRICE_CORRECT_QTY,
    ApInvDistAllEO.PA_CMT_XFACE_FLAG,
    ApInvDistAllEO.CANCELLATION_FLAG,
    ApInvDistAllEO.INVOICE_LINE_NUMBER,
    ApInvDistAllEO.CORRECTED_INVOICE_DIST_ID,
    ApInvDistAllEO.ROUNDING_AMT,
    ApInvDistAllEO.CHARGE_APPLICABLE_TO_DIST_ID,
    ApInvDistAllEO.CORRECTED_QUANTITY,
    ApInvDistAllEO.RELATED_ID,
    ApInvDistAllEO.ASSET_BOOK_TYPE_CODE,
    ApInvDistAllEO.ASSET_CATEGORY_ID,
    ApInvDistAllEO.DISTRIBUTION_CLASS,
    ApInvDistAllEO.FINAL_PAYMENT_ROUNDING,
    ApInvDistAllEO.FINAL_APPLICATION_ROUNDING,
    ApInvDistAllEO.AMOUNT_AT_PREPAY_XRATE,
    ApInvDistAllEO.CASH_BASIS_FINAL_APP_ROUNDING,
    ApInvDistAllEO.AMOUNT_AT_PREPAY_PAY_XRATE,
    ApInvDistAllEO.INTENDED_USE,
    ApInvDistAllEO.DETAIL_TAX_DIST_ID,
    ApInvDistAllEO.REC_NREC_RATE,
    ApInvDistAllEO.RECOVERY_RATE_ID,
    ApInvDistAllEO.RECOVERY_RATE_NAME,
    ApInvDistAllEO.RECOVERY_TYPE_CODE,
    ApInvDistAllEO.RECOVERY_RATE_CODE,
    ApInvDistAllEO.WITHHOLDING_TAX_CODE_ID,
    ApInvDistAllEO.TAX_ALREADY_DISTRIBUTED_FLAG,
    ApInvDistAllEO.SUMMARY_TAX_LINE_ID,
    ApInvDistAllEO.TAXABLE_AMOUNT,
    ApInvDistAllEO.TAXABLE_BASE_AMOUNT,
    ApInvDistAllEO.EXTRA_PO_ERV,
    ApInvDistAllEO.PREPAY_TAX_DIFF_AMOUNT,
    ApInvDistAllEO.TAX_CODE_ID,
    ApInvDistAllEO.VAT_CODE,
    ApInvDistAllEO.AMOUNT_INCLUDES_TAX_FLAG,
    ApInvDistAllEO.TAX_CALCULATED_FLAG,
    ApInvDistAllEO.TAX_RECOVERY_RATE,
    ApInvDistAllEO.TAX_RECOVERY_OVERRIDE_FLAG,
    ApInvDistAllEO.TAX_CODE_OVERRIDE_FLAG,
    ApInvDistAllEO.TOTAL_DIST_AMOUNT,
    ApInvDistAllEO.TOTAL_DIST_BASE_AMOUNT,
    ApInvDistAllEO.PREPAY_TAX_PARENT_ID,
    ApInvDistAllEO.CANCELLED_FLAG,
    ApInvDistAllEO.OLD_DISTRIBUTION_ID,
    ApInvDistAllEO.OLD_DIST_LINE_NUMBER,
    ApInvDistAllEO.AMOUNT_VARIANCE,
    ApInvDistAllEO.BASE_AMOUNT_VARIANCE,
    ApInvDistAllEO.HISTORICAL_FLAG,
    ApInvDistAllEO.RCV_CHARGE_ADDITION_FLAG,
    ApInvDistAllEO.AWT_RELATED_ID,
    ApInvDistAllEO.RELATED_RETAINAGE_DIST_ID,
    ApInvDistAllEO.RETAINED_AMOUNT_REMAINING,
    ApInvDistAllEO.BC_EVENT_ID,
    ApInvDistAllEO.RETAINED_INVOICE_DIST_ID,
    ApInvDistAllEO.FINAL_RELEASE_ROUNDING,
    ApInvDistAllEO.FULLY_PAID_ACCTD_FLAG,
    ApInvDistAllEO.ROOT_DISTRIBUTION_ID,
    ApInvDistAllEO.XINV_PARENT_REVERSAL_ID,
    ApInvDistAllEO.RECURRING_PAYMENT_ID,
    ApInvDistAllEO.RELEASE_INV_DIST_DERIVED_FROM,
    gl_flexfields_pkg.get_concat_description
         (f.id_flex_num,
         ApInvDistAllEO.dist_code_combination_id)          segments
    FROM AP_INVOICE_DISTRIBUTIONS_ALL ApInvDistAllEO,
         fnd_id_flex_structures_vl f,
         ap_invoices_all i,
         gl_sets_of_books sob
    where      ApInvDistAllEO.invoice_id = i.invoice_id
    and     sob.set_of_books_id = i.set_of_books_id
    and     f.id_flex_num = sob.chart_of_accounts_id
    and     f.id_flex_code = 'GL#'
    and     f.application_id = 101
    custom query
    SELECT ApInvDistAllEO.ACCOUNTING_DATE,
    ApInvDistAllEO.ACCRUAL_POSTED_FLAG,
    ApInvDistAllEO.ASSETS_ADDITION_FLAG,
    ApInvDistAllEO.ASSETS_TRACKING_FLAG,
    ApInvDistAllEO.CASH_POSTED_FLAG,
    ApInvDistAllEO.DISTRIBUTION_LINE_NUMBER,
    ApInvDistAllEO.DIST_CODE_COMBINATION_ID,
    ApInvDistAllEO.INVOICE_ID,
    ApInvDistAllEO.LAST_UPDATED_BY,
    ApInvDistAllEO.LAST_UPDATE_DATE,
    ApInvDistAllEO.LINE_TYPE_LOOKUP_CODE,
    ApInvDistAllEO.PERIOD_NAME,
    ApInvDistAllEO.SET_OF_BOOKS_ID,
    ApInvDistAllEO.ACCTS_PAY_CODE_COMBINATION_ID,
    ApInvDistAllEO.AMOUNT,
    ApInvDistAllEO.BASE_AMOUNT,
    ApInvDistAllEO.BASE_INVOICE_PRICE_VARIANCE,
    ApInvDistAllEO.BATCH_ID,
    ApInvDistAllEO.CREATED_BY,
    ApInvDistAllEO.CREATION_DATE,
    ApInvDistAllEO.DESCRIPTION,
    ApInvDistAllEO.EXCHANGE_RATE_VARIANCE,
    ApInvDistAllEO.FINAL_MATCH_FLAG,
    ApInvDistAllEO.INCOME_TAX_REGION,
    ApInvDistAllEO.INVOICE_PRICE_VARIANCE,
    ApInvDistAllEO.LAST_UPDATE_LOGIN,
    ApInvDistAllEO.MATCH_STATUS_FLAG,
    ApInvDistAllEO.POSTED_FLAG,
    ApInvDistAllEO.PO_DISTRIBUTION_ID,
    ApInvDistAllEO.PROGRAM_APPLICATION_ID,
    ApInvDistAllEO.PROGRAM_ID,
    ApInvDistAllEO.PROGRAM_UPDATE_DATE,
    ApInvDistAllEO.QUANTITY_INVOICED,
    ApInvDistAllEO.RATE_VAR_CODE_COMBINATION_ID,
    ApInvDistAllEO.REQUEST_ID,
    ApInvDistAllEO.REVERSAL_FLAG,
    ApInvDistAllEO.TYPE_1099,
    ApInvDistAllEO.UNIT_PRICE,
    ApInvDistAllEO.AMOUNT_ENCUMBERED,
    ApInvDistAllEO.BASE_AMOUNT_ENCUMBERED,
    ApInvDistAllEO.ENCUMBERED_FLAG,
    ApInvDistAllEO.EXCHANGE_DATE,
    ApInvDistAllEO.EXCHANGE_RATE,
    ApInvDistAllEO.EXCHANGE_RATE_TYPE,
    ApInvDistAllEO.PRICE_ADJUSTMENT_FLAG,
    ApInvDistAllEO.PRICE_VAR_CODE_COMBINATION_ID,
    ApInvDistAllEO.QUANTITY_UNENCUMBERED,
    ApInvDistAllEO.STAT_AMOUNT,
    ApInvDistAllEO.AMOUNT_TO_POST,
    ApInvDistAllEO.ATTRIBUTE1,
    ApInvDistAllEO.ATTRIBUTE10,
    ApInvDistAllEO.ATTRIBUTE11,
    ApInvDistAllEO.ATTRIBUTE12,
    ApInvDistAllEO.ATTRIBUTE13,
    ApInvDistAllEO.ATTRIBUTE14,
    ApInvDistAllEO.ATTRIBUTE15,
    ApInvDistAllEO.ATTRIBUTE2,
    ApInvDistAllEO.ATTRIBUTE3,
    ApInvDistAllEO.ATTRIBUTE4,
    ApInvDistAllEO.ATTRIBUTE5,
    ApInvDistAllEO.ATTRIBUTE6,
    ApInvDistAllEO.ATTRIBUTE7,
    ApInvDistAllEO.ATTRIBUTE8,
    ApInvDistAllEO.ATTRIBUTE9,
    ApInvDistAllEO.ATTRIBUTE_CATEGORY,
    ApInvDistAllEO.BASE_AMOUNT_TO_POST,
    ApInvDistAllEO.CASH_JE_BATCH_ID,
    ApInvDistAllEO.EXPENDITURE_ITEM_DATE,
    ApInvDistAllEO.EXPENDITURE_ORGANIZATION_ID,
    ApInvDistAllEO.EXPENDITURE_TYPE,
    ApInvDistAllEO.JE_BATCH_ID,
    ApInvDistAllEO.PARENT_INVOICE_ID,
    ApInvDistAllEO.PA_ADDITION_FLAG,
    ApInvDistAllEO.PA_QUANTITY,
    ApInvDistAllEO.POSTED_AMOUNT,
    ApInvDistAllEO.POSTED_BASE_AMOUNT,
    ApInvDistAllEO.PREPAY_AMOUNT_REMAINING,
    ApInvDistAllEO.PROJECT_ACCOUNTING_CONTEXT,
    ApInvDistAllEO.PROJECT_ID,
    ApInvDistAllEO.TASK_ID,
    ApInvDistAllEO.USSGL_TRANSACTION_CODE,
    ApInvDistAllEO.USSGL_TRX_CODE_CONTEXT,
    ApInvDistAllEO.EARLIEST_SETTLEMENT_DATE,
    ApInvDistAllEO.REQ_DISTRIBUTION_ID,
    ApInvDistAllEO.QUANTITY_VARIANCE,
    ApInvDistAllEO.BASE_QUANTITY_VARIANCE,
    ApInvDistAllEO.PACKET_ID,
    ApInvDistAllEO.AWT_FLAG,
    ApInvDistAllEO.AWT_GROUP_ID,
    ApInvDistAllEO.AWT_TAX_RATE_ID,
    ApInvDistAllEO.AWT_GROSS_AMOUNT,
    ApInvDistAllEO.AWT_INVOICE_ID,
    ApInvDistAllEO.AWT_ORIGIN_GROUP_ID,
    ApInvDistAllEO.REFERENCE_1,
    ApInvDistAllEO.REFERENCE_2,
    ApInvDistAllEO.ORG_ID,
    ApInvDistAllEO.OTHER_INVOICE_ID,
    ApInvDistAllEO.AWT_INVOICE_PAYMENT_ID,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE_CATEGORY,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE1,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE2,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE3,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE4,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE5,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE6,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE7,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE8,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE9,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE10,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE11,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE12,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE13,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE14,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE15,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE16,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE17,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE18,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE19,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE20,
    ApInvDistAllEO.LINE_GROUP_NUMBER,
    ApInvDistAllEO.RECEIPT_VERIFIED_FLAG,
    ApInvDistAllEO.RECEIPT_REQUIRED_FLAG,
    ApInvDistAllEO.RECEIPT_MISSING_FLAG,
    ApInvDistAllEO.JUSTIFICATION,
    ApInvDistAllEO.EXPENSE_GROUP,
    ApInvDistAllEO.START_EXPENSE_DATE,
    ApInvDistAllEO.END_EXPENSE_DATE,
    ApInvDistAllEO.RECEIPT_CURRENCY_CODE,
    ApInvDistAllEO.RECEIPT_CONVERSION_RATE,
    ApInvDistAllEO.RECEIPT_CURRENCY_AMOUNT,
    ApInvDistAllEO.DAILY_AMOUNT,
    ApInvDistAllEO.WEB_PARAMETER_ID,
    ApInvDistAllEO.ADJUSTMENT_REASON,
    ApInvDistAllEO.AWARD_ID,
    ApInvDistAllEO.MRC_ACCRUAL_POSTED_FLAG,
    ApInvDistAllEO.MRC_CASH_POSTED_FLAG,
    ApInvDistAllEO.MRC_DIST_CODE_COMBINATION_ID,
    ApInvDistAllEO.MRC_AMOUNT,
    ApInvDistAllEO.MRC_BASE_AMOUNT,
    ApInvDistAllEO.MRC_BASE_INV_PRICE_VARIANCE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE_VARIANCE,
    ApInvDistAllEO.MRC_POSTED_FLAG,
    ApInvDistAllEO.MRC_PROGRAM_APPLICATION_ID,
    ApInvDistAllEO.MRC_PROGRAM_ID,
    ApInvDistAllEO.MRC_PROGRAM_UPDATE_DATE,
    ApInvDistAllEO.MRC_RATE_VAR_CCID,
    ApInvDistAllEO.MRC_REQUEST_ID,
    ApInvDistAllEO.MRC_EXCHANGE_DATE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE_TYPE,
    ApInvDistAllEO.MRC_AMOUNT_TO_POST,
    ApInvDistAllEO.MRC_BASE_AMOUNT_TO_POST,
    ApInvDistAllEO.MRC_CASH_JE_BATCH_ID,
    ApInvDistAllEO.MRC_JE_BATCH_ID,
    ApInvDistAllEO.MRC_POSTED_AMOUNT,
    ApInvDistAllEO.MRC_POSTED_BASE_AMOUNT,
    ApInvDistAllEO.MRC_RECEIPT_CONVERSION_RATE,
    ApInvDistAllEO.CREDIT_CARD_TRX_ID,
    ApInvDistAllEO.DIST_MATCH_TYPE,
    ApInvDistAllEO.RCV_TRANSACTION_ID,
    ApInvDistAllEO.INVOICE_DISTRIBUTION_ID,
    ApInvDistAllEO.PARENT_REVERSAL_ID,
    ApInvDistAllEO.TAX_RECOVERABLE_FLAG,
    ApInvDistAllEO.PA_CC_AR_INVOICE_ID,
    ApInvDistAllEO.PA_CC_AR_INVOICE_LINE_NUM,
    ApInvDistAllEO.PA_CC_PROCESSED_CODE,
    ApInvDistAllEO.MERCHANT_DOCUMENT_NUMBER,
    ApInvDistAllEO.MERCHANT_NAME,
    ApInvDistAllEO.MERCHANT_REFERENCE,
    ApInvDistAllEO.MERCHANT_TAX_REG_NUMBER,
    ApInvDistAllEO.MERCHANT_TAXPAYER_ID,
    ApInvDistAllEO.COUNTRY_OF_SUPPLY,
    ApInvDistAllEO.MATCHED_UOM_LOOKUP_CODE,
    ApInvDistAllEO.GMS_BURDENABLE_RAW_COST,
    ApInvDistAllEO.ACCOUNTING_EVENT_ID,
    ApInvDistAllEO.PREPAY_DISTRIBUTION_ID,
    ApInvDistAllEO.UPGRADE_POSTED_AMT,
    ApInvDistAllEO.UPGRADE_BASE_POSTED_AMT,
    ApInvDistAllEO.INVENTORY_TRANSFER_STATUS,
    ApInvDistAllEO.COMPANY_PREPAID_INVOICE_ID,
    ApInvDistAllEO.CC_REVERSAL_FLAG,
    ApInvDistAllEO.AWT_WITHHELD_AMT,
    ApInvDistAllEO.INVOICE_INCLUDES_PREPAY_FLAG,
    ApInvDistAllEO.PRICE_CORRECT_INV_ID,
    ApInvDistAllEO.PRICE_CORRECT_QTY,
    ApInvDistAllEO.PA_CMT_XFACE_FLAG,
    ApInvDistAllEO.CANCELLATION_FLAG,
    ApInvDistAllEO.INVOICE_LINE_NUMBER,
    ApInvDistAllEO.CORRECTED_INVOICE_DIST_ID,
    ApInvDistAllEO.ROUNDING_AMT,
    ApInvDistAllEO.CHARGE_APPLICABLE_TO_DIST_ID,
    ApInvDistAllEO.CORRECTED_QUANTITY,
    ApInvDistAllEO.RELATED_ID,
    ApInvDistAllEO.ASSET_BOOK_TYPE_CODE,
    ApInvDistAllEO.ASSET_CATEGORY_ID,
    ApInvDistAllEO.DISTRIBUTION_CLASS,
    ApInvDistAllEO.FINAL_PAYMENT_ROUNDING,
    ApInvDistAllEO.FINAL_APPLICATION_ROUNDING,
    ApInvDistAllEO.AMOUNT_AT_PREPAY_XRATE,
    ApInvDistAllEO.CASH_BASIS_FINAL_APP_ROUNDING,
    ApInvDistAllEO.AMOUNT_AT_PREPAY_PAY_XRATE,
    ApInvDistAllEO.INTENDED_USE,
    ApInvDistAllEO.DETAIL_TAX_DIST_ID,
    ApInvDistAllEO.REC_NREC_RATE,
    ApInvDistAllEO.RECOVERY_RATE_ID,
    ApInvDistAllEO.RECOVERY_RATE_NAME,
    ApInvDistAllEO.RECOVERY_TYPE_CODE,
    ApInvDistAllEO.RECOVERY_RATE_CODE,
    ApInvDistAllEO.WITHHOLDING_TAX_CODE_ID,
    ApInvDistAllEO.TAX_ALREADY_DISTRIBUTED_FLAG,
    ApInvDistAllEO.SUMMARY_TAX_LINE_ID,
    ApInvDistAllEO.TAXABLE_AMOUNT,
    ApInvDistAllEO.TAXABLE_BASE_AMOUNT,
    ApInvDistAllEO.EXTRA_PO_ERV,
    ApInvDistAllEO.PREPAY_TAX_DIFF_AMOUNT,
    ApInvDistAllEO.TAX_CODE_ID,
    ApInvDistAllEO.VAT_CODE,
    ApInvDistAllEO.AMOUNT_INCLUDES_TAX_FLAG,
    ApInvDistAllEO.TAX_CALCULATED_FLAG,
    ApInvDistAllEO.TAX_RECOVERY_RATE,
    ApInvDistAllEO.TAX_RECOVERY_OVERRIDE_FLAG,
    ApInvDistAllEO.TAX_CODE_OVERRIDE_FLAG,
    ApInvDistAllEO.TOTAL_DIST_AMOUNT,
    ApInvDistAllEO.TOTAL_DIST_BASE_AMOUNT,
    ApInvDistAllEO.PREPAY_TAX_PARENT_ID,
    ApInvDistAllEO.CANCELLED_FLAG,
    ApInvDistAllEO.OLD_DISTRIBUTION_ID,
    ApInvDistAllEO.OLD_DIST_LINE_NUMBER,
    ApInvDistAllEO.AMOUNT_VARIANCE,
    ApInvDistAllEO.BASE_AMOUNT_VARIANCE,
    ApInvDistAllEO.HISTORICAL_FLAG,
    ApInvDistAllEO.RCV_CHARGE_ADDITION_FLAG,
    ApInvDistAllEO.AWT_RELATED_ID,
    ApInvDistAllEO.RELATED_RETAINAGE_DIST_ID,
    ApInvDistAllEO.RETAINED_AMOUNT_REMAINING,
    ApInvDistAllEO.BC_EVENT_ID,
    ApInvDistAllEO.RETAINED_INVOICE_DIST_ID,
    ApInvDistAllEO.FINAL_RELEASE_ROUNDING,
    ApInvDistAllEO.FULLY_PAID_ACCTD_FLAG,
    ApInvDistAllEO.ROOT_DISTRIBUTION_ID,
    ApInvDistAllEO.XINV_PARENT_REVERSAL_ID,
    ApInvDistAllEO.RECURRING_PAYMENT_ID,
    ApInvDistAllEO.RELEASE_INV_DIST_DERIVED_FROM,
    gl_flexfields_pkg.get_concat_description
         (f.id_flex_num,
         ApInvDistAllEO.dist_code_combination_id)          segments,
    (SELECT segment1
    FROM pa_projects_all ppa
    WHERE ppa.project_id = apinvdistalleo.project_id) project_number,
    (SELECT pt.task_number
    FROM pa_tasks pt
    WHERE pt.task_id = apinvdistalleo.task_id) task_number,
    (SELECT NAME
    FROM hr_all_organization_units hou
    WHERE hou.organization_id =
    apinvdistalleo.expenditure_organization_id)
    expd_org_name
    FROM AP_INVOICE_DISTRIBUTIONS_ALL ApInvDistAllEO,
         fnd_id_flex_structures_vl f,
         ap_invoices_all i,
         gl_sets_of_books sob
    where      ApInvDistAllEO.invoice_id = i.invoice_id
    and     sob.set_of_books_id = i.set_of_books_id
    and     f.id_flex_num = sob.chart_of_accounts_id
    and     f.id_flex_code = 'GL#'
    and     f.application_id = 101
    Thanks
    Praveen

    Hi Siva,
    Thanks for you response.
    I didn't defined bind variables.But this vo is used by one Seeded VL
    Substution steps:
    1.Substuited the seed vo with custom vo in jdeveloper.
    2.Imported the .jpx file using jpx importer.it displayed like this.
    Imported document : /oracle/apps/ap/invoice/request/negotiation/server/customizations/site/0/ApInvDistAllVO.
    i am providing error stack also:
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT ApInvDistAllEO.ACCOUNTING_DATE,
    ApInvDistAllEO.ACCRUAL_POSTED_FLAG,
    ApInvDistAllEO.ASSETS_ADDITION_FLAG,
    ApInvDistAllEO.ASSETS_TRACKING_FLAG,
    ApInvDistAllEO.CASH_POSTED_FLAG,
    ApInvDistAllEO.DISTRIBUTION_LINE_NUMBER,
    ApInvDistAllEO.DIST_CODE_COMBINATION_ID,
    ApInvDistAllEO.INVOICE_ID,
    ApInvDistAllEO.LAST_UPDATED_BY,
    ApInvDistAllEO.LAST_UPDATE_DATE,
    ApInvDistAllEO.LINE_TYPE_LOOKUP_CODE,
    ApInvDistAllEO.PERIOD_NAME,
    ApInvDistAllEO.SET_OF_BOOKS_ID,
    ApInvDistAllEO.ACCTS_PAY_CODE_COMBINATION_ID,
    ApInvDistAllEO.AMOUNT,
    ApInvDistAllEO.BASE_AMOUNT,
    ApInvDistAllEO.BASE_INVOICE_PRICE_VARIANCE,
    ApInvDistAllEO.BATCH_ID,
    ApInvDistAllEO.CREATED_BY,
    ApInvDistAllEO.CREATION_DATE,
    ApInvDistAllEO.DESCRIPTION,
    ApInvDistAllEO.EXCHANGE_RATE_VARIANCE,
    ApInvDistAllEO.FINAL_MATCH_FLAG,
    ApInvDistAllEO.INCOME_TAX_REGION,
    ApInvDistAllEO.INVOICE_PRICE_VARIANCE,
    ApInvDistAllEO.LAST_UPDATE_LOGIN,
    ApInvDistAllEO.MATCH_STATUS_FLAG,
    ApInvDistAllEO.POSTED_FLAG,
    ApInvDistAllEO.PO_DISTRIBUTION_ID,
    ApInvDistAllEO.PROGRAM_APPLICATION_ID,
    ApInvDistAllEO.PROGRAM_ID,
    ApInvDistAllEO.PROGRAM_UPDATE_DATE,
    ApInvDistAllEO.QUANTITY_INVOICED,
    ApInvDistAllEO.RATE_VAR_CODE_COMBINATION_ID,
    ApInvDistAllEO.REQUEST_ID,
    ApInvDistAllEO.REVERSAL_FLAG,
    ApInvDistAllEO.TYPE_1099,
    ApInvDistAllEO.UNIT_PRICE,
    ApInvDistAllEO.AMOUNT_ENCUMBERED,
    ApInvDistAllEO.BASE_AMOUNT_ENCUMBERED,
    ApInvDistAllEO.ENCUMBERED_FLAG,
    ApInvDistAllEO.EXCHANGE_DATE,
    ApInvDistAllEO.EXCHANGE_RATE,
    ApInvDistAllEO.EXCHANGE_RATE_TYPE,
    ApInvDistAllEO.PRICE_ADJUSTMENT_FLAG,
    ApInvDistAllEO.PRICE_VAR_CODE_COMBINATION_ID,
    ApInvDistAllEO.QUANTITY_UNENCUMBERED,
    ApInvDistAllEO.STAT_AMOUNT,
    ApInvDistAllEO.AMOUNT_TO_POST,
    ApInvDistAllEO.ATTRIBUTE1,
    ApInvDistAllEO.ATTRIBUTE10,
    ApInvDistAllEO.ATTRIBUTE11,
    ApInvDistAllEO.ATTRIBUTE12,
    ApInvDistAllEO.ATTRIBUTE13,
    ApInvDistAllEO.ATTRIBUTE14,
    ApInvDistAllEO.ATTRIBUTE15,
    ApInvDistAllEO.ATTRIBUTE2,
    ApInvDistAllEO.ATTRIBUTE3,
    ApInvDistAllEO.ATTRIBUTE4,
    ApInvDistAllEO.ATTRIBUTE5,
    ApInvDistAllEO.ATTRIBUTE6,
    ApInvDistAllEO.ATTRIBUTE7,
    ApInvDistAllEO.ATTRIBUTE8,
    ApInvDistAllEO.ATTRIBUTE9,
    ApInvDistAllEO.ATTRIBUTE_CATEGORY,
    ApInvDistAllEO.BASE_AMOUNT_TO_POST,
    ApInvDistAllEO.CASH_JE_BATCH_ID,
    ApInvDistAllEO.EXPENDITURE_ITEM_DATE,
    ApInvDistAllEO.EXPENDITURE_ORGANIZATION_ID,
    ApInvDistAllEO.EXPENDITURE_TYPE,
    ApInvDistAllEO.JE_BATCH_ID,
    ApInvDistAllEO.PARENT_INVOICE_ID,
    ApInvDistAllEO.PA_ADDITION_FLAG,
    ApInvDistAllEO.PA_QUANTITY,
    ApInvDistAllEO.POSTED_AMOUNT,
    ApInvDistAllEO.POSTED_BASE_AMOUNT,
    ApInvDistAllEO.PREPAY_AMOUNT_REMAINING,
    ApInvDistAllEO.PROJECT_ACCOUNTING_CONTEXT,
    ApInvDistAllEO.PROJECT_ID,
    ApInvDistAllEO.TASK_ID,
    ApInvDistAllEO.USSGL_TRANSACTION_CODE,
    ApInvDistAllEO.USSGL_TRX_CODE_CONTEXT,
    ApInvDistAllEO.EARLIEST_SETTLEMENT_DATE,
    ApInvDistAllEO.REQ_DISTRIBUTION_ID,
    ApInvDistAllEO.QUANTITY_VARIANCE,
    ApInvDistAllEO.BASE_QUANTITY_VARIANCE,
    ApInvDistAllEO.PACKET_ID,
    ApInvDistAllEO.AWT_FLAG,
    ApInvDistAllEO.AWT_GROUP_ID,
    ApInvDistAllEO.AWT_TAX_RATE_ID,
    ApInvDistAllEO.AWT_GROSS_AMOUNT,
    ApInvDistAllEO.AWT_INVOICE_ID,
    ApInvDistAllEO.AWT_ORIGIN_GROUP_ID,
    ApInvDistAllEO.REFERENCE_1,
    ApInvDistAllEO.REFERENCE_2,
    ApInvDistAllEO.ORG_ID,
    ApInvDistAllEO.OTHER_INVOICE_ID,
    ApInvDistAllEO.AWT_INVOICE_PAYMENT_ID,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE_CATEGORY,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE1,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE2,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE3,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE4,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE5,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE6,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE7,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE8,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE9,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE10,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE11,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE12,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE13,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE14,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE15,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE16,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE17,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE18,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE19,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE20,
    ApInvDistAllEO.LINE_GROUP_NUMBER,
    ApInvDistAllEO.RECEIPT_VERIFIED_FLAG,
    ApInvDistAllEO.RECEIPT_REQUIRED_FLAG,
    ApInvDistAllEO.RECEIPT_MISSING_FLAG,
    ApInvDistAllEO.JUSTIFICATION,
    ApInvDistAllEO.EXPENSE_GROUP,
    ApInvDistAllEO.START_EXPENSE_DATE,
    ApInvDistAllEO.END_EXPENSE_DATE,
    ApInvDistAllEO.RECEIPT_CURRENCY_CODE,
    ApInvDistAllEO.RECEIPT_CONVERSION_RATE,
    ApInvDistAllEO.RECEIPT_CURRENCY_AMOUNT,
    ApInvDistAllEO.DAILY_AMOUNT,
    ApInvDistAllEO.WEB_PARAMETER_ID,
    ApInvDistAllEO.ADJUSTMENT_REASON,
    ApInvDistAllEO.AWARD_ID,
    ApInvDistAllEO.MRC_ACCRUAL_POSTED_FLAG,
    ApInvDistAllEO.MRC_CASH_POSTED_FLAG,
    ApInvDistAllEO.MRC_DIST_CODE_COMBINATION_ID,
    ApInvDistAllEO.MRC_AMOUNT,
    ApInvDistAllEO.MRC_BASE_AMOUNT,
    ApInvDistAllEO.MRC_BASE_INV_PRICE_VARIANCE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE_VARIANCE,
    ApInvDistAllEO.MRC_POSTED_FLAG,
    ApInvDistAllEO.MRC_PROGRAM_APPLICATION_ID,
    ApInvDistAllEO.MRC_PROGRAM_ID,
    ApInvDistAllEO.MRC_PROGRAM_UPDATE_DATE,
    ApInvDistAllEO.MRC_RATE_VAR_CCID,
    ApInvDistAllEO.MRC_REQUEST_ID,
    ApInvDistAllEO.MRC_EXCHANGE_DATE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE_TYPE,
    ApInvDistAllEO.MRC_AMOUNT_TO_POST,
    ApInvDistAllEO.MRC_BASE_AMOUNT_TO_POST,
    ApInvDistAllEO.MRC_CASH_JE_BATCH_ID,
    ApInvDistAllEO.MRC_JE_BATCH_ID,
    ApInvDistAllEO.MRC_POSTED_AMOUNT,
    ApInvDistAllEO.MRC_POSTED_BASE_AMOUNT,
    ApInvDistAllEO.MRC_RECEIPT_CONVERSION_RATE,
    ApInvDistAllEO.CREDIT_CARD_TRX_ID,
    ApInvDistAllEO.DIST_MATCH_TYPE,
    ApInvDistAllEO.RCV_TRANSACTION_ID,
    ApInvDistAllEO.INVOICE_DISTRIBUTION_ID,
    ApInvDistAllEO.PARENT_REVERSAL_ID,
    ApInvDistAllEO.TAX_RECOVERABLE_FLAG,
    ApInvDistAllEO.PA_CC_AR_INVOICE_ID,
    ApInvDistAllEO.PA_CC_AR_INVOICE_LINE_NUM,
    ApInvDistAllEO.PA_CC_PROCESSED_CODE,
    ApInvDistAllEO.MERCHANT_DOCUMENT_NUMBER,
    ApInvDistAllEO.MERCHANT_NAME,
    ApInvDistAllEO.MERCHANT_REFERENCE,
    ApInvDistAllEO.MERCHANT_TAX_REG_NUMBER,
    ApInvDistAllEO.MERCHANT_TAXPAYER_ID,
    ApInvDistAllEO.COUNTRY_OF_SUPPLY,
    ApInvDistAllEO.MATCHED_UOM_LOOKUP_CODE,
    ApInvDistAllEO.GMS_BURDENABLE_RAW_COST,
    ApInvDistAllEO.ACCOUNTING_EVENT_ID,
    ApInvDistAllEO.PREPAY_DISTRIBUTION_ID,
    ApInvDistAllEO.UPGRADE_POSTED_AMT,
    ApInvDistAllEO.UPGRADE_BASE_POSTED_AMT,
    ApInvDistAllEO.INVENTORY_TRANSFER_STATUS,
    ApInvDistAllEO.COMPANY_PREPAID_INVOICE_ID,
    ApInvDistAllEO.CC_REVERSAL_FLAG,
    ApInvDistAllEO.AWT_WITHHELD_AMT,
    ApInvDistAllEO.INVOICE_INCLUDES_PREPAY_FLAG,
    ApInvDistAllEO.PRICE_CORRECT_INV_ID,
    ApInvDistAllEO.PRICE_CORRECT_QTY,
    ApInvDistAllEO.PA_CMT_XFACE_FLAG,
    ApInvDistAllEO.CANCELLATION_FLAG,
    ApInvDistAllEO.INVOICE_LINE_NUMBER,
    ApInvDistAllEO.CORRECTED_INVOICE_DIST_ID,
    ApInvDistAllEO.ROUNDING_AMT,
    ApInvDistAllEO.CHARGE_APPLICABLE_TO_DIST_ID,
    ApInvDistAllEO.CORRECTED_QUANTITY,
    ApInvDistAllEO.RELATED_ID,
    ApInvDistAllEO.ASSET_BOOK_TYPE_CODE,
    ApInvDistAllEO.ASSET_CATEGORY_ID,
    ApInvDistAllEO.DISTRIBUTION_CLASS,
    ApInvDistAllEO.FINAL_PAYMENT_ROUNDING,
    ApInvDistAllEO.FINAL_APPLICATION_ROUNDING,
    ApInvDistAllEO.AMOUNT_AT_PREPAY_XRATE,
    ApInvDistAllEO.CASH_BASIS_FINAL_APP_ROUNDING,
    ApInvDistAllEO.AMOUNT_AT_PREPAY_PAY_XRATE,
    ApInvDistAllEO.INTENDED_USE,
    ApInvDistAllEO.DETAIL_TAX_DIST_ID,
    ApInvDistAllEO.REC_NREC_RATE,
    ApInvDistAllEO.RECOVERY_RATE_ID,
    ApInvDistAllEO.RECOVERY_RATE_NAME,
    ApInvDistAllEO.RECOVERY_TYPE_CODE,
    ApInvDistAllEO.RECOVERY_RATE_CODE,
    ApInvDistAllEO.WITHHOLDING_TAX_CODE_ID,
    ApInvDistAllEO.TAX_ALREADY_DISTRIBUTED_FLAG,
    ApInvDistAllEO.SUMMARY_TAX_LINE_ID,
    ApInvDistAllEO.TAXABLE_AMOUNT,
    ApInvDistAllEO.TAXABLE_BASE_AMOUNT,
    ApInvDistAllEO.EXTRA_PO_ERV,
    ApInvDistAllEO.PREPAY_TAX_DIFF_AMOUNT,
    ApInvDistAllEO.TAX_CODE_ID,
    ApInvDistAllEO.VAT_CODE,
    ApInvDistAllEO.AMOUNT_INCLUDES_TAX_FLAG,
    ApInvDistAllEO.TAX_CALCULATED_FLAG,
    ApInvDistAllEO.TAX_RECOVERY_RATE,
    ApInvDistAllEO.TAX_RECOVERY_OVERRIDE_FLAG,
    ApInvDistAllEO.TAX_CODE_OVERRIDE_FLAG,
    ApInvDistAllEO.TOTAL_DIST_AMOUNT,
    ApInvDistAllEO.TOTAL_DIST_BASE_AMOUNT,
    ApInvDistAllEO.PREPAY_TAX_PARENT_ID,
    ApInvDistAllEO.CANCELLED_FLAG,
    ApInvDistAllEO.OLD_DISTRIBUTION_ID,
    ApInvDistAllEO.OLD_DIST_LINE_NUMBER,
    ApInvDistAllEO.AMOUNT_VARIANCE,
    ApInvDistAllEO.BASE_AMOUNT_VARIANCE,
    ApInvDistAllEO.HISTORICAL_FLAG,
    ApInvDistAllEO.RCV_CHARGE_ADDITION_FLAG,
    ApInvDistAllEO.AWT_RELATED_ID,
    ApInvDistAllEO.RELATED_RETAINAGE_DIST_ID,
    ApInvDistAllEO.RETAINED_AMOUNT_REMAINING,
    ApInvDistAllEO.BC_EVENT_ID,
    ApInvDistAllEO.RETAINED_INVOICE_DIST_ID,
    ApInvDistAllEO.FINAL_RELEASE_ROUNDING,
    ApInvDistAllEO.FULLY_PAID_ACCTD_FLAG,
    ApInvDistAllEO.ROOT_DISTRIBUTION_ID,
    ApInvDistAllEO.XINV_PARENT_REVERSAL_ID,
    ApInvDistAllEO.RECURRING_PAYMENT_ID,
    ApInvDistAllEO.RELEASE_INV_DIST_DERIVED_FROM,
    gl_flexfields_pkg.get_concat_description
         (f.id_flex_num,
         ApInvDistAllEO.dist_code_combination_id)          segments,
    (SELECT segment1
    FROM pa_projects_all ppa
    WHERE ppa.project_id = apinvdistalleo.project_id) project_number,
    (SELECT pt.task_number
    FROM pa_tasks pt
    WHERE pt.task_id = apinvdistalleo.task_id) task_number,
    (SELECT NAME
    FROM hr_all_organization_units hou
    WHERE hou.organization_id =
    apinvdistalleo.expenditure_organization_id)
    expd_org_name
    FROM AP_INVOICE_DISTRIBUTIONS_ALL ApInvDistAllEO,
         fnd_id_flex_structures_vl f,
         ap_invoices_all i,
         gl_sets_of_books sob
    where      ApInvDistAllEO.invoice_id = i.invoice_id
    and     sob.set_of_books_id = i.set_of_books_id
    and     f.id_flex_num = sob.chart_of_accounts_id
    and     f.id_flex_code = 'GL#'
    and     f.application_id = 101) QRSLT WHERE (:1 = INVOICE_ID) AND (:2 = INVOICE_LINE_NUMBER)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2537)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1889)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:533)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:421)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: Bind_InvoiceId
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:9566)
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3916)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13759)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:801)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4537)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:687)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2657)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2634)
         at oracle.jbo.server.ViewRowSetIteratorImpl.getRowCountInRange(ViewRowSetIteratorImpl.java:699)
         at oracle.jbo.server.ViewRowSetImpl.getRowCountInRange(ViewRowSetImpl.java:3194)
         at oracle.jbo.server.ViewObjectImpl.getRowCountInRange(ViewObjectImpl.java:6959)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.getRowCountInRange(OAViewObjectImpl.java:1958)
         at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.adjustViewRange(OAWebBeanBaseTableHelper.java:214)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.prepareNavigatorProperties(OAAdvancedTableHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequestAfterController(OAAdvancedTableHelper.java:623)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:654)
         at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(OAWebBeanTableHelper.java:2136)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequest(OAAdvancedTableHelper.java:570)
         at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processRequest(OAAdvancedTableBean.java:734)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.OAWebBeanHideShowHelper.processRequest(OAWebBeanHideShowHelper.java:104)
         at oracle.apps.fnd.framework.webui.OADefaultHideShowHelper.processRequest(OADefaultHideShowHelper.java:126)
         at oracle.apps.fnd.framework.webui.beans.layout.OADefaultHideShowBean.processRequest(OADefaultHideShowBean.java:488)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2491)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1889)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:533)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:421)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Thanks
    Praveen

  • Oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparat

    I'm trying to apply ADS (Active Data Service) into our product.
    I'm following this example. ADF BC and the Active Data Service using af:table
    I have created a testing application and it works well.
    But when I try to apply it for the final product the web page loads into the web browser.
    when I change the data in the database it throws the following error (If the app works properly it must reflect the data change in the web page).
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT
    ClientsEO.ADDED_BY,
    ClientsEO.APPROVAL_STATUS,
    ClientsEO.CHANGED_BY,
    ClientsEO.CLIENT_PREFIX,
    ClientsEO.CLIENT_SUFFIX,
    ClientsEO.CLIENT_TYPE,
    ClientsEO.COUNTRY_OF_RESIDENCE,
    ClientsEO.CUSTODIAN_NUMBERED_ACC,
    ClientsEO.DATE_ADDED,
    ClientsEO.DATE_CHANGED,
    ClientsEO.DATE_OF_INCORPORATION,
    ClientsEO.DATE_STATUS_CHANGED,
    ClientsEO.DISPOSAL_INSTRUCTIONS,
    ClientsEO.DIVIDEND_DISP_TYPE,
    ClientsEO.ENTITLEMENT_TO_UNASSIGNED,
    ClientsEO.ENTITLEMENT_UNASSIGNED,
    ClientsEO.GENDER,
    ClientsEO.INITIALS,
    ClientsEO.LOCAL_CLIENT_ID,
    ClientsEO.MEMBER_CODE,
    ClientsEO.MEMBER_TYPE,
    ClientsEO.NATIONALITY,
    ClientsEO.OTHER_NAMES,
    ClientsEO.REMARKS,
    ClientsEO.STATUS,
    ClientsEO.STATUS_CHANGE_REASON_CODE,
    ClientsEO.STATUS_CHANGED_BY,
    ClientsEO.SURNAME,
    ClientsEO.TAX_CODE_DEBT,
    ClientsEO.TAX_CODE_EQT,
    ClientsEO.TITLE,
    CS.DESCRIPTION STATUS_DESCRIPTION,
    CT.DESCRIPTION TYPES_DESCRIPTION,
    DECODE(ClientsEO.GENDER, 'M', 'MALE', 'F', 'FEMALE', 'N/A') CLIENT_GENDER,
    CASE
    WHEN CSF.COMPANY = 'Y' THEN ClientsEO.SURNAME
    ELSE ClientsEO.TITLE || ' ' || ClientsEO.OTHER_NAMES || ' ' || ClientsEO.SURNAME
    END Name,
    C.COUNTRY_NAME,
    C.NATIONALITY COUNTRY_NATIONALITY,
    CSF.DESCRIPTION SUFFIX_DESCRIPTION,
    DECODE(ClientsEO.MEMBER_TYPE,'',' ',(SELECT MT.DESCRIPTION FROM MEMBER_TYPES MT WHERE MT.MEMBER_TYPE=ClientsEO.MEMBER_TYPE )) MEM_TYPE_DESCRIPTION,
    DECODE(ClientsEO.TAX_CODE_DEBT,'',' ',(SELECT TS.TAX_DESCRIPTION FROM TAX_STATUS_CODES TS WHERE TS.TAX_CODE=ClientsEO.TAX_CODE_DEBT )) TAX_DEBT_DESCRIPTION,
    DECODE(ClientsEO.TAX_CODE_DEBT,'',' ',(SELECT TS.TAX_RATE FROM TAX_STATUS_CODES TS WHERE TS.TAX_CODE=ClientsEO.TAX_CODE_DEBT )) TAX_DEBT_RATE,
    DECODE(ClientsEO.TAX_CODE_EQT,'',' ',(SELECT TS.TAX_DESCRIPTION FROM TAX_STATUS_CODES TS WHERE TS.TAX_CODE=ClientsEO.TAX_CODE_EQT )) TAX_EQT_DESCRIPTION,
    DECODE(ClientsEO.TAX_CODE_EQT,'',' ',(SELECT TS.TAX_RATE FROM TAX_STATUS_CODES TS WHERE TS.TAX_CODE=ClientsEO.TAX_CODE_EQT )) TAX_EQT_RATE,
    DECODE(ClientsEO.DIVIDEND_DISP_TYPE, 'C', 'CASH','B' , 'BANK','') DIVIDEND_DISP_DESCRIPTION ,
    DECODE(ClientsEO.STATUS_CHANGE_REASON_CODE,'','',(SELECT SR.REASON FROM SUSPENDING_REASONS SR WHERE SR.REASON_CODE=ClientsEO.STATUS_CHANGE_REASON_CODE )) STATUS_CHANGE_REASON
    FROM
    CLIENTS ClientsEO,
    CLIENT_STATUS CS,
    CLIENT_TYPES CT,
    COUNTRIES C,
    CLIENT_SUFFIXES CSF
    WHERE
    ClientsEO.CLIENT_TYPE = CT.CLIENT_TYPE AND ClientsEO.STATUS = CS.STATUS AND ClientsEO.COUNTRY_OF_RESIDENCE = C.COUNTRY_CODE AND ClientsEO.CLIENT_SUFFIX = CSF.CLIENT_SUFFIX) QRSLT WHERE (CLIENT_PREFIX = :fbkKy__0 AND CLIENT_SUFFIX = :fbkKy__1)
         at oracle.jbo.server.BaseSQLBuilderImpl.processException(BaseSQLBuilderImpl.java:3693)
         at oracle.jbo.server.OracleSQLBuilderImpl.processException(OracleSQLBuilderImpl.java:4711)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1274)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:859)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:6314)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1169)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1338)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1256)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1250)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15641)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15369)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15363)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5238)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5024)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5018)
         at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:10347)
         at ########.client.views.ClientsVOImpl.createRowUpdateInfo(ClientsVOImpl.java:155)
         at ########.client.views.ClientsVOImpl.onDatabaseChangeNotification(ClientsVOImpl.java:73)
         at oracle.jbo.server.OracleDatabaseChangeListenerWrapper.notify(OracleDatabaseChangeListenerWrapper.java:117)
         at oracle.jbo.server.OracleDatabaseChangeListenerWrapper.onDatabaseChangeNotification(OracleDatabaseChangeListenerWrapper.java:99)
         at oracle.jdbc.driver.NTFRegistration.notify(NTFRegistration.java:191)
         at oracle.jdbc.driver.NTFConnection.unmarshalNSDataPacket(NTFConnection.java:583)
         at oracle.jdbc.driver.NTFConnection.unmarshalOneNSPacket(NTFConnection.java:409)
         at oracle.jdbc.driver.NTFConnection.run(NTFConnection.java:183)
    Caused by: java.sql.SQLException: ORA-29983: Unsupported query for Continuous Query Notification
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1188)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3430)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1155)
         ... 21 more
    ## Detail 0 ##
    java.sql.SQLException: ORA-29983: Unsupported query for Continuous Query Notification
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1188)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3430)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1155)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:859)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:6314)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1169)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1338)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1256)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1250)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15641)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15369)
         at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:15363)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5238)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5024)
         at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:5018)
         at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:10347)
         at ########.client.views.ClientsVOImpl.createRowUpdateInfo(ClientsVOImpl.java:155)
         at ########.client.views.ClientsVOImpl.onDatabaseChangeNotification(ClientsVOImpl.java:73)
         at oracle.jbo.server.OracleDatabaseChangeListenerWrapper.notify(OracleDatabaseChangeListenerWrapper.java:117)
         at oracle.jbo.server.OracleDatabaseChangeListenerWrapper.onDatabaseChangeNotification(OracleDatabaseChangeListenerWrapper.java:99)
         at oracle.jdbc.driver.NTFRegistration.notify(NTFRegistration.java:191)
         at oracle.jdbc.driver.NTFConnection.unmarshalNSDataPacket(NTFConnection.java:583)
         at oracle.jdbc.driver.NTFConnection.unmarshalOneNSPacket(NTFConnection.java:409)
         at oracle.jdbc.driver.NTFConnection.run(NTFConnection.java:183)Please help me to overcome this issue.
    Thanks,
    Dinuka.
    Edited by: dinuka on Jul 25, 2011 12:23 PM
    some package names removed due to company rules and regulations.

    Hi Mr. John,
    I read the documentation.
    Then I checked the query of my VO.
    I can clearly understand that my query does not belongs to the type Guaranteed Mode.
    Can you please tell me whether that belongs to the Best-Effort Mode or not belongs to both modes.
    Here is my query...
    SELECT * FROM (SELECT
    ClientsEO.ADDED_BY,
    ClientsEO.APPROVAL_STATUS,
    ClientsEO.CHANGED_BY,
    ClientsEO.CLIENT_PREFIX,
    ClientsEO.CLIENT_SUFFIX,
    ClientsEO.CLIENT_TYPE,
    ClientsEO.COUNTRY_OF_RESIDENCE,
    ClientsEO.CUSTODIAN_NUMBERED_ACC,
    ClientsEO.DATE_ADDED,
    ClientsEO.DATE_CHANGED,
    ClientsEO.DATE_OF_INCORPORATION,
    ClientsEO.DATE_STATUS_CHANGED,
    ClientsEO.DISPOSAL_INSTRUCTIONS,
    ClientsEO.DIVIDEND_DISP_TYPE,
    ClientsEO.ENTITLEMENT_TO_UNASSIGNED,
    ClientsEO.ENTITLEMENT_UNASSIGNED,
    ClientsEO.GENDER,
    ClientsEO.INITIALS,
    ClientsEO.LOCAL_CLIENT_ID,
    ClientsEO.MEMBER_CODE,
    ClientsEO.MEMBER_TYPE,
    ClientsEO.NATIONALITY,
    ClientsEO.OTHER_NAMES,
    ClientsEO.REMARKS,
    ClientsEO.STATUS,
    ClientsEO.STATUS_CHANGE_REASON_CODE,
    ClientsEO.STATUS_CHANGED_BY,
    ClientsEO.SURNAME,
    ClientsEO.TAX_CODE_DEBT,
    ClientsEO.TAX_CODE_EQT,
    ClientsEO.TITLE,
    CS.DESCRIPTION STATUS_DESCRIPTION,
    CT.DESCRIPTION TYPES_DESCRIPTION,
    DECODE(ClientsEO.GENDER, 'M', 'MALE', 'F', 'FEMALE', 'N/A') CLIENT_GENDER,
    CASE
    WHEN CSF.COMPANY = 'Y' THEN ClientsEO.SURNAME
    ELSE ClientsEO.TITLE || ' ' || ClientsEO.OTHER_NAMES || ' ' || ClientsEO.SURNAME
    END Name,
    C.COUNTRY_NAME,
    C.NATIONALITY COUNTRY_NATIONALITY,
    CSF.DESCRIPTION SUFFIX_DESCRIPTION,
    DECODE(ClientsEO.MEMBER_TYPE,'',' ',(SELECT MT.DESCRIPTION FROM MEMBER_TYPES MT WHERE MT.MEMBER_TYPE=ClientsEO.MEMBER_TYPE )) MEM_TYPE_DESCRIPTION,
    DECODE(ClientsEO.TAX_CODE_DEBT,'',' ',(SELECT TS.TAX_DESCRIPTION FROM TAX_STATUS_CODES TS WHERE TS.TAX_CODE=ClientsEO.TAX_CODE_DEBT )) TAX_DEBT_DESCRIPTION,
    DECODE(ClientsEO.TAX_CODE_DEBT,'',' ',(SELECT TS.TAX_RATE FROM TAX_STATUS_CODES TS WHERE TS.TAX_CODE=ClientsEO.TAX_CODE_DEBT )) TAX_DEBT_RATE,
    DECODE(ClientsEO.TAX_CODE_EQT,'',' ',(SELECT TS.TAX_DESCRIPTION FROM TAX_STATUS_CODES TS WHERE TS.TAX_CODE=ClientsEO.TAX_CODE_EQT )) TAX_EQT_DESCRIPTION,
    DECODE(ClientsEO.TAX_CODE_EQT,'',' ',(SELECT TS.TAX_RATE FROM TAX_STATUS_CODES TS WHERE TS.TAX_CODE=ClientsEO.TAX_CODE_EQT )) TAX_EQT_RATE,
    DECODE(ClientsEO.DIVIDEND_DISP_TYPE, 'C', 'CASH','B' , 'BANK','') DIVIDEND_DISP_DESCRIPTION ,
    DECODE(ClientsEO.STATUS_CHANGE_REASON_CODE,'','',(SELECT SR.REASON FROM SUSPENDING_REASONS SR WHERE SR.REASON_CODE=ClientsEO.STATUS_CHANGE_REASON_CODE )) STATUS_CHANGE_REASON
    FROM
    CLIENTS ClientsEO,
    CLIENT_STATUS CS,
    CLIENT_TYPES CT,
    COUNTRIES C,
    CLIENT_SUFFIXES CSF
    WHERE
    ClientsEO.CLIENT_TYPE = CT.CLIENT_TYPE AND ClientsEO.STATUS = CS.STATUS AND ClientsEO.COUNTRY_OF_RESIDENCE = C.COUNTRY_CODE AND ClientsEO.CLIENT_SUFFIX = CSF.CLIENT_SUFFIX) QRSLT WHERE (CLIENT_PREFIX = :fbkKy__0 AND CLIENT_SUFFIX = :fbkKy__1)Please help me to overcome this issue..
    Thanks for paying attention for my problem.
    Dinuka.

  • Passing pl/sql array to function

    Hi,
    I have a function which takes an array:
    create or replace
    FUNCTION execute_tests(
    leg_keys IN type_leg_key_array)
    RETURN BOOLEAN
    IS
    BEGIN
    leg_key_array is this:
    create or replace
    TYPE type_leg_key_array AS TABLE OF NUMBER(6, 3);
    I would like to test this funtion by passing it some array:
    DECLARE
    LEG_KEYS DEV_SWA30PRE.TYPE_LEG_KEY_ARRAY;
    V_RETURN BOOLEAN;
    BEGIN
    -- LEG_KEYS := NULL;
    v_Return := EXECUTE_TESTS(LEG_KEYS);
    END;
    What is wrong with the snippet above?
    Thanks

    Hi,
    user610868 wrote:
    Hi,
    I have a function which takes an array:
    create or replace
    FUNCTION execute_tests(
    leg_keys IN type_leg_key_array)
    RETURN BOOLEAN
    IS
    BEGIN
    leg_key_array is this:
    create or replace
    TYPE type_leg_key_array AS TABLE OF NUMBER(6, 3);
    I would like to test this funtion by passing it some array:
    DECLARE
    LEG_KEYS DEV_SWA30PRE.TYPE_LEG_KEY_ARRAY;
    V_RETURN BOOLEAN;
    BEGIN
    -- LEG_KEYS := NULL;
    v_Return := EXECUTE_TESTS(LEG_KEYS);
    END;
    What is wrong with the snippet above?Why do you think anything is wrong? Are you getting an error message? Post the complete error message, including line numbers. Does the error occur when you create the type, when you create the function, when you call the function, or someplace else?
    The only errors I see are probably due to how you chose to post it. For example, there is no RETURN or END statement in execute_tests.
    Did you create the type before trying to use it in the function?
    What is DEV_SWA30PRE? Is that a schema? Does that schema also contain the fucntion? Is that who is running the anonymous block? If there are other schemas involved, what are they? What are they doing? What privileges do they have on the type or the function?
    Post a complete test script that people can run to re-create the problem and test their ideas.

  • Problem Encountering in oracle.sql.ARRAY type

    Hi,
    i am using one stored procedure to get a set of records.
    i am getting it by mapping those things with java.sql.Array. And after that i am getting the values as ResultSet from that Array. The same thing is working fine in Windows platform. If i posted those thing into Unix - AIX, i am facing an ArrayIndexOutofBoundsException while getting ResultSet from oracle.sql.ARRAY class. I checked out ARRAY instance.it is not null. Both Application and Database are same except O.S.
    Can Anybody help me. I need it imm.
    Thanks in Advance
    Regards
    Eswaramoorthy.G

    Hi
    Did you ever figure out what the problem was with this? We have a client that is experiencing the same problem on AIX but we cannot reproduce using their database running under NT nor Sun. Any information would be appreciated. You can respond directly to [email protected]
    Thanks in adavance
    Rick DeMilia
    Sungard DataSystems

Maybe you are looking for