Statement,Prepared Statement and callable statement

Hi,
Please let me know in which scenario we are using Statement,Prepared Statement and callable statement.
and which is efficient one among the above.
Thanks in advance

Welcome to the forum!
>
Please let me know in which scenario we are using Statement,Prepared Statement and callable statement.
>
We don't know what scenario you are using those in or if you are using them at all. Are you asking what they are?
For document related questions you should consult the documentation or use your favorite search engine to get information.
See the Java Tutorial
http://docs.oracle.com/javase/tutorial/jdbc/basics/prepared.html
>
The main feature of a PreparedStatement object is that, unlike a Statement object, it is given a SQL statement when it is created. The advantage to this is that in most cases, this SQL statement is sent to the DBMS right away, where it is compiled. As a result, the PreparedStatement object contains not just a SQL statement, but a SQL statement that has been precompiled. This means that when the PreparedStatement is executed, the DBMS can just run the PreparedStatement SQL statement without having to compile it first.
>
The Javadocs for your Java SDK have the API for each of those classes and a description of what they are. And the Oracle JDBC Developer Guide has extensive information on how to use them.
http://docs.oracle.com/cd/B28359_01/java.111/b31224/toc.htm

Similar Messages

  • Statement closed when using callable statements with oracle xe

    hi all, i've got this problem with oracle express edition 10g. I am using also oc4j v10.1.2.0.2. When working with a normal oracle database it was working fine (i think the code was the same, it's some time since i last tried, but you can see the code is very simple).
    So i just create a callable statement like this:
    CallableStatement cs = con.prepareCall(sentencia.toString(), ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE, ResultSet.HOLD_CURSORS_OVER_COMMIT);
    and then when trying to access the statement to register an out parameter like this
    cs.registerOutParameter(1, parámetros[0].getTipo());
    it gives this error:
    java.sql.SQLException: Statement was closed
    It's puzzling me because, as i said before, i think the same code was working ok with a normal oracle database.
    Any idea what can it be?
    cheers

    Ah okay, sorry I've re-read your post.
    I believe you need to create a clob object that encapsulates your xml file.
    I've never done this but I would image it involves creating a class that implements the clob interface and passing an instantiation of this class to the callablestatement.
    Let me know how you get on.

  • 4 State Buttons - Disabled and Visited State

    Hi everyone,
    Does anyone know if CP will be offering 4 state buttons as an option in the future. Essentially adding a _disabled or _visited (both would be great) option to image buttons. 3 state buttons are great, but im finding more and more clients asking for 'greyed out' buttons when clicked. Some want disabled and others visited (so they can re-access the button).
    I know Storyline has the feature to add a disabled and visited states. And I heard Lectora is adding this feature.
    Basically The way I see it is that i can choose an image button and you get an option to select a disabled or visited button (or neither if you want 3 state). Then CP automatically pulls in the _up, _over, _down & _disabled or _visited images.
    So back to my question, is this on the horizon?
    Or if anyone has a better idea then i suggested, then i would be interested in knowing.
    *I am aware you can do this with Advanced actions, but this way would be automated. (less work)

    Yes wearable technology is wonderful.  The best enhancement I've heard about in that area (for e-learning) is the 'wearable LMS'.  It's a Wi-Fi enabled device that can detect and capture output from a Captivate module (as long as it's within range of a 802.11ac wi-fi transmitter/receiver).
    I'll probably get into trouble for leaking this information but...also on the LMS front, Adobe has finally decided to take on the LMS vendors and introduce an incredible enhancement that looks like making any conventional LMS totally redundant. 
    If you've been wondering why Captivate 8 removed so many output options, it's actually been done to make room for the new Standalone LMS enhancement due out for Captivate 9's release next year (possibly Cp 9.5 if the development encounters issues with the implementation).  Once that incredible breakthrough arrives you won't need to worry about SCORM, TinCan, Acrobat.com or any other reporting format.  The Captivate output module ITSELF becomes the LMS. 
    It's all achieved with the new Cloud-based synchronization technology that Adobe has been keeping under wraps. Not only will the new Standalone LMS output capture all of the user interactions for your course. it will also aggregate them from other users around the world (as long as the user is online) and spit out nicely formatted reports to your nearest printer.  The formatting is still a bit rough at the moment, and you do need really good bandwidth to pull it off, but the barriers to entry are coming down all the time.
    It's certainly an exciting time to be an e-learning developer!

  • Caching of Prepared and Callable Statements

    A Prepared Statement object represents a precompiled SQL statement.
    Where is this precompiled SQL statement stored, in the database?
    What happens when this object goes out of scope / garabage collected?
    Using the WebLogic App. Server's console, we can set the size and type of the Statement Cache. So does that mean even after the Prepared Statement object going out of scope, the precompiled SQL it had represented is still available in the database ?

    Read this thread
    http://forum.java.sun.com/thread.jspa?threadID=692297
    It will answer your queries and much more too. :)

  • Weblogic7.0 with MS SQL Server 2000 and Callable Statement

    Hello,
    we have a little problem with our weblogic application.
    In the SQL Server we have written a simple stored procedure
    CREATE PROCEDURE nextval
    @sequence_id INT OUT
    AS
    -- return an error if sequence does not exist
    -- so we will know if someone truncates the table
    set @sequence_id = -1
    UPDATE sequences
    SET @sequence_id = sequence_id = sequence_id + 1
    RETURN @sequence_id
    GO
    It's a simple pk generator.
    Also we have written a simple java application to test this procedure (getting
    the connection over the weblogic datasource) and everything works fine.
    But in the application running on weblogic we have problems with the second call.
    Here the exceptions:
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal conn vor = null
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal conn nach = weblogic.jdbc.rmi.SerialConnection@397317
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal prepareCall
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal set gina
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal registeredOUtparameter
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal execute = false
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal nextVal = 30037
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal conn vor = null
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal conn nach = weblogic.jdbc.rmi.SerialConnection@4377a3
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal prepareCall
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal set gina
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal registeredOUtparameter
    03.09.2002 / 14:33:24: [LOGLEVEL: 0] PKGenerator.nextVal execute = false
    03.09.2002 / 14:33:24: [LOGLEVEL: 0] ****** PKGenerator.nextVal SQLException =
    java.sql.SQLException: The transaction is no longer active (status = Rolling Back.
    [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out
    after 29 seconds
    Name=[EJB de.fiatbank.vehicle.template.beans.TemplateDetailEJB.create(java.util.ArrayList,java.util.ArrayList,java.util.ArrayList,java.lang.String)],Xid=220:408eb51e3b228e43(691834),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
    since begin=29,seconds left=30,activeThread=Thread[ExecuteThread: '14' for queue:
    'default',5,Thread Group for Queue: 'default'],ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=started,assigned=none,xar=weblogic.jdbc.jts.Connection@ffb40),SCInfo[fiatbank+gina]=(state=active),properties=({weblogic.transaction.name=[EJB
    de.fiatbank.vehicle.template.beans.TemplateDetailEJB.create(java.util.ArrayList,java.util.ArrayList,java.util.ArrayList,java.lang.String)],
    weblogic.jdbc=t3://192.168.0.27:7001, LOCAL_ENTITY_TX=true}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=gina+192.168.0.27:7001+fiatbank+t3+,
    Resources={})],CoordinatorURL=gina+192.168.0.27:7001+fiatbank+t3+)]). No further
    JDBC access is allowed within this transaction.
    the two files are:
    PKGenerator.java (Weblogic application)
    CallableSamples1.java (TestApplication)
    Has anyone an idea, if weblogic has a problem or we have made a mistake?
    Bye
    Steffen
    [files.zip]

    Steffen Schenk wrote:
    Hello,
    we have a little problem with our weblogic application.Hi. It's not a JDBC issue, it's an EJB/transaction coordinator issue.
    Any transactional EJB JDBC is done under the (usually silent) control of the
    transaction coordinator. For instance, if your code calls Connection.commit()
    in a transactional EJB, it will cheerfully be ignored, because only the transaction
    coordinator knows when and whether to commit the whole transaction, not the
    individual EJB, which may have been called as part of a larger transaction. Another
    aspect of the coordinator's overseeing of the transaction is that once the transaction
    is over, which may be right in the middle of an EJB's running if the transaction
    timeout limit has been reached, then the coordinator will roll back or commit the
    transaction as appropriate and take control of the JDBC objects. Any further attempt
    by the EJB to do any JDBC will result in an exception.
    >
    In the SQL Server we have written a simple stored procedure
    CREATE PROCEDURE nextval
    @sequence_id INT OUT
    AS
    -- return an error if sequence does not exist
    -- so we will know if someone truncates the table
    set @sequence_id = -1
    UPDATE sequences
    SET @sequence_id = sequence_id = sequence_id + 1
    RETURN @sequence_id
    GO
    It's a simple pk generator.
    Also we have written a simple java application to test this procedure (getting
    the connection over the weblogic datasource) and everything works fine.
    But in the application running on weblogic we have problems with the second call.
    Here the exceptions:
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal conn vor = null
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal conn nach = weblogic.jdbc.rmi.SerialConnection@397317
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal prepareCall
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal set gina
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal registeredOUtparameter
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal execute = false
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal nextVal = 30037
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal conn vor = null
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal conn nach = weblogic.jdbc.rmi.SerialConnection@4377a3
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal prepareCall
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal set gina
    03.09.2002 / 14:32:45: [LOGLEVEL: 0] PKGenerator.nextVal registeredOUtparameter
    03.09.2002 / 14:33:24: [LOGLEVEL: 0] PKGenerator.nextVal execute = false
    03.09.2002 / 14:33:24: [LOGLEVEL: 0] ****** PKGenerator.nextVal SQLException =
    java.sql.SQLException: The transaction is no longer active (status = Rolling Back.
    [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out
    after 29 seconds
    Name=[EJB de.fiatbank.vehicle.template.beans.TemplateDetailEJB.create(java.util.ArrayList,java.util.ArrayList,java.util.ArrayList,java.lang.String)],Xid=220:408eb51e3b228e43(691834),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
    since begin=29,seconds left=30,activeThread=Thread[ExecuteThread: '14' for queue:
    'default',5,Thread Group for Queue: 'default'],ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=started,assigned=none,xar=weblogic.jdbc.jts.Connection@ffb40),SCInfo[fiatbank+gina]=(state=active),properties=({weblogic.transaction.name=[EJB
    de.fiatbank.vehicle.template.beans.TemplateDetailEJB.create(java.util.ArrayList,java.util.ArrayList,java.util.ArrayList,java.lang.String)],
    weblogic.jdbc=t3://192.168.0.27:7001, LOCAL_ENTITY_TX=true}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=gina+192.168.0.27:7001+fiatbank+t3+,
    Resources={})],CoordinatorURL=gina+192.168.0.27:7001+fiatbank+t3+)]). No further
    JDBC access is allowed within this transaction.
    the two files are:
    PKGenerator.java (Weblogic application)
    CallableSamples1.java (TestApplication)
    Has anyone an idea, if weblogic has a problem or we have made a mistake?
    Bye
    Steffen
    Name: files.zip
    files.zip Type: Zip Compressed Data (application/x-zip-compressed)
    Encoding: base64

  • Naming the parameters of a callable statement

    Hi!
    I am having some kind of a problem here. I am currently working on a software with a database.OK, simple.
    The problem is that we have different kind of databases (oracle, Sybase, DB2) AND different schema!
    We are obviously trying to keep the persistence layer as cut from the rest as possible.
    The problem is that in some cases, we may call a callable statement but the actual callable statement in the database is not the same as the one that would be called in a similar case with another schema.
    Therefore, we are looking for a way to set the parameters of a callable statement by a name, not an index.
    Instead of
    setString(1,"aValue");
    some
    setString("FirstParameter", "aValue");
    PLease help!
    Cheers!
    Chris

    I think there is a driver that does that.Thanks for replying so quickly, could you tell me what
    that driver would be ?Like I said I don't think it is going to help because it is for a specific data base. I you need to support more than one.
    I think it is either Oracle (if you use the Oracle specific JDBC classes - cast to them) or one of the third party drivers.
    >
    I was thinking of the wrapper too but I, as the
    (different)schemas are still changing and the callable
    statement too, I think it will be very error prone
    during the developpement cycle.
    So I'd like to avoid to have to maintain a
    "correspondance table" between each callable statement
    and it's parameters...
    And that is my idea. Developement cycles are always error prone so I am not sure that it matters.

  • Callable statements and cursors in database

    Hi,
    I am using a callable statement (from a JSP) that calls a big stored oracle procedue. The stored procedure inserts/deletes/updates many tables.
    But once i close the statement(I am sure i closed it in finally block), when i monitor the database, there are a lot of cursors open,one cursor for every insert/update/select statement in the procedure.
    But when i hit the same JSP again, it is not opening more cursors, but reusing them. But when multiple users hit the page simultaneously, it is opening more cursors and we could find that it is a multiple of number of active connections.
    Is this a feature (statement cachin??). we can understand if it opens one cursor per procedure. But if we have tens of selects/updates in a procedure, why should it open that many number of cursors?
    I need to set the number of open cursors in oracle to a big number for this. Will it eat up my resources?
    software
    9ias containers 9.0.3
    oracle 9i database
    Thanks
    Srinath

    ...callable statement to pass ...Are you perhaps explicitly writing code to replace a single tick with two single ticks. And also using the setString() method? If so each single tick would then become four ticks in the insert, which would be stored as two ticks. And then when you query it out you would have two ticks.

  • Using A callable statement in java

    Hi all im trying to get results back from the database using a callable statement the problem is that it is placing / infront of single quotes.I need to get rid of this because it's not returning anything
    here is my code
    CallableStatement statementOne;
    statementOne = ComparitiveAnalysisGUI.conn.prepareCall("{call graphProc(?,?,?,?,?,?,?)}");
    statementOne.setString(1,"\"date_format(calldate, '%Y-%m-%d H:59:59'),avg(billsec)\"");
    statementOne.setString(2,"Clovercdr");
    statementOne.setString(3,start);
    statementOne.setString(4,end);
    statementOne.setString(5,"Boksburg");
    statementOne.setString(6,"\"billsec > 0 and Network = " + network + "\"");
    statementOne.setString(7,"\"date_format(calldate, '%Y-%m-%d %H:M:S')\"");
    System.out.println(statementOne.toString());
    rs = statementOne.executeQuery();
    the result of the println is
    com.mysql.jdbc.CallableStatement@ec4a87: CALL graphProc('"date_format(calldate, \'%Y-%m-%d %H:59:59\'),avg(billsec)"','Clovercdr','\'2006-03-14 00:00:01\'','\'2006-03-14 23:59:59\'','Boksburg','"billsec > 0 and Network = \'SAMobile\'"','"date_format(calldate, \'%Y-%m-%d %H:M:S\')"')
    as you can see quite a mess please help if you can get the statement to look as follows
    CALL graphProc("date_format(calldate, '%Y-%m-%d %H:59:59'),avg(billsec)",'Clovercdr','2006-03-14 00:00:01','2006-03-14 23:59:59','Boksburg',"billsec > 0 and Network = 'SAMobile'","date_format(calldate, '%Y-%m-%d %H:M:S')")
    thanks Brian

    Ok in order to understand why I did what I did parhaps it would be best if you saw my Stored procedure
    create procedure graphProc(col varchar(100),company varchar(20),startTime datetime,endTime datetime,branchName varchar(20),andSection varchar(200),groupSec varchar(100))
    BEGIN
    SET @stmt := CONCAT("SELECT ",col," from ",company," where calldate between '",startTime,"' and '",endTime,"' and branchName = '",branchName,"' and ",andSection," Group by ",groupSec);
    PREPARE stmt1 from @stmt;
    EXECUTE stmt1;
    the call is for example
    call graphProc("date_format(calldate, '%Y-%m-%d %H:59:59'),avg(billsec)",'Clovercdr','2006-03-01 00:00:01','2006-03-14 23:59:59','Boksburg',"billsec > 0 and date_format(calldate, '%k') BETWEEN 7 AND 19 and Network = 'SAMobile'","date_format(calldate, '%Y-%m-%d %H:M:S')")//
    as you can see In MySQL the "date_format(calldate, '%Y-%m-%d %H:59:59'),avg(billsec)" has to be quoted like this, so it can recognise it as a single parameter, since , '%Y-%m-%d %H:59:59' is viewed as another parameter
    thaks for your reply
    Brian

  • How to return Multiple ResultSets Using Callable Statement

    hi everybody,
    while i was working with callable statements i came across a problem of how to fetch Multiple Resultsets by means of Stored Procedures written for tables in Oracle.
    If any one can help me, pls do help me with a detailed explanation, and if possible do get me a example source code too.
    khumaar

    I have a similar problem with oracle and jdbc:
    I want to send a sql query like:
    sqlQuery = "select n1, n2 from table1; select n1, n2
    from table2"
    I used a prepared statement, but when I call
    .execute(sqlQuery)
    oracle doesn't like this,
    can someone help on this?Try putting a begin/end around it. Play with the syntax first in sqlplus.
    You do realize that you MUST extract using the syntax for extracting multiple result sets correct? It will NOT work as one result set.

  • Return records from Stored Procedure to Callable Statement

    Hi All,
    I am createing a web application to display a students score card.
    I have written a stored procedure in oracle that accepts the student roll number as input and returns a set of records as output containing the students scoring back to the JSP page where it has to be put into a table format.
    how do i register the output type of "records" from the stored function in oracle in the "registerOutParameter" method of the "callable" statement in the JSP page.
    if not by this way is there any method using which a "stored function/procedure" returning "record(s)" to the jsp page called using "callable" statement be retrieved to be used in the page. let me know any method other that writing a query for the database in the JSP page itself.

    I have a question for you:
    If the stored procedure is doing nothing more than generating a set of results why are you even using one?
    You could create a view or write a simple query like you mentioned.
    If you're intent on going the stored procedure route, then I have a suggestion. Part of the JDBC 2.0 spec allows you to basically return an object from a CallableStatement. Its a little involved but can be done. An article that I ran across a while back really helped me to figure out how to do this. There URL to it is as follows:
    http://www.fawcette.com/archives/premier/mgznarch/javapro/2000/03mar00/bs0003/bs0003.asp
    Pay close attention to the last section of the article: Persistence of Structured Types.
    Here's some important snippets of code:
    String UDT_NAME = "SCHEMA_NAME.PRODUCT_TYPE_OBJ";
    cstmt.setLong(1, value1);
    cstmt.setLong(2, value2);
    cstmt.setLong(3, value3);
    // By updating the type map in the connection object
    // the Driver will be able to convert the array being returned
    // into an array of LikeProductsInfo[] objects.
    java.util.Map map = cstmt.getConnection().getTypeMap();
    map.put(UDT_NAME, ProductTypeObject.class);
    super.cstmt.registerOutParameter(4, java.sql.Types.STRUCT, UDT_NAME);
    * This is the class that is being mapped to the oracle object. 
    * There are two methods in the SQLData interface.
    public class ProductTypeObject implements java.sql.SQLData, java.io.Serializable
        * Implementation of method declared in the SQLData interface.  This method
        * is called by the JDBC driver when mapping the UDT, SCHEMA_NAME.Product_Type_Obj,
        * to this class.
        * The object being returned contains a slew of objects defined as tables,
        * these are retrieved as java.sql.Array objects.
         public void readSQL(SQLInput stream, String typeName) throws SQLException
            String[] value1 = (String[])stream.readArray().getArray();
            String[] value2 = (String[])stream.readArray().getArray();
         public void writeSQL(SQLOutput stream) throws SQLException
    }You'll also need to create Oracles Object. The specification for mine follows:
    TYPE Detail_Type IS TABLE OF VARCHAR2(1024);
    TYPE Product_Type_Obj AS OBJECT (
      value1  Detail_Type,
      value2 Detail_Type,
      value3 Detail_Type,
      value4 Detail_Type,
      value5 Detail_Type,
      value6 Detail_Type,
      value7 Detail_Type,
      value8 Detail_Type);Hope this helps,
    Zac

  • How to get the returned value from Functions with Callable statement?

    I was glad to find that stored procedures can be invoke with Java class code by the object of Callable statement like :
    String stmt = "BEGIN departments_pkg.do_select(?,?,?); END;";
    and getting the output variables by
    populateAttribute(DEPARTMENTNAME,st.getString(2),true,false);
    But i would like to get values returned from FUNCTION other than stored procedure, how can i achieve it? Thanks a lot!

    Here is  my code
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1202.
      MODULE subscreen_find.
      CALL SUBSCREEN SUBSEARCH INCLUDING sy-cprog dynnr.
    PROCESS AFTER INPUT.
      MODULE USER_COMMAND_1202.
      CALL SUBSCREEN SUBSEARCH.
    MODULE subscreen_find.
      case sy-ucomm.
        when 'SELECTED'.             "fcode
          case 'ZSKILL_SEARCH'.     "data element
            when '01'.                       " value range
              dynnr = 0110.
            when '02'.
              dynnr = 0111.
          endcase.
      endcase.
    ENDMODULE.
    kindly tell me what is wrong
    Edited by: Raji Thomas on Feb 8, 2010 10:20 AM

  • JBO-27122: SQL error during statement preparation IN OAF(java.sql.SQLException: ORA-01008: not all variables bound)

    Hi Friends,
    I have have extended CO where i have added dynamic where condition to VO,it's throwing error.
    Code added in controller :
    public class Custom_HomePageCO extends HomePageCO
      public Custom_HomePageCO()
    public void processRequest(OAPageContext pageContext,OAWebBean webBean)
      super.processRequest(pageContext,webBean);
      System.out.println("NewClase");
      OAApplicationModule am=pageContext.getApplicationModule(webBean);
      System.out.println(am);
      OAApplicationModule am1=(OAApplicationModule)am.findApplicationModule("TrackExpenseReportsAM");
    System.out.println(am1);
      OAViewObject vo=(OAViewObject)am1.findViewObject("TrackExpenseReportsVO");
      System.out.println(vo);
      vo.setWhereClause("REPORT_SUBMITTED_DATE is not null");
        vo.executeQuery();
    public void processFormRequest(OAPageContext pageContext,OAWebBean webBean)
      super.processFormRequest(pageContext,webBean);
    Error message:
    Exception Details.
    Error Details
           Logout
          Error Page
          Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.  Statement: SELECT * FROM (SELECT
    AI.DESCRIPTION PURPOSE,
    AI.INVOICE_CURRENCY_CODE CURRENCY_CODE,
    AI.INVOICE_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AI.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME ,
    DECODE(AI.CANCELLED_DATE,null,
                              nvl(aerh.expense_status_code, DECODE(APS.GROSS_AMOUNT ,0,'PAID',
                                    decode(AI.Payment_status_flag,'Y','PAID',
                                                            'N','INVOICED',
                                                            'P','PARPAID',NULL))),
                                            'CANCELLED') STATUS_CODE,
    AERH.source SOURCE,
    NULL CURRENT_APPROVER,
    ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    AI.VENDOR_ID VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,         
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    AI.INVOICE_ID INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           PO_VENDORS PV,
           AP_INVOICES AI,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X P,
           AP_PAYMENT_SCHEDULES APS
    WHERE  AI.INVOICE_ID= APS.INVOICE_ID
    AND    AI.INVOICE_ID = AERH.VOUCHNO(+)
    AND AI.INVOICE_TYPE_LOOKUP_CODE||'' = 'EXPENSE REPORT'
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND PV.EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :1
    AND P.PERSON_ID = PV.EMPLOYEE_ID
    AND PV.VENDOR_ID = AI.VENDOR_ID
    AND DECODE (AI.PAYMENT_STATUS_FLAG,
             'Y', sysdate - AI.LAST_UPDATE_DATE,
            decode(APS.GROSS_AMOUNT , 0 ,sysdate - AI.LAST_UPDATE_DATE,0)
              )  <= 30
    AND (AERH.SOURCE <> 'Both Pay' OR AERH.REPORT_HEADER_ID IS NULL)       
    UNION
    SELECT
    AI.DESCRIPTION PURPOSE,
    AI.INVOICE_CURRENCY_CODE CURRENCY_CODE,
    AI.INVOICE_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AI.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)),  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME ,
    DECODE(AI.CANCELLED_DATE,null,
                              nvl(aerh.expense_status_code, DECODE(APS.GROSS_AMOUNT ,0,'PAID',
                                    decode(AI.Payment_status_flag,'Y','PAID',
                                                            'N','INVOICED',
                                                            'P','PARPAID',NULL))),
                                            'CANCELLED') STATUS_CODE,
    AERH.source SOURCE,
    NULL CURRENT_APPROVER,
    ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    AI.VENDOR_ID VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,         
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    AI.INVOICE_ID INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           PO_VENDORS PV,
           AP_INVOICES AI,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X P,
           AP_PAYMENT_SCHEDULES APS
    WHERE  AI.INVOICE_ID= APS.INVOICE_ID
    AND    AI.INVOICE_ID = AERH.VOUCHNO(+)
    AND AI.INVOICE_TYPE_LOOKUP_CODE||'' in ('STANDARD','MIXED')
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AI.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :2
    AND P.PERSON_ID = AI.PAID_ON_BEHALF_EMPLOYEE_ID
    AND PV.VENDOR_ID = AI.VENDOR_ID
    AND DECODE (AI.PAYMENT_STATUS_FLAG,
             'Y', sysdate - AI.LAST_UPDATE_DATE,
            decode(APS.GROSS_AMOUNT , 0 ,sysdate - AI.LAST_UPDATE_DATE,0)
            ) <= 30
    AND (AERH.SOURCE <> 'Both Pay' OR AERH.REPORT_HEADER_ID IS NULL)            
    UNION ALL
    SELECT
    AERH.DESCRIPTION PURPOSE,
    AERH.DEFAULT_CURRENCY_CODE CURRENCY_CODE,
    AERH.WEEK_END_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AERH.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) ||' '|| AERH.DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) REPORT_TOTAL,
    PER_EMPLOYEE.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    PER_EMPLOYEE.FULL_NAME FULL_NAME,
    NVL(AERH.expense_status_code,
      AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag,
      AERH.report_header_id, 'Y', 'N')) STATUS_CODE,
    AERH.source SOURCE,
    NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG.GetCurrentApprover(AERH.Source,
            AERH.Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER,
    ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,
              sysdate - AERH.LAST_UPDATE_DATE)) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    0 VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,  
    DECODE(AERH.expense_current_approver_id,
    -99999, 'AMEMultipleApprovers',
    decode(PER_APPROVER.full_name,
      null,'CurrentApproverName','AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    -1 INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X PER_EMPLOYEE,
           PER_PEOPLE_X PER_APPROVER
    WHERE  AERH.VOUCHNO +0 =0
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AERH.EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :3
    AND PER_EMPLOYEE.PERSON_ID = AERH.EMPLOYEE_ID
    AND (AERH.Source <> 'NonValidatedWebExpense'
         OR AERH.Workflow_approved_flag IS NULL)
    AND AERH.expense_current_approver_id = PER_APPROVER.person_id
    AND decode(AERH.total,0,ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,sysdate - AERH.LAST_UPDATE_DATE)),30) <= 30
    AND AERH.SOURCE <> 'Both Pay'
    UNION
    SELECT
    AERH.DESCRIPTION PURPOSE,
    AERH.DEFAULT_CURRENCY_CODE CURRENCY_CODE,
    AERH.WEEK_END_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AERH.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) ||' '|| AERH.DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) REPORT_TOTAL,
    PER_EMPLOYEE.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    PER_EMPLOYEE.FULL_NAME FULL_NAME,
    NVL(AERH.expense_status_code,
      AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag,
      AERH.report_header_id,'Y','N')) STATUS_CODE,
    AERH.source SOURCE,
    NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG.GetCurrentApprover(AERH.Source,
            AERH.Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER,
    ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,
              sysdate - AERH.LAST_UPDATE_DATE)) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    0 VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,  
    DECODE(AERH.expense_current_approver_id,
    -99999, 'AMEMultipleApprovers',
    decode(PER_APPROVER.full_name,
      null,'CurrentApproverName','AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    -1 INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X PER_EMPLOYEE,
           PER_PEOPLE_X PER_APPROVER
    WHERE  AERH.VOUCHNO +0=0
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AERH.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :4
    AND PER_EMPLOYEE.PERSON_ID = PAID_ON_BEHALF_EMPLOYEE_ID
    AND AERH.EMPLOYEE_ID IS NULL
    AND (AERH.Source <> 'NonValidatedWebExpense'
         OR AERH.Workflow_approved_flag IS NULL)
    AND AERH.expense_current_approver_id = PER_APPROVER.person_id
    AND decode(AERH.total,0,ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,sysdate - AERH.LAST_UPDATE_DATE)),30) <= 30
    AND AERH.SOURCE <> 'Both Pay'
    UNION ALL
    /* This select is for invoice imported reports by contingent workers */
    SELECT
    AI.DESCRIPTION PURPOSE,
    AI.INVOICE_CURRENCY_CODE CURRENCY_CODE,
    AI.INVOICE_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AI.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME ,
    DECODE(AI.CANCELLED_DATE,null,
                              nvl(aerh.expense_status_code, DECODE(APS.GROSS_AMOUNT ,0,'PAID',
                                    decode(AI.Payment_status_flag,'Y','PAID',
                                                            'N','INVOICED',
                                                            'P','PARPAID',NULL))),
                                            'CANCELLED') STATUS_CODE,
    AERH.source SOURCE,
    NULL CURRENT_APPROVER,
    ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    AI.VENDOR_ID VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,          
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    AI.INVOICE_ID INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           AP_INVOICES AI,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X P,
           AP_PAYMENT_SCHEDULES APS
    WHERE  AI.INVOICE_ID= APS.INVOICE_ID
    AND    AI.INVOICE_ID = AERH.VOUCHNO(+)
    AND AI.INVOICE_TYPE_LOOKUP_CODE||'' = 'EXPENSE REPORT'
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AI.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :5
    AND P.PERSON_ID = AI.PAID_ON_BEHALF_EMPLOYEE_ID
    AND AP_WEB_DB_HR_INT_PKG.IsPersonCwk(AI.PAID_ON_BEHALF_EMPLOYEE_ID)='Y'
    AND DECODE (AI.PAYMENT_STATUS_FLAG,
             'Y', sysdate - AI.LAST_UPDATE_DATE,
            decode(APS.GROSS_AMOUNT , 0 ,sysdate - AI.LAST_UPDATE_DATE,0)
              )  <= 30
    AND (AERH.SOURCE <> 'Both Pay' OR AERH.REPORT_HEADER_ID IS NULL)) QRSLT  WHERE (REPORT_SUBMITTED_DATE is not null)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    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-01008: not all variables bound
    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 oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    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-01008: not all variables bound
    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 oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    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)
    I have took the sql from error message and i tried executing the same in toad... i was able execute it smoothly... i dot know why its working while running the page
    Please help me guys...
    Thanks,
    Pavan

    Hi Shobhi,
    Actually this relates to the Iexpenese Module. The VO is "oracle.apps.ap.oie.server.TrackExpenseReportsVO"(Seeded)
    The user Expense home screen is based on the above VO and this view returning multiple line for the same expense number which should be eliminated.
    so for this i need to filter data by adding where clause dynamically on top of the existing where conditions so that i can eliminate the duplicate row.
    Please suggest me !! how to move on
    Thanks,
    Pavan V
    91-9640871542

  • 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

  • Please, Not getting result set from callable statement (Code posted)

    I am posting some simple code which should get a ResultSet from a CallableStatement object using the executeQuery() Method.
    It is returning "No RsultSet was produced"
    If I modify the code and simply output the CallableableStatement using its executeUpdate() then getString() methods it works fine. Anything obviously wrong with this bit of code? Thanks.
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import db.util.query.*;
    import db.util.pool.*;
    public class oracle extends HttpServlet {
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, java.io.IOException {
    response.setContentType("text/html");
    java.io.PrintWriter out = response.getWriter();
    Connection con = ConnectionFactory.getConnection();
    CallableStatement cs = null;
    ResultSet rs = null;
    int intID = 1;
    try{
    cs = con.prepareCall("{? = call test1(?)}");
    cs.registerOutParameter(1, java.sql.Types.VARCHAR);
    cs.setInt(2,intID);
    /*These lines work on their own
    *cs.executeUpdate();
    *out.println("Name is : " + cs.getString(1));
    //this code is what is not working...hmm
    rs = cs.executeQuery();
    while(rs.next()){
    out.println(rs.getString("name"));
    rs.close();
    cs.close();
    //the rest of this works too.
    ConnectionFactory.releaseConnection(con);
    catch(SQLException e){
    out.println(e.getMessage());
    Here's the stored procedure. I'm just trying to do a simple test to return multiple rows. The table has numberous records with the same id which is being passed to the function.
    create or replace function test1 ( strInputID IN testtable.id%type)
    return varchar2
    is
    strOutputName testtable.name%type;
    found_it EXCEPTION;
    begin
    select name into strOutputName from testtable
    where id = strInputID;
    raise found_it;
    exception
    when no_data_found
    then
    return null;
    when found_it
    then
    return strOutputName;
    end;

    I've posted the code...it's doing a select. I think the problem is that to return multiple rows I need to return a cursor. But I've run into problems with both the MS and Oracle Drivers.
    All I really want to do is to query a database using a callable statement(function in oracle) which will return multiple rows which I can process. I have been trying to do this in a servlet.
    I can do it successfully for one column from one row, but not multiple columns from mulitple rows.
    I've been searchging for some good examples and am trying different things but can't seem to get it to work.

  • How to pass Array of Java objects to Callable statement

    Hi ,
    I need to know how can I pass an array of objects to PL/SQL stored procedure using callable statement.
    So I am having and array list of some object say xyz which has two attributes string and double type.
    Now I need to pass this to a PL/SQL Procedure as IN parameter.
    Now I have gone through some documentation for the same and found that we can use ArrayDescriptor tp create array (java.sql.ARRAY).
    And we will use a record type from SQL to map this to our array of java objects.
    So my question is how this mapping of java object's two attribute will be done to the TYPE in SQL? can we also pass this array as a package Table?
    Please help
    Thanks

    I seem to remember that that is in one of Oracle's online sample programs.
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html

Maybe you are looking for