Unable to retrieve records with search criteria

Hi All,
I am trying to retrieve records based on search criteria as below, but not able to retrieve records.
I created a search Search s=new Search(repSchema.getTableId("Customers"));
Search s=new Search(repSchema.getTableId("Customers"));
          SearchGroup sg = new SearchGroup();
FieldSearchDimension fsdCustFinValidated = new FieldSearchDimension(new FieldId(repSchema.getFieldId("Customers", "Financially_Validated")));
BooleanSearchConstraint bSearchComm_Validated = new BooleanSearchConstraint(false);
s.addSearchItem(fsdCustFinValidated, bSearchComm_Validated);
s.setComparisonOperator(Search.AND_OPERATOR);     
FieldSearchDimension fsdMaintableType = new FieldSearchDimension(new FieldId(repSchema.getFieldId("Customers", "Company_Type")));
TextSearchConstraint tscCustType = new TextSearchConstraint("CUSTOMER", TextSearchConstraint.EQUALS);
s.addSearchItem(fsdMaintableType, tscCustType);
s.setComparisonOperator(Search.AND_OPERATOR);
Calendar calCreate = Calendar.getInstance(TimeZone.getTimeZone("GMT"));
calCreate.add(Calendar.DATE,-6);
System.out.println("customerCreditEscalation: calCreate:" + calCreate.getTime());
FieldSearchDimension fsdMaintableDate = new FieldSearchDimension(new FieldId(repSchema.getFieldId("Customers", "Financially_Validated_Trigger")));
SearchConstraint srchConstCreateGE = new DateTimeSearchConstraint(calCreate,DateTimeSearchConstraint.LESS_THAN_OR_EQUAL_TO);
sg.addSearchItem(fsdMaintableDate,srchConstCreateGE) ;
sg.setComparisonOperator(Search.AND_OPERATOR);
Calendar calCreate1 = Calendar.getInstance(TimeZone.getTimeZone("GMT"));
calCreate1.add(Calendar.DATE,-7);
SearchConstraint srchConstFinVldTrgrDate = new DateTimeSearchConstraint(calCreate1,DateTimeSearchConstraint.GREATER_THAN_OR_EQUAL_TO);
sg.addSearchItem(fsdMaintableDate, srchConstFinVldTrgrDate);
s.addSearchItem(sg);
Basically I am trying to search using A=a and B=b and (C=c and D=d) where (C=c and D=d) is the search group.
Please let me know if I am doing anything wrong.
Thanks
-Sai

Hi Greg,
Thanks for the answer. I am trying to do a search as below.
Earlier in the blog I mentoned A=a and B=b and (C=c and D=d) where (C=c and D=d) is the search group, but my search is
A=a and B=b and (C=c and C=d) . C is the same dimension, which is a timestamp field.
I am getting my results with A=a and B=b and C< c where C is Timestamp field. But my requirment is equal to a date older than two days. So when I try equal A=a and B=b and C=c  it is not working(may be because it is timestamp field and c is a calendar ). So I am trying to do A=a and B=b and (C<c and C>d) so that I get records that fall with in those days. So for (C<c and C>d) I am creating a search group and adding it to search which is not giving me the rows.
Hope I explained it ok.
If you know of any samples please let me know.
Regards
-Sai

