Controlling criteria in Advanced Search 'Add Fields'

Hi all,
Jdev Version: Studio Edition Version 11.1.1.7.0
Background
I have two VOs described as below -
TaskVO - Fetches a list of tasks
TaskUserVO - Fetches the list of users of tasks - Users may be assignees or owners identified by value in column 'USER_SOURCE_TYPE'.
A view link relates TaskVO & TaskUserVO by the TASK_ID (primary key of TaskVO).
I have a view criteria for displaying a search by assignee and search by owner as criteria in my search query region. For this, I have used 2 inline view criteria in my view criteria defined in TaskVO. Both inline view criteria are on TaskUserVO (one for Owner & other for Assignee) and each takes 2 bind variables -
i. USER_SOURCE_TYPE - This can either be ASSIGNEE or OWNER
ii. NAME - This is the name of the assignee or owner.
Issue Description
The issue I face is in Advanced Search - Add fields. Since the same inline view criteria (TaskUserVO) is added twice (once for Owner & other for Assignee), the Add fields shows 'Name' twice in the list.
I need to show the Add field label name as 'Assignee' corresponding to the Assignee inline VC and name as 'Owner' for Owner inline VC. How can I achieve this?
In general, I am also looking for ways to pro-grammatically modify the 'Add field' list (I understand that the Queriable flag controls this list declaratively). Any suggestions on this?
Could QueryModel/QueryDescriptor help in achieving this?
Thanks,
Srini

Any thoughts on this one?

