Reduce advanced search criteria LOV

I have created OAF page with resultsBasedSearch = advanced panel Query Region. In advanced search criteria, I see four values in LOV - "is, is not, after, before". I want to limit options to "is" and "after". Is it possible to do this? If so, can you tell me in detail how?

Hi.
please try put your locale en tag view.
<f:view locale="it">
in Jdev 11.1.1.4 works!!

Similar Messages

  • Adding Campaign element desc in advance search criteria for campaigns

    Hi,
    We would like to add Campaign element description in the advance search criteria of the campaigns. The field is not available in the available list. How do we add it in the list so that we can make it searchable?
    Thanks
    A

    Hi Aman,
                      You can add a UI field from the view of the search component and write the search logic in any suitable badi. There are many threads based on search . Check in SAP SOlutions-> WEb UI category.
    Hope this helps.
    Regards,
    Ruby.

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Displaying Advanced Search Criteria

    Hi All,
    My question is about the Application Sourcing
    At an Advanced Table, I have added several Search Criteria using jDeveloper. Those criteria can be selected from a drop down list where the user can select; then click "Add" and then perform the search.
    When the user goes to the page only the first 4 criteria appear.
    Is it possible to have more than 4 initially appear at the page without having to add them from the drop down list?
    Thanks

    Hi,
    Its discussed earlier. Please see below thread. May answer your query.
    Re: How to display more than 4 criteria items on startup of Advanced Search LOV
    Abdul Wahid

  • Textfields in advanced search from LOV non-editable

    I have a LOV where the textfields in advanced search are always non-editable. When I look into the LOV JSP page, maxlength of the textfields is 0.
    One of the textfields uses following attribute:
    in EntityObject: attribute "Kuerzel", type "String" (database datatype VARCHAR2(10))
    in ViewObject: attribute "DspKuerzel"
    in the JHeadstart ADF BC Property Editor from EntityObject and ViewObject the Setting "maximum length" of the attribute is not set (no entry). Jheadstart help says that when maximum length is set to 0 then the corresponding textfield is non-editable. But here it is not set. Is there a solution to this problem?

    If you send a testcase to [email protected] and rename extension .zip to .zipped we can investigate why the maximum length is not generated correctly in your situation.
    Steven Davelaar,
    JHeadstart Team.

  • Advances search

    Can Spotlight or Search (In Finder) with, advanced search criteria, be used to search inside pdf files. ?
    For example, I'm not after attributes about any particular file, just on the text within the pdf which may be unique to given files.. "machine language" for example to list only programming language pdf..
    I'm might be missing something but the searches i've tried so far is always mixed.

    Yes, Spotlight indexes PDF files by content. Open the Spotlight preference pane in System Preferences, click on the "Search Results" button, and make sure the checkbox labeled "PDF Documents" is selected.

  • 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.

  • LOV Advance Search

    We have created an LOV with Advance search option.
    When user enter any value in the LOV and tabs out,then it is not performing the search based on entered value. Instead of that , it is just displaying all records from table.
    The problem was occuring in R12 instance. In 11i, it was working fine.

    this may sound simple but have you checked the lov mappings... specifaclly the criteria item for the LOV

  • How can I get a LOV to work in the advanced search area

    I am using JHeadstart 10.1.3.3.
    We are doing a LOV lookup on User-id. When the user selects a user-id or just starts keying in a user-id I have my Jheadstart code to pull in the full-name whenever the client selects a new user-id or starts keying a userid.
    Under UserId we have the following definition
    PersonIdentitiesLOV
    UserId <= UserId
    FullName <= CombinedName
    We set up PersonIdentitiesLOV so that "Use LOV for validation" is set to true.
    When I tested my code, in the advanced search this is what happened:
    1) When the client selects a user-id the FullName field gets populated
    2) When the client just keys in the user-id then the FullName DOES NOT get populated.
    Someone told me that there is a bug in JHeadstart in 10.1.3.3 where if you turn on the "Use LOV for validation" then it does not get executed in the Advanced Search.
    How do I get around this problem.
    If this does not work then how would it be best to display the full name whenever someone keys in a user-id. We are using this full name display for auditing purposes at the cashiers wicket whenever someone keys in a userid and does not recognize the person. We want the full name displayed along with userid for verification purposes.
    Any idea on how to get this working?

    This is not a bug, it is intended behavior.
    In search fields you might want to search for parts of the name, using a wildcard, that's why the auto-complete is not working there.
    If an end user wants to search the complete name, he can use the LOV to pick a value.
    Steven Davelaar,
    JHeadstart Team.

  • Issue with programmatically created LOV on Advanced Search Screen in OCO.

    Hi All,
    I am trying to create a LOV programmatically on Advanced search screen of Oracle Customer's Online module for the country field present there, i have extended a controller and
    in it i am carrying out the creation for this.
    i am using the below code to do this.
    i am able to access the particular rowlayout bean and code below is starting after that.
    OARowLayoutBean CountryRowLayoutBean =
                            (OARowLayoutBean)RgtColTableLayoutBean.getIndexedChild(8);
                        if (pageContext.isLoggingEnabled(PROCEDURE))
                            pageContext.writeDiagnostics(this,
                                                         "CountryRowLayoutBean: " +
                                                         CountryRowLayoutBean,
                                                         PROCEDURE);
                        int CountryRowLytChldCount =
                            CountryRowLayoutBean.getIndexedChildCount();
                        if (pageContext.isLoggingEnabled(PROCEDURE))
                            pageContext.writeDiagnostics(this,
                                                         "CountryRowLytChldCount : " +
                                                         CountryRowLytChldCount,
                                                         PROCEDURE);
                        OAMessageTextInputBean CountryMsgTxt =
                            (OAMessageTextInputBean)CountryRowLayoutBean.getIndexedChild(2);
                        if (pageContext.isLoggingEnabled(PROCEDURE))
                            pageContext.writeDiagnostics(this,
                                                         "CountryMsgTxt : " +
                                                         CountryMsgTxt,
                                                         PROCEDURE);
                        CountryMsgTxt.setRendered(false);
                        OAMessageLovInputBean CountryLOV =
                            (OAMessageLovInputBean)createWebBean(pageContext,
                                                                 LOV_TEXT, null,
                                                                 MatchRuleAttrId); //MatchRuleAttrId - the fields are rendered through DQM so, this is the Id for the text input , same is taken as id for LOV, to enable search later.
                        if (pageContext.isLoggingEnabled(PROCEDURE))
                            pageContext.writeDiagnostics(this,
                                                         "CountryLOV : " + CountryLOV,
                                                         PROCEDURE);
                        CountryRowLayoutBean.addIndexedChild(CountryLOV);
                        Integer webBeanRegionAppId =
                            (Integer)webBean.getAttributeValue(REGION_APPLICATION_ID);
                        CountryLOV.setAttributeValue(REGION_APPLICATION_ID,
                                                        webBeanRegionAppId);
                        // Specify the path to the base page.
                        CountryLOV.setAttributeValue(REGION_CODE,
                                                        "/oracle/apps/imc/ocong/search/webui/ImcSearchPage");
                                  CountryLOV.setAttributeValue(LOV_REGION_APPLICATION_ID,
                                                        webBeanRegionAppId);
                        // Specify the LOV region definition.
                        CountryLOV.setLovRegion("/oracle/apps/ar/hz/address/webui/HzCountryLOV",
                                                   webBeanRegionAppId.intValue()); //Standard LOV region used
                        // Validation should be enabled for LOVs unless it's essential for the field to allow a partial value (in a "Search" region, for example).
                        CountryLOV.setUnvalidated(false);
                        CountryLOV.setAttributeValue(SELECTIVE_SEARCH_CRITERIA,
                                                        true);
                        CountryLOV.setAttributeValue(SEARCH, true);
                        // Configure the LOV mappings.
                        // Note that you must call this method after you add the messageLovInput item
                        // to the web bean hierarchy.
                        // base page item
                        // lov item
                        // direction
                        if (pageContext.isLoggingEnabled(PROCEDURE))
                            pageContext.writeDiagnostics(this,
                                                         "webBeanRegionAppId : " +
                                                         webBeanRegionAppId,
                                                         PROCEDURE);
                        if (pageContext.isLoggingEnabled(PROCEDURE))
                            pageContext.writeDiagnostics(this,
                                                         "MatchRuleAttrId : " +
                                                         MatchRuleAttrId,
                                                         PROCEDURE);
                        CountryLOV.addLovRelations(pageContext,
                                                      MatchRuleAttrId,
                                                      "TerritoryShortName",
                                                      LOV_RESULT,
                                                      LOV_REQUIRED_NO); // base page item
                        // lov item
                        // direction
                        CountryLOV.addLovRelations(pageContext,
                                                      MatchRuleAttrId,
                                                      "TerritoryShortName",
                                                      LOV_CRITERIA,
                                                      LOV_REQUIRED_NO);
    I am facing the issue that the torch icon is visble on the screen but when i click on it, it does not display the LOV region and a blank page saying website declined to show the page is displayed.
    Please suggest what needs to be added that i am missing right now.
    Thanks,
    Mayank

    on the first option I mean you can add new region  programaticaly like this on Processrequest
                OAStackLayoutBean newLocationLovs=
                    (OAStackLayoutBean)createWebBean(pageContext
                                                        ,"/yandex/oracle/apps/csi/instance/location/webui/YaLocationLovsRN"
                                                        , "xxnewLocationLovs"
                                                        ,true);
                  webBean.addIndexedChild(newLocationLovs);   

  • 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 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)

  • LOV Validation in Advanced Search

    Hello,
    We would like to use the LOV validation feature, but it only works in data-entry screens, not in the advanced search screens... Is it a known limitation or am I doing something wrong?
    Thank you,
    Igor

    Sorry Igor, we overlooked your initial post.
    LOV validation is intentionally turned off in search items as it would prevent you from using wildcard searches.
    Steven Davelaar,
    JHeadstart Team.

  • 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?

  • LOV in Advanced Search Mode Problem

    Hi all,
    I have a strange problem with LOV!.
    In advanced search of our pages, sometimes we used LOV.
    As a normal way, we used two entities for the whole page, one as updatable
    one, and another which is referenced in LOV and I defined that as reference.
    After choosing a value from LOV, I want to assign its return values (from
    selected row) to other fields. The returned values from LOV that are comming
    from updatable entity is available and I could access them, but I can not see
    the returned values from the reference entity.
    At the end, I repeat that our LOV is working now for create mode and our problem with that is only in Advanced Search mode.
    Thanks for ur helps:)

    Hi Nasser2,
    You could try to make the attribute in the reference entity that you want to put a new value in, updateable.
    I guess you don't see the return value in that attribute in advanced search, because the VO-attr is readonly (which makes sense, because it is a reference-attribute!).
    Regards
    Evert-Jan
    JHeadstart Team

Maybe you are looking for