Similar Messages

  • DPS6: Unable to retrieve a backend SEARCH connection to process the search

    I have installed and configured DPS 6 but I cannot get it to proxy through to our back-end Sun DS 5.2 servers. The error message I get is:
    Error while reading entry  [LDAP: error code 1 - Unable to retrieve a backend SEARCH connection to process the search request]As I am not familiar with the DP server I maybe making a simple mistake and would appreciate any pointers.
    Background:
    I have installed the DPS 6 on both a Windows 2000 SP4 server and on a Windows XP SP2 computer from the Sun Java Identity Management Suite v5 package.
    I installed DS Core Server, DS EE Command-line utilities, and DPS Core Server and I selected "Configure manually after installation".
    On the Win XP computer the installation path was:
                  C:\Program Files\Sun\JavaES5I ran the following commands to set-up and configure the server:
         dpadm create -p 389 -P 636 C:\Program Files\Sun\JavaES5\ldap-proxy
         dpadm enable-service --type WIN_SERVICE C:\Program Files\Sun\JavaES5\ldap-proxy
         dpadm start C:\Program Files\Sun\JavaES5\ldap-proxy
         dpconf create-ldap-data-source Sun1 directory1.example.com:636
         dpconf create-ldap-data-source Sun2 directory2.example.com:636
         dpconf list-ldap-data-sources
           Sun1
           Sun2
         dpconf create-ldap-data-source-pool Sun_internal
         dpconf attach-ldap-data-source Sun_internal Sun1 Sun2
         dpconf list-attached-ldap-data-sources Sun_internal
           Sun1
           Sun2
         dpconf create-ldap-data-view Customer_data_r/w Sun_internal ou=Customers,dc=example,dc=com
         dpconf create-ldap-data-view Partner_data_r/w Sun_internal ou=Partners,dc=example,dc=com
         dpconf create-ldap-data-view Staff_data_r/w Sun_internal ou=Staff,dc=example,dc=com
         dpconf set-ldap-data-source-prop Sun1 is-enabled:true
         dpconf set-ldap-data-source-prop Sun2 is-enabled:true
         dpconf set-attached-ldap-data-source-prop Sun_internal Sun1 search-weight:100
         dpconf set-attached-ldap-data-source-prop Sun_internal Sun2 search-weight:200
         dpadm restart C:\Program Files\Sun\JavaES5\ldap-proxyI have now been scratching my head over this for several days, and I have installed and re-installed the server several times on the different computers. I have also had a problem registering the DPS with a remote DSCC; checking the cacaoadm I see:
         cacaoadm status
           default instance is ENABLED at system startup.
           default instance is not running.
         cacaoadm start
         cacaoadm status
           default instance is ENABLED at system startup.
           Current retries count : 1/4
           Processes:
           2452
           Cannot connect to agent: Unsupported protocol: jmxmp
         cacaoadm verify-configuration
           CONFIG ERROR   : Java Dynamic Management Kit home is not valid, Cannot locate [lib] inside [C:\DOCUME~1\ADMINI~1].Any help that can be given will be greatly appreciated; thanks

    Hi,
    The error message indicates (not very clearly I agree) that DPS could handled the request but could not contact the appropriate Directory Server (no connection).
    There are several possible reasons for this.
    First is directory1.example.com a valid fully qualified domain name on your machine. I.e. does this name resolve into an IP address ?
    Second the host:port used for directory1.example.com is 636 which is the default secure LDAP port. This implies that you probably wanted to have a secure connection between DPS and the Directory Servers.
    Well, dpconf has no way to specify that the port is intended to be a secure one. And will always consider that the port specified is the regular LDAP port. (I opened a bug about this and I hope it'll be fixed in 6.1).
    Secure connections and information must be configured afterward.
    To configure SSL between DPS and an ldap-data-source, please refer to the Administration Guide : <http://docs.sun.com/app/docs/doc/819-0995/6n3cq3b3q?a=view>
    As for the jmxmp issue, it looks like the JDMK component on Windows was not installed. Did you install it with an Administrative account ?
    Could you try to uninstall and re-install ?
    Regards,
    Ludovic.

  • Query Plan changes with search criteria

    Hi!
    I have a query like below
    SELECT x.id
    from id_table x
    ,(select a.id
    from text_table a
    where a.p_date >= trunc(sysdate-1)
    and a.p_date <= trunc(sysdate-1)
    and a.p_time >= to_date('2012-05-30 00:00:00','YYYY-MM-DD HH24:MI:SS')
    and a.p_time >= to_date('2012-05-30 12:20:47','YYYY-MM-DD HH24:MI:SS')
    and contains(a.text, '(external)') > 0
    ) y
    WHERE y.id = x.id
    AND (x.build_x is null OR x.build_x in ('Y'))
    id_table has an index on id
    text_table is partitioned along p_date
    id_table has 175M rows
    text_table has 11K rows that match the criteria
    when searching for "external" I get a full table scan on id_table
    when searching for "extern" I get an indexed scan on id_table
    when adding hint /*+ parallel (x,2) */ I get the indexed scan
    I have done Gather Statistics on id_table with
    opt_method => 'ALL INDEXED COLUMNS SIZE 254'
    In other environments with id_table having about a 10th or the rows and text_table about half the results, I get an indexed scan on the id_table
    Any ideas?

    Hi!
    I have a query like below
    SELECT x.id
    from id_table x
    ,(select a.id
    from text_table a
    where a.p_date >= trunc(sysdate-1)
    and a.p_date <= trunc(sysdate-1)
    and a.p_time >= to_date('2012-05-30 00:00:00','YYYY-MM-DD HH24:MI:SS')
    and a.p_time >= to_date('2012-05-30 12:20:47','YYYY-MM-DD HH24:MI:SS')
    and contains(a.text, '(external)') > 0
    ) y
    WHERE y.id = x.id
    AND (x.build_x is null OR x.build_x in ('Y'))
    id_table has an index on id
    text_table is partitioned along p_date
    id_table has 175M rows
    text_table has 11K rows that match the criteria
    when searching for "external" I get a full table scan on id_table
    when searching for "extern" I get an indexed scan on id_table
    when adding hint /*+ parallel (x,2) */ I get the indexed scan
    I have done Gather Statistics on id_table with
    opt_method => 'ALL INDEXED COLUMNS SIZE 254'
    In other environments with id_table having about a 10th or the rows and text_table about half the results, I get an indexed scan on the id_table
    Any ideas?

  • Unable to query records with data in exponential value ? ?

    Hello,
    I have a strange problem here, hope someone can answer my query.
    I have 2 tables where the 1st col is a seq with datatype NUMBER(22) and NOT NULL constraint. Now, the value within that col is quite large and hence when I query the table in TOAD/SQL developer it displays output in exponential form. Now the issue is this, In one table I'm able to find/search a particular row by using the exp value within where clause and the same is not possible in other table.
    The sample data is here.
    I'm able to search record by using the below values in 1 table but same is not possible in another.
    1200000211600013
    1.20000021160001E15
    Can anybody tell me what could be the possible reason for this or where should I look for to find an answer?
    Thanks in Advance!!
    Toufiq

    Seems there's no problem in Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    with
    numbers as
    (select 1200000211600013330 the_number from dual union all
    select 1200000211600013333 from dual
    select n.the_number,s.search_string
      from numbers n,
           (select :your_number search_string
              from dual
           ) s
    where n.the_number(+) = to_number(s.search_string)
    THE_NUMBER
    SEARCH_STRING
    1200000211600013333
    1200000211600013333
    THE_NUMBER
    SEARCH_STRING
    1200000211600013333
    1.200000211600013333E18
    THE_NUMBER
    SEARCH_STRING
    1200000211600013333
    12000002116.00013333E+8
    THE_NUMBER
    SEARCH_STRING
    1200000211600013330
    1.20000021160001333E+18
    THE_NUMBER
    SEARCH_STRING
    1.20000021160001333E17
    Even implicit conversion seems to work
    select n.the_number,s.search_string,dump(s.search_string,16) search_dump,dump(n.the_number) result_dump
      from numbers n,
           (select :your_number search_string
              from dual
           ) s
    where s.search_string = n.the_number(+)
    THE_NUMBER
    SEARCH_STRING
    SEARCH_DUMP
    RESULT_DUMP
    1200000211600013330
    1.20000021160001333E18
    Typ=1 Len=22: 31,2e,32,30,30,30,30,30,32,31,31,36,30,30,30,31,33,33,33,45,31,38
    Typ=2 Len=11: 202,2,21,1,1,22,17,1,2,34,31
    Regards
    Etbin

  • Unable to retrieve records when filtering by date

    I am having difficulties getting this query to run when filtering by date. The code works fine if I remove the Date filter, and I have tested the query using SQL Developer and it works fine there so I am not sure what I am doing wrong:
    Public Sub CheckForNewCampaign()
    'Checks if the campaign received is new or not
    'if new update the database with the new campaign information
    'else check with the database for the existing campaign status
    Dim strcmdQuery As String = “SELECT FROM RSP_ORDER_QUEUE WHERE REQUEST_CODE = 'N' AND INSERT_DATE > TO_DATE('2010-01-19','YYYY-MM-DD') “*
    Dim strConn As String = System.Configuration.ConfigurationManager.AppSettings("SQLConnectionString")
    Dim objOraConn As OracleConnection = New OracleConnection(strConn)
    Dim objOraCmd As OracleCommand = New OracleCommand(strcmdQuery, objOraConn)
    Try
    objOraCmd.Connection.Open()
    objOraCmd.CommandText = strcmdQuery
    objOraCmd.CommandType = CommandType.Text
    Dim objReader As OracleDataReader = objOraCmd.ExecuteReader()
    If objReader.HasRows Then
    LoggingQueueIn("CheckForNewCampaign: " & strcmdQuery & " records found")
    bIsNewCampaign = True
    'Set the Attempt for new call
    oQueueKeyCols.memAttemps = 1
    oQueueKeyCols.memRetries = 1
    oQueueKeyCols.memSequenceNumber = 1
    mCollectNewCampaignElements(objReader)
    Else
    LoggingQueueIn("CheckForNewCampaign: " & strcmdQuery & " no records found")
    bIsNewCampaign = False
    End If
    Catch ex As Exception
    LoggingQueueIn("CheckForNewCampaign: " & ex.Message.ToString)
    Finally
    objOraCmd.Dispose()
    objOraConn.Close()
    End Try
    End Sub
    Any help would be greatly appreciated. I am spinning my wheels here and could use some assistance.

    I can't think of any reason that you'd get different results with a hard coded literal query. I assume that rdr.HasRows=false?
    My only guess would be that maybe you're connected to a different database, or as a different user, you inserted the data via sql develper but have not yet committed it, or something along those lines.
    Were you to log a SR with Oracle Support, we'd probably ask for a level 16 sqlnet trace of they query executed via the .net app and sql developer so we can compare them to make sure all else is indeed equal.
    Hope it helps,
    Greg

  • DPS11g: [Original error=52] Unable to retrieve backend SEARCH connection

    Directory Proxy 11g
    We get, on a random basis the following two errors....
    Err1: SEARCH RESPONSE err=52 msg="Unable to process the search request. Reason: [Original error=52] Unable to retrieve a backend SEARCH connection."
    Err2: [Original error=52] Unable to retrieve a backend BIND connection
    The following sun blog suggested increasing max connection setting from 1024 or change the connectionPoolTimeoutInMillisec under cn=config.
    http://blogs.sun.com/sin/entry/unable_to_retrieve_a_backend. We do not think the max connections are getting exhausted, so will try the connectionPoolTimepout setting.
    Would like to know if this is experienced by anyone else and if so, what type of configuration tuning resolved this error.
    [email protected]

    My DPS configuration is as follows:
    Datasources: ds-p1,ds-p2,ds-p3,ds-p4,ds-p5
    DataSourcePools: cal-pool(p1,p2,p3), cas-pool(p4,p5) , sync-pool (p1,p2) [note: sync is failover , other pools are proportional)
    DataViews: Root (all suffixes)
    ConnectionHandlers: cas-handler, cas-handler, sycn-handler
    We have two DPS instances in the cluster and are in production. We run into this "Unable to Retrieve" error about 15 to 20 times in 24hrs. Total operations are in 600K range for the 24hrs duration. The error is quite random. I do not see any exhaustion of max-connections per data source in cn=monitor.
    Error Samples from the logs:
    SAMPLE1:
    [17/Nov/2010:09:09:01 -0800] - PROFILE - INFO - conn=1707265 assigned to connection handler cn=cal-connection-handler,cn=connection handlers,cn=config
    [17/Nov/2010:09:09:01 -0800] - CONNECT - INFO - conn=1707265 client=x.x.x.x:47432 server=dsp-p2.x.x.x:3389 protocol=LDAP
    [17/Nov/2010:09:09:01 -0800] - OPERATION - INFO - conn=1707265 op=0 BIND dn="" method="SIMPLE" version=3 controls=""
    [17/Nov/2010:09:09:01 -0800] - OPERATION - INFO - conn=1707265 op=0 BIND RESPONSE err=0 msg="" etime=0
    [17/Nov/2010:09:09:01 -0800] - OPERATION - INFO - conn=1707265 op=1 msgid=2 SEARCH base="dc=x,dc=x" scope=0 controls="" filter="(objectclass=*)" attrs="*"
    [17/Nov/2010:09:09:07 -0800] - OPERATION - INFO - conn=1707265 op=1 SEARCH RESPONSE err=52 msg="Unable to process the search request. Reason: [Original error=52] Unable to retrieve a backend SEARCH connection." nentries=0 etime=6049
    [17/Nov/2010:09:09:07 -0800] - OPERATION - INFO - conn=1707265 op=2 UNBIND
    [17/Nov/2010:09:09:07 -0800] - DISCONNECT - INFO - conn=1707265 reason="unbind"
    SAMPLE2:
    [17/Nov/2010:10:40:18 -0800] - PROFILE - INFO - conn=1737625 assigned to connection handler cn=cal-connection-handler,cn=connection handlers,cn=config
    [17/Nov/2010:10:40:18 -0800] - CONNECT - INFO - conn=1737625 client=128.x.x.x:52906 server=dsp-p2.x.x.x:389 protocol=LDAP
    [17/Nov/2010:10:40:18 -0800] - OPERATION - INFO - conn=1737625 op=0 BIND dn="uid=adm,ou=applications,dc=x,dc=x" method="SIMPLE" version=2 controls=""
    [17/Nov/2010:10:40:19 -0800] - SERVER_OP - INFO - conn=1737625 op=0 BIND dn="uid=adm,ou=applications,dc=x,dc=x" method="SIMPLE" version=2 s_msgid=157 s_conn=ds-p1:70887
    [17/Nov/2010:10:40:19 -0800] - SERVER_OP - INFO - conn=1737625 op=0 BIND RESPONSE err=0 msg="" s_conn=ds-p1:70887
    [17/Nov/2010:10:40:19 -0800] - OPERATION - INFO - conn=1737625 op=0 BIND RESPONSE err=0 msg="" etime=1261
    [17/Nov/2010:10:40:19 -0800] - OPERATION - INFO - conn=1737625 op=1 msgid=2 SEARCH base="ou=people,dc=b,dc=e" scope=2 controls="" filter="(sn=282511)" attrs="uid displayname"
    [17/Nov/2010:10:40:26 -0800] - OPERATION - INFO - conn=1737625 op=1 SEARCH RESPONSE err=52 msg="Unable to process the search request. Reason: [Original error=52] Unable to retrieve a backend SEARCH connection." nentries=0 etime=6048
    [17/Nov/2010:10:40:27 -0800] - OPERATION - INFO - conn=1737625 op=2 UNBIND
    [17/Nov/2010:10:40:27 -0800] - DISCONNECT - INFO - conn=1737625 reason="unbind"
    SAMPLE3:
    [17/Nov/2010:15:31:41 -0800] - PROFILE - INFO - conn=1846610 assigned to connection handler cn=cal-connection-handler,cn=connection handlers,cn=config
    [17/Nov/2010:15:31:41 -0800] - CONNECT - INFO - conn=1846610 client=x.x.x.x:2247 server=dsp-p2.x.x.x:3636 protocol=LDAPS
    [17/Nov/2010:15:31:41 -0800] - OPERATION - INFO - conn=1846610 op=0 BIND dn="uid=x,ou=applications,dc=x,dc=x" method="SIMPLE" version=3 controls=""
    [17/Nov/2010:15:31:47 -0800] - OPERATION - INFO - conn=1846610 op=0 BIND RESPONSE err=52 msg="[Original error=52] Unable to retrieve a backend BIND connection." etime=6050
    Edited by: berkeley.edu on Nov 18, 2010 8:40 AM

  • Search criteria for insert/update bdoc

    Hi All,
    In our set up we have ecc to crm replication of BP. If one goes and checks the extension data of a stuck bdoc it has an Object Task- Insert or Update.
    Can someone help me with search criteria so that i can pull out bdocs which have an Insert as the Object task ??
    We have search criteria for errored/intermediate state bdocs; for inbound vs outbound; bdoc type etc etc..
    Need one based on Insert/Update Task so that any new data replication if stuck with its very first bdoc( Insert type) can be immediately queried.
    Regards
    Abhinav

    Hello Abhinav,
    I do not think that we have such a search criteria to search for BDocs based on the Task Type, which comes under the
    data part of the BDoc.
    One alternative way is to find out in which table these data gets stored and write a program to fetch the revelent Bdocs.
    Hope thisl helps!
    Best Regards,
    Shanthala Kudva

  • BAPI create customer with search term 2?

    Hi all,
    I'm looking for a BAPI/FM, which can create customer master record with 'Search term 2' input field. Pls let me know the BAPI/FM name if you know.
    Regards,
    Hung.

    Hello Hung,
    SD_CUSTOMER_MAINTAIN_ALL is used in standard during the maintenance of a consumer using the standard customer master data transaction XD01 & XD02.
    It is not intended to be used out of the transaction and in no case it should be used out of its original context. Due to the specificity of the function module, out of the original context we may face limitations and data inconsistencies.
    For the maintenance of customers, there is NO BAPI and NO direct function module.
    There are some functions modules like the one above where the name is looking nice. But these should not be used.
    Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See [note 384462|https://service.sap.com/sap/support/notes/384462]
    Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduce. See class CMD_EI_API and VMD_EI_API
    Hope this helps
    BR
    Alain

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • APP-PO-14094:No records meet your search criteria

    Hi,
    Merry Christmas Oracle forum members :-)
    I would like to have your advice on an error in oracle applications 11i. When trying to receive two approved specific purchase orders we get the error:
    APP-PO-14094:No records meet your search criteria
    Cause: There are no records that match your search criteria
    Action: Re-enter your search criteria with fewer or different parameters
    I checked the database tables: po_headers_all, po_lines_all,po_line_locations_all,and po_distributions_all and I can find nothing unusual.What am I missing?
    regards,

    AHS wrote:
    Hi,
    Merry Christmas Oracle forum members :-)
    I would like to have your advice on an error in oracle applications 11i. When trying to receive two approved specific purchase orders we get the error:
    APP-PO-14094:No records meet your search criteria
    Cause: There are no records that match your search criteria
    Action: Re-enter your search criteria with fewer or different parameters
    I checked the database tables: po_headers_all, po_lines_all,po_line_locations_all,and po_distributions_all and I can find nothing unusual.What am I missing?
    regards,Please see these docs.
    How To Reset a Purchase Order or Requisition From In Process or Pre-Approved To Incomplete/Requires Reapproval For Isolated Cases [ID 390023.1]
    Receiving.RECEIPTS Common Error Message WMSINB-22192 , APP-FND-00204 and APP-PO-14094 [ID 1251114.1]
    FAQ - Receiving.RECEIPTS [ID 1249431.1]
    How To Troubleshoot APP-PO-14094 When Performing Receiving Related Transactions [ID 444771.1]
    Common Receiving Issues after Installing or Upgrading to 11.5.10 [ID 309896.1]
    PO Status Affects Receiving Transactions (Receive, Deliver, Correct, Return, ASN) [ID 551232.1]
    Cannot Perform Return or Correction on a Purchase Order Line - Receive APP-PO-14094 Error [ID 188355.1]
    RCVTXERE / RCVTXECO: APP-PO-14094: No Records Meet Your Search Criteria [ID 1101403.1]
    What Receipts Can Be Queried By Requisition Number In Find Expected Receipts form? [ID 234814.1]
    RCVRCERC APP-PO-14094 FRM-40212: Invalid value for field REQ_NUM When Receipting an Internal Requisition Between Different Operating Units [ID 1489495.1]
    Thanks,
    Hussein

  • Interdependent Search Criteria with FPM Search GUIBB

    Hello everyone,
    I have the requirement to implement a FPM Search GUIBB where some search criteria are interdependent on each other. I will explain this with an example:
    We have two search criteria, "Country" and "City". All possible values of "Country" are shown in a drop down list box. When a value in that drop down list box is selected, the other drop down list box of possible cities should only show those values which fit to the selected country. So, when I select “Germany” the second drop down list box should only show Berlin, Frankfurt and Munich. When I select Spain it should only show Barcelona and Madrid, etc.
    I already found out, that something similar is possible with OVS Value Helps. Nevertheless, I would prefer to find a solution with drop down list boxes.
    Thanks in advance for your advices!

    Hi SF,
    As you said, It is actually a look-up field on the main catalog table.
    It will visible in MDM data Manager Drill down search if and only if you set Property Search Tab as Yes for field in main table which is look up to some sub table using MDM Console.
    Once you done , you will see this field as well in Drill down search and can pick more than one value using CTRL key.
    Other alternative i would suggest you is that, if you have any field of type text is blank in you main table say FIELDGA. Populate this field against the records who has USAGE = Group A using assignment.
    So, in this way you would have two fields in Free Form Search criteria, select value Group A from field FIELDGA in search selection and using original field USAGE select GROUP B. In this way u can achieve this.
    Better to go with property Search Tab = Yes for that lookup field in main table using MDM console.
    Kindly revert with the result.
    Thanks and Regards,
    Mandeep Saini

  • XML Report completes with error due to REP-271504897:  Unable to retrieve a string from the Report Builder message file.

    We are in the middle of testing our R12 Upgrade.  I am getting this error from the invoice XML-based report that we are using in R12. (based on log).  Only for a specific invoice number that this error is appearing.  The trace is not showing me anything.  I don't know how to proceed on how to debug where the error is coming from and how to fix this.  I found a patch 8339196 that shows exactly the same error number but however, I have to reproduce the error in another test instance before we apply the patch.  I created exactly the same order and interface to AR and it doesnt generate an error.  I even copied the order and interface to AR and it doesn't complete with error.  It is only for this particular invoice that is having an issue and I need to get the root cause as to why.  Please help.  I appreciate what you all can contribute to identify and fix our issue.  We have not faced this issue in R11i that we are maintaining right now for the same program which has been running for sometime.  However, after the upgrade for this particular data that the user has created, it is throwing this error REP-271504897.
    MSG-00100: DEBUG:  Get_Country_Description Return value:
    MSG-00100: DEBUG:  Get_Country_Description Return value:
    REP-0002: Unable to retrieve a string from the Report Builder message file.
    REP-271504897:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-271504897: MSG-00100: DEBUG:  BeforeReport_Trigger +
    MSG-00100: DEBUG:  AfterParam_Procs.Populate_Printing_Option
    MSG-00100: DEBUG:  AfterParam_Procs.Populate_Tax_Printing_Option
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Message_Details
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Org_Profile.
    MSG-00100: DEBUG:  Organization Id:  117
    MSG-00100: DEBUG:  BeforeReport_Trigger.Build_Where_Clause
    MSG-00100: DEBUG:  P_Choi
    Report Builder: Release 10.1.2.3.0 - Production on Tue Jul 23 09:56:46 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.

    Hi,
    Check on this note also : Purchasing Reports Fail When Changing Output To XML REP-0002 REP-271504897 REP-57054 (Doc ID 1452608.1)
    If you cant reproduce the issue on other instance, apply the patch on the test instance and verify all the funcionality related to the patch works OK. Then move the patch to production. Or you can clone the prod environment to test the patch.
    Regards,

  • I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show up.  How do I prevent this?

    I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show and open up.  How do I prevent this?

    Log in to your account, and move all your files to your home folder. No other users should be able to access them there and they won't show up with a Spotlight search.
    Make sure your kids' account(s) do not have admin privileges.

  • Unable to retrieve collections from the Search Service.

    Hi,
    I have a user trying to upload a collection. She gets the
    following error:
    Unable to retrieve collections from the Search Service.
    Please verify that the ColdFusion MX Search Server is
    installed and running.
    Obviously, I checked the service. It was running. I restarted
    the service. That did nothing. I restarted all the CF services.
    Didn't fix the issue. I also rebotted the server, not expecting
    that to work. It didn't.
    Checking the server logs, I see this:
    The description for Event ID ( 105 ) in Source ( ColdFusion
    MX 7 Search Server ) cannot be found. The local computer may not
    have the necessary registry information or message DLL files to
    display messages from a remote computer. You may be able to use the
    /AUXSOURCE= flag to retrieve this description; see Help and Support
    for details. The following information is part of the event:
    ColdFusion MX 7 Search Server.
    Also, after talking to my co-worker more, it turns out this
    occurred right after she uploaded a new collection to the
    administrator. This link sounds similar to what I'm experiencing:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=6c6881a9
    Maybe it's a corrupt collection?
    but I don't see any errors in the log
    (:\CFusionMX7\verity\Data\services\ColdFusionK2_indexserver1\log\status.log)
    Finally, there are some errors in the Verity service, and it
    looks like the Verity service Verity K2Server (Version 2.20pr6)
    points to D:\CFusionMX\lib\k2server.exe, which doesn’t exist
    anymore because we’ve upgraded to MX7.I'm not sure if this is
    an old service left over from before we upgraded from CFMX to
    CFMX7.
    We are running CFMX7 on a Windows 2003 Server SP1 if that
    matters.
    Thanks in advance for any help.

    In the left hand panel of the ColdFusion Administrator expand
    the Data & Services link. Then select the Verity K2 Server
    link. Change localhost to 127.0.0.1 in the Verity Host Name
    textbox.
    Ted Zimmerman

  • Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotfo

    Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotform.com, but this form doesn't search the site, instead it sends me an e-mail. Do you have a solution for me? Thanks.

    Hi I want to create a search form with drop down search criteria. This form should then search on the same site and display the search results. Is there HTML available for this? Or an oline site that I can use to build this form? I created a form in Jotform.com, but this form doesn't search the site, instead it sends me an e-mail. Do you have a solution for me? Thanks.

Maybe you are looking for

  • How to configure sync with my local ftp server?

    I have used XMarks since now because it hallow me to synchronize my bookmarks with my local server. Now XMarks don't work anymore because it's not more possible to synchronize the passwords. Any other alternative imposes to use an external server and

  • My Mac Mini won't shutdown it keeps restarting. Help!

    I have brought my Mac Mini a week ago, the basline model (new 2012). I go to shut it down and it just reastarts and show me the screen saying there was a problem, I can't reslove the issue, and I had to result in holding the power button down. What i

  • Updated my itouch gen 4 32g to Ios 5 and now itunes can't find music files

    I did a search and could not find anything about my specific issue.  I was hoping to get some help if possible. So I did the update to IOS 5 and everything went fine..........except for one thing.  I have all my music stored on an external hard drive

  • Using the 'route print' Command in Windows 7 - Detailed Screen Captures

    The 'route print' Command from an Administrative Command Prompt in Windows 7 provides a variety of useful information.  Let's take a look at the output of a 'route print' Command to examine how the output data is grouped and to understand its logic.

  • Re : Maintenance view

    Hi       We created two customized table and alos set foregin key relation ship. That was working fine. Then we try to create maintanance view for the above two table. There I include the base table, then I selected relation bush button to add the se