Similar Messages

  • OAF Page Personalize Page to add a new criteria in Advance Search

    Hi All,
    I am new to OAF. I need to add a new criteria (Asset Activity) to the Work Order Advance Search page in EAM module.Asset activity field has to pick from the 'Create Work Order' Form. I can able to identify the CO class associated with this field in the 'Create Work Order' form.
    How to achieve this by personalizing the Work Order Advance Search Page.
    Any help would be much appreciated.
    Thanks in advance,
    -Mukesh.
    Edited by: Mukesh on May 1, 2012 12:48 PM

    Hi All,
    I have done the following steps.
    1. From the Work Order Advanced Search Page, clicked on Personalize "Advanced Search".
    2. Created a Criteria Item with ID 'AssetActivityAS' and also created a Message Styled Text under this criteria.
    3. Back to the Advanced Search Page, clicked on 'Personalize Page' page in the bottom.
    4. Create an Advanced Search Mappings with ID 'AssetActivityMap' and Results Item as 'WorkOrdersVO.AssetActivity' and Search Item as 'AssetActivityAS'.
    5. But when I click on Apply, it's throwing the following error.
    oracle.apps.fnd.framework.OAException: oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/eam/workorder/webui/EAM_EW_START_PAGE.WorkOrdersVO.AssetActivity, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java(Compiled Code))
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java(Compiled Code))
    etc...........
    I found WorkOrdersVO(oracle.apps.eam.workorder.server.WorkOrdersVO) from Business Component References Details of About Page: Work Orders.
    Am I doing the right steps to add a new search criteria in Advance Search page?
    Can anyone help me to resolve this issue?
    Thanks in Advance,
    -Mukesh

  • Adding new criteria in Advance Search

    Senario
    iSupplier Purchase Order search page has advance search option. Which does not have PO Description as search criteria.
    Requirement
    I want to add PO Description as search criteria in advanced search.
    Is it possible using personalization ? Please advise
    Thanks
    Bhavik

    Hi Bhavik,
    First you need to check if the Description attribute is available in the ViewObject of the table.
    You can check the page details in the "About this page"
    If the column is already available, you can add it to the page using personalization.
    Otherwise you have to extend the ViewObject and add the Description column to it.
    And then personalize the page to add the description attribute.
    For more information on how to do it.. refer personalization and extension exercise in the OAF tutorials.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to add a new  search criteria in Advance Search Page in OAF

    HI,
    In my application (R12) we can access customer related information from 2 places (2 different responsibilities as mentioned below), both are OAF pages.
    1. AX receivables
    2. Sales online
    From both the responsibilities we can perform search for customer related information as well (Simple as well as Advance Search).
    But Advance Search screen from 'Sales online' allows user to perform search, based on few additional fields as well such as 'Classification' (it's an lov based field).
    Now, User is asking to add that field on search page of AX receivables as well.
    So, how to add one more field (as search criteria), on an standard 'Customer' screen?
    Additional Info :
    1. LOV is based on HzPuiClassificationFilterVO
    2. And this VO is available on both pages. (oracle.apps.ar.hz.components.search.server.HzPuiClassificationFilterVO)
    So can we achieve this by Personalization only ? if yes plz share the steps as well.
    Regards,
    Adi

    Yes. It is possible through personalization.
    1. Create a criteria row under Advance Search
    2. Create a Result Item under advance table columns
    3. Create a Query Criteria Map based on the criteria and result item above.
    Please note the newly added criteria field should be in the Searchresults VO attributes list.
    Otherwise you need to extend the VO as well.
    Hope this helps.
    Regards,
    -Mukesh.

  • How to Dynamically add Search Criteria in Advance Search Region.

    Hi All,
    I want to understand how can we add Search Criteria dynamically in the Advance Search Region.
    The Requirement is to add 4 additional search criteria for an org_id in a multi org structure. For other business those fields should not be visible.
    I did try this with the form personalization but could not Show/hide the additional search criteria programatically for the business as we can only see 4 search criteria at the time of page load and other criteria comes in the drop down list to add which can not be show/hide after page load.
    I thought of a solution to add search criterias dynamically for my org through extending controller.
    I found the OAAdvanceSearchBean (advance search Region in controller) object for my Advance Search but could you tell me how can I add the Criteria Row in that Advance Search (createWebBean function) and then add the item in criteria Row dynamically.
    Also please tell me how we can increase the showed criteria from default 4 to more, setDisplayedCriteriaCount(int) is not allowed and it is not working also.
    Thanks.
    Regards,
    Ashish Bansal

    Hi,
    As Lars said The "Search Option Set" and the "Search Component Set" offer you quite some flexibility.
    You can configure both of these component to customize your search.
    Once you did it, you can create a new basic search iview and set these components.
    On the other hand, you also customize the layout use to show result of search.
    Dont'f forget that you need to configure Trex and create an index.
    For instance, I configured the search criteria, the system only asked me some metadatas (created by us,whose value are dependents). Each time that you upload a document you set these attributes.
    Then when you want to search, appear a screen with these values
    Country :
    City:
    search field:
    Patricio.

  • Adding criteria in advanced search BUG in SAVE SEARCH

    hi
    i added my criteria in advanceed search and evrythiing works ok.
    just one thing does not work.
    when i try to save my search view i get a message error when i add my new custom criteria with a specific value i get the following error :
    missing right parentesis...
    any idea ?
    thanks
    Dan

    i created a specific page from the following xml page :
    /oracle/apps/eam/workorder/webui/EAM_WO_SEARCH_RG.xml
    i wanted to add a new criteria in the advanced search.
    I did it by :
    _downloading the standard VO
    _adding my specific VO by extending it from the standard VO
    _in my specific VO i modified the query by adding a new column
    _in my specific VO i added an attribute mapping
    _adding a new column in the advancedtable region with a sortableheader
    _adding in the advancedsearchpanel a new criteria with 2 children (one messgetextinput and a messagestyledtext)
    _adding in the advancedsearchmapping a new item
    i make a test
    now the advanced search has the new criteria in the list.
    i type the value i want to filter.
    the filter works with the new criteria
    now i want to make another test.
    i try to use the functionality save search.
    when i try to add the new criteria i just added and type in a value i get the following error :
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select wdj.WIP_ENTITY_ID,
    wdj.ORGANIZATION_ID,
    wdj.DESCRIPTION,
    wdj.STATUS_TYPE,
    decode(wdj.FIRM_PLANNED_FLAG,1,'Y','N') as firm_planned_flag,
    wdj.SCHEDULED_START_DATE,
    wdj.SCHEDULED_COMPLETION_DATE,
    wdj.PROJECT_ID,
    wdj.TASK_ID,
    wdj.PRIORITY,
    wdj.SHUTDOWN_TYPE,
    wdj.TAGOUT_REQUIRED,
    wdj.PLAN_MAINTENANCE,
    msi.concatenated_segments,
    msi.inventory_item_id,
    mck.concatenated_segments as category_name,
    nvl(wdj.REBUILD_SERIAL_NUMBER,wdj.asset_number) as asset_number,
    msi.eam_item_type ,
    round((wdj.SCHEDULED_COMPLETION_DATE - wdj.SCHEDULED_START_DATE) * 24, 3)
    as duration,
    bd.department_code as asset_owning_department,
    bd1.department_code as wo_owning_department,
    ml1.meaning as status_type_disp,
    ml2.meaning as priorityval,
    we.wip_entity_name,
    msn.eam_location_id,
    ml3.meaning as eam_item_type_disp,
    to_char('N') as select_flag,
    decode(wdj.status_type, 3, 'Complete', 4,'Uncomplete', 'Disabled') as action_code,
    'UpdateEnabled' as update_switcher,
    loc.location_codes,
    to_char('WorkOrder') as sub_tab,
    msn.gen_object_id,
    (CASE when wdj.status_type in (3,4) and (material_issue_by_mo is null or material_issue_by_mo = 'Y')
    THEN 'EamRequestMaterial'
    ELSE 'EamIconDisabled'
    END) as request_material,
    ppv.project_number,
    ptv.task_number,
    msn.descriptive_text,
    wdj.activity_type
    FROM
    WIP_DISCRETE_JOBS wdj,
    bom_departments bd,
    mtl_categories_kfv mck,
    mtl_system_items_b_kfv msi,
    mtl_serial_numbers msn,
    mfg_lookups ml2,
    mfg_lookups ml1,
    wip_entities we ,
    bom_departments bd1,
    mfg_lookups ml3,
    mtl_eam_locations loc,
    pjm_projects_v ppv,
    pjm_tasks_v ptv
    WHERE wdj.project_id = ppv.project_id (+)
    and wdj.task_id = ptv.task_id(+)
    and wdj.wip_entity_id=we.wip_entity_id
    AND
    nvl(wdj.rebuild_item_id,wdj.asset_group_id) = msn.inventory_item_id(+)
    AND wdj.organization_id = msn.current_organization_id (+)
    AND nvl(wdj.REBUILD_SERIAL_NUMBER,wdj.asset_number ) = msn.serial_number (+)
    AND ml1.lookup_code(+) = wdj.status_type
    AND ml1.lookup_type(+) = 'WIP_JOB_STATUS'
    AND ml2.lookup_code(+) = wdj.priority
    AND ml2.lookup_type(+) = 'WIP_EAM_ACTIVITY_PRIORITY'
    AND bd.department_id(+) = msn.owning_department_id
    AND wdj.owning_department = bd1.department_id(+)
    AND mck.category_id(+) = msn.category_id
    AND wdj.organization_id = msi.organization_id
    and (nvl(msn.current_status,3) in (1,3,4))
    AND msi.inventory_item_id = nvl(wdj.rebuild_item_id,wdj.asset_group_id)
    AND ml3.lookup_type(+) = 'MTL_EAM_ASSET_TYPE'
    AND ml3.lookup_code(+) = msi.eam_item_type
    and loc.location_id(+) = msn.eam_location_id
    and we.organization_id=:1
    and wdj.organization_id = :2) QRSLT WHERE ((scheduled_start_date = :3 ) null (scheduled_completion_date = :4 ) AND ( STATUS_TYPE = :5 and EAM_ITEM_TYPE = :6 and UPPER(activity_type) = :7 AND (activity_type like :8 OR activity_type like :9 OR activity_type like :10 OR activity_type like :11)))
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2381)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1734)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at oa_html._OA._jspService(_OA.java:85)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:95)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-00907: parenthèse de droite absente
         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:589)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1972)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2559)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2950)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:656)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:582)
         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:4507)
         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.fnd.framework.server.OAViewObjectImpl.initQuery(OAViewObjectImpl.java:728)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(OAWebBeanHelper.java:2316)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(OAWebBeanHelper.java:2288)
         at oracle.apps.fnd.framework.webui.OAQueryHelper.handleCustomizeGoButtonAfterController(OAQueryHelper.java:2642)
         at oracle.apps.fnd.framework.webui.OAQueryHelper.setCurrentCustomization(OAQueryHelper.java:4815)
         at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequestAfterController(OAQueryHelper.java:749)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:645)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequest(OAQueryHelper.java:673)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         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.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         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.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:2335)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1734)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at oa_html._OA._jspService(_OA.java:85)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:95)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: ORA-00907: parenthèse de droite absente
         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:589)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1972)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2559)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2950)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:656)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:582)
         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:4507)
         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.fnd.framework.server.OAViewObjectImpl.initQuery(OAViewObjectImpl.java:728)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(OAWebBeanHelper.java:2316)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(OAWebBeanHelper.java:2288)
         at oracle.apps.fnd.framework.webui.OAQueryHelper.handleCustomizeGoButtonAfterController(OAQueryHelper.java:2642)
         at oracle.apps.fnd.framework.webui.OAQueryHelper.setCurrentCustomization(OAQueryHelper.java:4815)
         at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequestAfterController(OAQueryHelper.java:749)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:645)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAQueryHelper.processRequest(OAQueryHelper.java:673)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         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.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         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.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:2335)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1734)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at oa_html._OA._jspService(_OA.java:85)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._OA._jspService(_OA.java:95)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)

  • Filter results for New Search Criteria of Advanced Search

    Hi,
    I'm new to oaf.
    I have added extended VO item to seeded advanced search region as new search criteria by personalization.
    When i try to search for new criteria the results are not filtering and my extended CO logic as follows:
    IN PFR:
    if(oapagecontext.getParameter(oaquerybean.getGoButtonName()) != null || oapagecontext.getParameter(oaquerybean.getPersonalizeGoButtonName()) != null)
    OAAdvancedSearchBean oaadvancedsearchbean = (OAAdvancedSearchBean)oawebbean.findChildRecursive("assetAdvSearch");
    boolean flag = true;
    if(oaadvancedsearchbean != null)
    int i = oaadvancedsearchbean.getDisplayedCriteriaCount();
    String s4 = oapagecontext.getParameter("advancedSearchRadioGroup");
    for(int j = 0; j < i; j++)
    String s6 = (new StringBuilder()).append("Value_").append(Integer.toString(j)).toString();
    String s7 = (new StringBuilder()).append("Condition_").append(Integer.toString(j)).toString();
    String s8 = oaadvancedsearchbean.getOriginalUINodeName(s6);
    if(s8.equals("XXAssocMsgInput"))
    String xx=oapagecontext.getParameter(s6);
    oapagecontext.writeDiagnostics(this, "criteria value: "+xx, 105);
    if (xx !=null) {                                 
    StringBuffer stringbuffer = new StringBuffer(100);
    // Setting whereClause at Runtime to restrict the query
    OAApplicationModule rootam = oapagecontext.getApplicationModule(oawebbean);
    OAApplicationModule childAM = (OAApplicationModule)rootam.findApplicationModule("XXAdvSearchAM");
    OAViewObject vvo1 = (OAViewObject)childAM.findViewObject("XXAdvSearchVO1");
    Serializable[] parameters = {xx};
    childAM.invokeMethod("getAssociateWith", parameters);
    In AMImpl:
    public void getAssociateWith(String xx)
    OAViewObject vo = (OAViewObject)getXXAdvSearchVO1();
    Vector parameters = new Vector(2);
    StringBuffer whereClause = new StringBuffer(100);
    int clauseCount = 0;
    int bindCount = 0;
    vo.setWhereClauseParams(null); // Always reset
    if ((xx!=null) && (!("".equals(xx.trim()))))
    whereClause.append(" ASSOCIATE_WITH LIKE :");
    whereClause.append(++bindCount);
    parameters.addElement(xx);
    clauseCount++;
    vo.setWhereClause(whereClause.toString());
    writeDiagnostics(this,"In AMIMPL whereclause:"+whereClause.toString(),119);
    if (bindCount >0)
    Object[] params=new Object[bindCount];
    parameters.copyInto(params);
    vo.setWhereClauseParams(params);
    writeDiagnostics(this,"In AMIMPL XXAdvSearchVO:"+vo.getQuery(),120);
    writeDiagnostics(this,"In AMIMPL VO Cnt:"+vo.getRowCount(),121);
    vo.executeQuery();
    writeDiagnostics(this,"After query = " + vo.getQuery(),123);
    In diagnostics, parameter is not getting assigned with the value ..
    Can you anyone suggest the inputs?
    Thanks,
    mallik
    Edited by: 758972 on Jul 29, 2012 1:09 PM

    Mallik,
    Is it the same requirement which we were discussing in another thread, to add search criteria in advance serch bean through personalization.
    If yes, let me try at my end and will let you know..
    --Parag Narkhede                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • EAM advanced search - Add Another value options

    Asset Activity is a field on all our work orders.
    Is it possible to add it as a drop down value on the Advanced Search page under Add Another?
    thanks

    Hi;
    Please log a Sr and confirm it with support
    Regard
    Helios

  • Hiding Add Another criteria in advance search region

    Hi,
    I have a requirement for hiding/removing the Add Another search criteria functionality of AdvancedSearch region. The user should be able to search for the criterias given.
    Please reply the way I can do this.
    Thanks in advance.
    Mukesh

    Uchaniya,
    Read the above replies. First its not feasible. Second, only the items with the search allowed property set will appear as search criteria. So just handle your scenario through this property. Even if user adds more search criteria, the searchable columns will the same.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Adding New search criteria in Advanced Search

    Hi,
    In the page "PosVpoMainPG.xml", I have to add new search criteria "PO Description" apart from the existing ones.
    Can it be done by personalization? How?
    If not, please let me know the steps to do it from Jdeveloper.
    Regards,
    Ashish

    Check whether Query region has been used for the Page development and also figure out the construction mode (resultBasedSearch or autoCustomizationCriteria). You can create the extra column in the result table and define mappings as appropriate.
    Regards
    Sumit

  • ADF Query Panel with Tree Table -- Add Fields

    I created ADF Query Panel with Tree Table using JDeveloper 11G. Under Advance Search, Add Fields pull down only list the fields in the master table. My questions are,
    1) Can I search fields in detail table? If yes, how can I do it?
    2) How can I customized this pull down list? Currently it just show the entire view of master table with unnecessary id type data.
    Thanks in advance.
    Edited by: kxc on Nov 9, 2009 9:21 AM

    1) Can I search fields in detail table? If yes, how can I do it?
    Are there anyway to search the second level node?You can. But you need to evaluate if the arrangement works for you.
    I assume you have a view link from the master to detail VO.
    To do so, in your master view criteria (the one which you use in the query panel), shuttle the attributes of your detail VO (in master attributes list, you'l see the detail view link accessor - on selecting this, the detail atteributes are available to you)
    In the Add Fields, it shows as student_id AND student_name. I was unable to delete the student_id field in the view since it is PKYou can set its 'display' UI hint to 'hide' in your VO.

  • Unable to create Table Bean advanced search criteria

    Hi,
    I want to create new search criteria for advanced search region. The reason being new search criteria i tried to add by personalization it didnt worked may be guessing construction mode is autocustomization mode. Somewhere i have seen if resultsbased it will work. Can someone confirm on this??
    I'm trying to create new bean for search criteria at the specified location under <oa:table akRegionCode="EAM_AD_ASSET_RESULTS_TABLE" but unable to do so:
    Here is the part of the page
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile(120.15.12000000.2=120.18)(115.26=120.1):~PROD:~PATH:~FILE &fullpath_~PROD_~PATH_~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath_~PROD_mds_directory -->
    <page xmlns="http://xmlns.oracle.com/jrad" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:user="http://xmlns.oracle.com/jrad/user" file-version="$Header: EAM_AD_ADVSEARCH_PAGE.xml 120.18.12010000.3 2009/02/11 09:21:55 smrsharm ship $" version="10.1.3_1147" xml:lang="en-US" xmlns:jrad="http://xmlns.oracle.com/jrad">
    <content>
    <oa:pageLayout id="EAM_AD_ADVSEARCH_PAGE" akRegionCode="EAM_AD_ADVSEARCH_PAGE" regionName="Asset Search" amDefName="oracle.apps.eam.asset.server.AdvSearchAM" controllerClass="oracle.apps.eam.asset.webui.AdvSearchPageCO" appMenu="EAM_MAIN_SS" amStateRequired="false" helpTarget="EAM_AD_ADVSEARCH_PAGE">
    <ui:corporateBranding>
    <oa:image id="corporateBranding" source="/OA_MEDIA/FNDSSCORP.gif" shortDesc="Oracle"/>
    </ui:corporateBranding>
    <ui:productBranding>
    <oa:image id="productBranding" source="/OA_MEDIA/EAMBRAND.gif" shortDesc="Asset Management"/>
    </ui:productBranding>
    <ui:contents>
    <oa:query id="EamAssetQueryRegion" mode="autoCustomizationCriteria" dispSimple="true" dispCustomized="true" dispAdvanced="true" defaultPanel="customized" controllerClass="oracle.apps.eam.asset.webui.AdvSearchSearchCO" simpleSearchPanelButtonLabel="Simple Search" viewConfPanelButtonLabel="Views" advSearchPanelButtonLabel="Advanced Search" customizePanelTitle="Views" saveSearchButtonText="Save Search">
    <oa:simpleSearchPanel>
    <oa:defaultSingleColumn id="AssetSimpleSearchRegion" headerDisabled="false" text="Simple Search">
    <ui:contents>
    <oa:messageTextInput readOnly="false" columns="25" prompt="Asset Number" rows="1" secret="false" maximumLength="30" shortDesc="Asset Serial Number" id="EamAssetNumber" promptTranslationExpansion="100%" user:akAttributeCode="EAM_ASSET_NUMBER" user:akAttributeApplicationId="426" required="no" selectiveSearchCriteria="true"/>
    <oa:messageLovInput externalListOfValues="/oracle/apps/eam/lov/webui/EAM_ASSET_CATEGORY_LOV" readOnly="false" columns="25" prompt="Category" rows="1" secret="false" id="EamAssetCategory" promptTranslationExpansion="100%" user:akAttributeCode="EAM_ASSET_CATEGORY" user:akAttributeApplicationId="426" selectiveSearchCriteria="true" shortDesc="Category">
    <lovMappings>
    <lovMap criteriaFrom="EamAssetCategory" lovItem="EamAssetCategory" id="lovMap1"/>
    <lovMap resultTo="EamAssetCategory" lovItem="EamAssetCategory" id="lovMap2"/>
    <lovMap id="lovMap39" lovItem="EamAssetCategoryId" resultTo="EamAssetCategoryId"/>
    </lovMappings>
    </oa:messageLovInput>
    <oa:messageChoice readOnly="false" prompt="Asset Route" pickListViewDef="oracle.apps.eam.asset.server.PicklistYesNoVO" pickListDispAttr="Meaning" pickListValAttr="LookupCode" id="EamNetworkAsset" promptTranslationExpansion="100%" user:akAttributeCode="EAM_NETWORK_ASSET" user:akAttributeApplicationId="426" shortDesc="Asset Route" allowBlankValue="false" defaultValue="N"/>
    <oa:formValue id="EamAssetCategoryId" dataType="NUMBER"/>
    </ui:contents>
    </oa:defaultSingleColumn>
    </oa:simpleSearchPanel>
    <oa:simpleSearchMappings>
    <oa:queryCriteriaMap id="AssetNumberMapSS" criteriaItem="EamAssetNumber" resultsItem="AssetNumber1"/>
    <oa:queryCriteriaMap id="AssetCategoryMapSS" criteriaItem="EamAssetCategory" resultsItem="AssetCategory1"/>
    <oa:queryCriteriaMap id="AssetRouteMapSS" criteriaItem="EamNetworkAsset" resultsItem="AssetRoute"/>
    <oa:queryCriteriaMap id="AssetCategoryIdMapSS" criteriaItem="EamAssetCategoryId" resultsItem="AssetCategoryId"/>
    </oa:simpleSearchMappings>
    <ui:contents>
    <oa:tableLayout akRegionCode="EAM_AD_ADVSEARCH_RESULTS" regionName="Results" controllerClass="oracle.apps.eam.asset.webui.AssetResultsCO" addChildren="true" id="EamResultsNr" user:akAttributeCode="EAM_RESULTS_NR" user:akAttributeApplicationId="426">
    <ui:contents>
    <oa:tableLayout id="ResultsTableLayout2" width="100%" rendered="true">
    <ui:contents>
    <oa:rowLayout id="RowLayoutRegion2">
    <ui:contents>
    <oa:cellFormat id="CellFormatRegion2">
    <ui:contents>
    <oa:switcher id="MappedTableRegion">
    <ui:case name="ShowTable" id="ShowTable">
    <oa:table akRegionCode="EAM_AD_ASSET_RESULTS_TABLE" regionName="Asset Search" blockSize="25" standalone="true" height="1" id="MappedTable" user:akAttributeCode="EAM_RESULTS_NR" user:akAttributeApplicationId="426" width="100%" rendered="true" userCustomizable="true" shortDesc="Mapped Table">
    <ui:contents>
    <oa:messageStyledText id="AssetNumber1" viewName="AdvSearchVO" viewAttr="InstanceNumber" shortDesc="Serial Number" prompt="Asset Number"/>
    <oa:messageStyledText id="AssetDescription1" viewName="AdvSearchVO" viewAttr="DescriptiveText" shortDesc="Asset Description" prompt="Asset Description"/>
    <oa:messageStyledText id="AssetCategory1" viewName="AdvSearchVO" viewAttr="AssetCategory" shortDesc="Asset Category" prompt="Asset Category"/>
    I tried several ways :
    OAPageLayoutBean pageLayout = oapagecontext.getPageLayoutBean();
    OAQueryBean query=(OAQueryBean)pageLayout.findChildRecursive("EamAssetQueryRegion");
    OATableBean oawebbeantb = (OATableBean)query.findChildRecursive("EAM_AD_ASSET_RESULTS_TABLE");
    OAMessageLovInputBean ccidbean = (OAMessageLovInputBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, OAWebBeanConstants.LOV_TEXT, null, "xxValidation");
    if (oawebbeantb==null){                    
    throw new OAException("Error this is a test!", OAException.ERROR);
    oawebbeantb.addIndexedChild(ccidbean); --here it getting null
    OR
    OATableBean oawebbeantb = (OATableBean)oawebbean.findIndexedChildRecursive("EAM_AD_ASSET_RESULTS_TABLE");
    OAMessageLovInputBean ccidbean = (OAMessageLovInputBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, OAWebBeanConstants.LOV_TEXT, null, "xxValidation");
    oawebbeantb.addIndexedChild(ccidbean); --here it getting null
    Please someone help me on this..
    thanks,
    mallik

    1) Search panel textinput item should be search allowed true and prompt is need. no other property need to set.
    HERE YOU DONT WANT TO SET VIEW INSTANCE AND ATTRIBUTE SINCE WE ARE DOING FOR EXTENDED VO ITEM AS SEARCH ITEM.THAT'S OK. I TRIED WITH YOUR COMMENTS FOR TEXTINPUT ITEM TOO.
    Comment--
    textinput item created is a simple item without any VO instance , etc.
    There is no question of extended VO item, its a simple textinput item.
    value in this field is going to compare with the values in result table.
    2) Search mapping, only search item id and result item id need to set.
    I'M DOING HERE MAPPING FOR ABOVE SEARCH ITEM ID AND RESULT ITEM ID
    Comment-- Perfect !!
    3) Item created in table , after you extended Vo, view instance and attribute needs to set.
    WHERE DO YOU WANT THIS TO BE SET?? CAN YOU ELABORATE THIS MORE PLEASE.MAY BE I'M MISSING HERE SOMETHING.
    Comment-- you must have created message styled text item in adv table bean, assign VO instance and attribute to it, right?
    4) One more thing Parag, do i need to include where clause for extended VO item in view object??
    for ex:
    where attribute(this is extended vo item)=:4
    Comment-- No need. this will be handled by point#2 above, i.e. criteria and result items.
    --Parag Narkhede                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • While giving add fields in advanced mode

    Hai everyone, i met with a problem such that while using search in advanced mode we can add fields multiple times. Can anyone suggest me to restrict same field appearing more than one time in advanced mode --> add fields.
    Thanks in advance.

    Hi,
    there is no such restriction as far as I know. Background is that you may want to define "OR" condition for a field
    Frank

  • Not render any field search criteria initially in Advanced Search Panel

    Hi Everyone!
    It's possible to hide or remove all field search criterias initially in Advanced search panel. We need that initially doesn't exist any field search and the user use the 'Add another' option when him need add search criterias.
    Thanks,
    Carlos C.

    Your solution to the indexing issue with the LIKE operator is taking a small issue and making a big issue out of it.
    Why not just fix the initial problem with basic tuning techniques ... for example a hint would force index usage.
    So might having accurate statistics. So might tuning one or more optimizer parameters a small amount.
    You have chosen the wrong solution for a very small problem thus you are where you are.

  • SRM 7 Add a field to Advanced Search

    Hi,
    we have a requirement, where I need to add a feild on the advanced search screen. Are there any BADis to acheive this.
    Any info on this is highly appreciated.
    Thanks and Regards,
    Krishna

    Hi Siva,
    Thank you for the response.
    Can you please elaoborate this. Like how you renamed the standard field, how to find out which structure needs to be appended. A step by step guidance if you have time on this will really help me ... 
    Looking forward to here from you again.
    Believe me , you will be highly appreciated for the info.
    Thanks in advance,
    Krishna

Maybe you are looking for