Multiple custom category query fails

We are having a problem issuing multiple-category searches. We have created a purchase order category and an invoice category to assign to purchase order and invoice documents respectively. Both categories have a PurchaseOrderNo field since the documents are related by purchase order number.
We can search for documents where 'PurchaseOrder:PurchaseOrderNo=1234' and retrieve the purchase order; we can also search for documents where 'Invoice:PurchaseOrderNo=1234' and retrieve the appropriate invoices. However, if we search for documents where 'PurchaseOrder:PurchaseOrderNo=1234 OR Invoice:PurchaseOrderNo=1234' we get no results. How do we give our users what they expect to see which is the purchase order and all its associated invoices?
Thanks.

Hi
This search bug is specifically related to using a category instance attribute condition under an "OR" branch/tree as part of your search expression. If you are not using a category attribute search condtion in your search expression under an "OR" branch, then you are not running in to this particular bug. As far as this particular bug is concerned ...
Code changes and testing have been completed on the Content DB code line to fix the bug (associated bug # is 5871454).
No external patch is yet available, though we are expecting a new CDB major patchset to be available soon (in the next month) which will contain this fix.
If you have access to an Oracle rep, they may be able to send you a very rough one-off patch/fix for this problem for Content DB 10.2 instances. The internal only one-off patch is referenced in the bug above.
Unfortuntely I have no time frame as to when this fix may be available for Content Services instances. Backporting has not been done to the Content Services code line.
thanks
Matt.

Similar Messages

  • Query Failed: [nQSError: 46036] Internal Assertion ( OBIEE error)

    Hi Friends.
    Did anyone faced this problem. I am using custom filters on reports. The reports work well for 5 filters but start giving error on last filter. As far as I can guess its an internal OBIEE optimizer error. Can anyone faced this problem and help
    A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 46036] Internal Assertion: Condition pCond, file server\Query\Optimizer\Request\Src\SQORRqList.cpp, line 2604.Please have your System Administrator look at the log for more details on this error. (HY000)

    We faced same problem. There is no clear definition of error even we increase log trace level to 7.
    Query Status: [nQSError: 46036] Internal Assertion: Condition pCond, file server\Query\Optimizer\Request\Src\SQORRqList.cpp, line 2716. [[
    We will open a ticket to Oracle Support.

  • Customer Master - Customer Category

    Hi All,
    Customer Master having a field called Customer Category, Presently its having 2 records, I would like to add a new record in that. As i checked lookup forms, there is no category, but when i check the below query its showing 2 records like (CUSTOMER,PROSPECT).
    SELECT * FROM FND_LOOKUP_VALUES_VL WHERE LOOKUP_TYPE='CUSTOMER_CATEGORY'
    If there is anyway to add a new customer category please tell me. It will be more useful to solve this issue.
    Version Used: R12.1.1
    Edited by: user568657 on Jun 10, 2011 5:50 AM

    Hello.
    You can navigate to /Setup/System/Quick Codes/Receivables, query for CUSTOMER_CATEGORY type and create a new customer category.
    Octavio.

  • MOQ based upon Customer category

    HI -We wanted to set up MOQ for material based upon customer category. For Ex All end users for Product A can order the product with any qty. Where as All Dealers order only should be in Min Ord qty or Multiples of this?
    Any thoughts to accomplish this?
    Reg
    Siva

    Hi
    This can be achieved by enhancement (userexit_save_document_prepare in MV45AFZZ).
    You need to maintain a Z-table having min qty details for cust cat. You can even maintain material number if you have less number of materials.
    thank you

  • Can you assign multiple customer masters to one Business Partner in R/3?

    We are trying to configure SAP Business Partners in ECC5.0 but it seems the relationship between a business partner and a customer master is one-to-one so a business partenr cannot have multiple customers (table BD001 only allows for a single entry).  Does anyone know if it's possible to assign multiple customer masters to one business partner?  If so, is there any documentation available?
    Many thanks.

    We are trying to configure SAP Business Partners in ECC5.0 but it seems the relationship between a business partner and a customer master is one-to-one so a business partenr cannot have multiple customers (table BD001 only allows for a single entry).  Does anyone know if it's possible to assign multiple customer masters to one business partner?  If so, is there any documentation available?
    Many thanks.

  • Change Sales Order category to custom category in CIF

    Hi,
    I am CIFing Sales Order from ECC to APO, as per my requirement I need to change the category of sales order for which their are no confirmation.
    The Sales order get CIFed to APO in standard category BM and i want to change to custom category ZM
    I am using a user exit EXIT_SAPLCSLS_002 to read the Sales Order in ECC and changing the Sales Order ATP category to ZM but I am getting an error that it does not match correctly.
    but when I use a different standard category BL instead of ZM it works properly.
    Has anyone used an user exit to change the Sales Order Category, can you please help?
    Thanks & Regards,
    Sanjog Mishrikotkar

    Hi,
    Please try the user exit EXIT_/SAPAPO/SAPLCIF_SLS_001 in APO. This will be called while transferring the Sales orders to APO and the category will be changed. Also maintain the category you are changing in APO.
    Please look at the link for further details
    http://help.sap.com/saphelp_scm50/helpdata/EN/8f/987337e68ae526e10000009b38f889/content.htm
    Regards,
    Sireesh

  • How can I use the Rownum/Customized SQL query in a Mapping?

    Hi,
    * I need to use a Rownum for populating one of the target field? How to create a mapping with Rownum?
    * How can I use an Dual table in OWB mapping?
    * Can I write Customized SQL query in OWB? How can I achieve this in a Mapping?
    Thanks in Advance
    Kishan

    Hi Niels,
    As I'm sure you know, the conundrum is that Reports doesn't know how many total pages there will be in the report until it is all done formatting, which is too late for your needs. So, one classical solution to this problem is to run the report twice, storing the total number of pages in the database using a format trigger, and throwing away the output from the first run when you don't know the total number of pages.
    Alternatively, you could define a report layout so that the number of pages in the output is completely predictable based upon, say, the number of rows in the main query. E.g., set a limit of one, two, ... rows per page, and then you'll know how many pages there will be simply because you can count the rows in a separate query.
    Hope this helps...
    regards,
    Stewart

  • Can we implement the custom sql query in CR for joining the two tables

    Hi All,
    Is there anyway to implement the custom sql query in CR for joining the two tables?
    My requirement here is I need to write sql logics for joining the two tables...
    Thanks,
    Gana

    In the Database Expert, expand the Create New Connection folder and browse the subfolders to locate your data source.
    Log on to your data source if necessary.
    Under your data source, double-click the Add Command node.
    In the Add Command to Report dialog box, enter an appropriate query/command for the data source you have opened.
    For example:
    SELECT
        Customer.`Customer ID`,
        Customer.`Customer Name`,
        Customer.`Last Year's Sales`,
        Customer.`Region`,
        Customer.`Country`,
        Orders.`Order Amount`,
        Orders.`Customer ID`,
        Orders.`Order Date`
    FROM
        Customer Customer INNER JOIN Orders Orders ON
            Customer.`Customer ID` = Orders.`Customer ID`
    WHERE
        (Customer.`Country` = 'USA' OR
        Customer.`Country` = 'Canada') AND
        Customer.`Last Year's Sales` < 10000.
    ORDER BY
        Customer.`Country` ASC,
        Customer.`Region` ASC
    Note: The use of double or single quotes (and other SQL syntax) is determined by the database driver used by your report. You must, however, manually add the quotes and other elements of the syntax as you create the command.
    Optionally, you can create a parameter for your command by clicking Create and entering information in the Command Parameter dialog box.
    For more information about creating parameters, see To create a parameter for a command object.
    Click OK.
    You are returned to the Report Designer. In the Field Explorer, under Database Fields, a Command table appears listing the database fields you specified.
    Note:
    To construct the virtual table from your Command, the command must be executed once. If the command has parameters, you will be prompted to enter values for each one.
    By default, your command is called Command. You can change its alias by selecting it and pressing F2.

  • Problem in deleting the orders under Custom category.

    Hi friends,
            I am facing some problem in deleting the Orders which were created under custom category. In fact we are creating Intransits under Standard category "EI" as well as Custom Category "ZP". I am able to modify the intransits created under "EI" but when I tried to change or delete the orders created under Category "ZP", I am getting a messag triggered by BAPI as " Order can not be changed". atleast I need to delete the order if change is not possible. I am using the BAPI "BAPI_SLSRVAPS_CREATEINTRANS" to create intransits under "EI" and i am using the same BAPI with BADI implementation to "SAPAPO_DM_PO_CHANGE" to create intransits under "ZP". Based on the condition I am changing the am changing the category from EI  to ZP in the BADI.
           I am able to change or delete the orders created under the EI but when I tried to change or delete the orders under ZP its giving me a message as Order can not be changed.
           One more thing is If I go to Tcode /SAPAPO/RLCDEL trying to delete all the orders based on category. I am able to see all the orders under created under EI. If  I tried to delete the orders based on Custom category ZI it is giving me the message  as "No Orders exists in Live cache". But I am able to see the orders in tcode "SAPAPO/RRP3".
           Can any one help me out in making this done. Please help me out in this.
    Thanks & Regards,
    Ramana.

    Hi Visu,
               I really appreciate your gr8 help. Hope you can understand my problem that I am not a SCM person. Still you are responding to my questions with great patience.
               Here what I found is I found the record in OM19 transaction in the object "/SAPAPO/OM_ORDER_EXT_STR". But the interesting is its giving me the GUID as blank . there is empty value in that field. where as the program "/SAPAPO/OM_DELETE_INCON_ORDERS" is asking for the "order GUID".
             can you help me out in finding the order guid and deleting this order.
    Regards,
    Ramana.

  • How to send multiple customer statements by email using RFKORD11 program.

    Hi All,
    How to send multiple customer statements by email using RFKORD11 program. Is it possible?
    As of now we copied the stanadard program and sending the customer statements by email, one by one.
    if i execute the z program it will show the customer statement and send mail option.
    if i click send mail it will send that customer statement to the corresponding customer.
    then again i need to click back, it will show next customer statement and click on send mail.
    Pl guide me, if any one worked on this program.
    thanks in advance.
    Regards,
    Mahesh

    Try execute the program in the background to see if that helps.

  • How to send multiple customer statements by email using RFKORD11

    Hi All,
    How to send multiple customer statements by email using RFKORD11 program.
    As of now we copied the stanadard program and sending the customer statements by email, one by one.
    if  i execute the z program it will show the customer statement and send mail option.
    if i click send mail it will send that customer statement to the corresponding customer.
    then again i need to click back, it will show next customer statement and click on send mail.
    Pl guide me, if any one worked on this program.
    Regards,
    Mahesh

    Hi .
    You first need to copy that program to Z and make the changes in it. Can you convert sapscript to smartform?
    then you can write a logic to send mail in the loop.
    to send the pdf file
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/mailsendthroughoutputcontrols
    Regards,
    Madhuri
    Edited by: madhuri sonawane on Jun 10, 2009 4:20 PM

  • Getting Rest Query failed error.

    Hi,
    I have integrated my app with facebook. I am able to post my reviews and comments on FB but when I click on link in FB post, its redirectign me to the required url but not loading the review.
    Can any body tell me why this happens.
    here are logs:
    2013-05-22 18:29:17,281 [http-bio-8090-exec-10] ERROR com.fatwire.wsdk.rest.WidgetSDKResource - Failed to execute method feed in widget wsdk.reviews
    com.fatwire.cos.ex.CoSServerException: com.fatwire.cos.ex.CoSServerException: REST query failed
         at com.fatwire.cos.core.jpa.query.CoSJpaQuery.getSingleResult(CoSJpaQuery.java:161)
         at com.fatwire.cos.records.RecordManager.countRecords(RecordManager.java:462)
         at com.fatwire.wsdk.cos.records.processors.feed.RecordListReadProcessor.calculatePageNo(RecordListReadProcessor.java:229)
         at com.fatwire.wsdk.cos.records.processors.feed.RecordListReadProcessor.getPageNo(RecordListReadProcessor.java:186)
         at com.fatwire.wsdk.cos.records.processors.feed.RecordListReadProcessor.process(RecordListReadProcessor.java:62)
         at com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68)
         at com.fatwire.wsdk.pipeline.impl.PipelineImpl.execute(PipelineImpl.java:60)
         at com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68)
         at com.fatwire.wsdk.rest.WidgetSDKResource.executeWidgetMethod(WidgetSDKResource.java:183)
         at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
         at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
         at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
         at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
         at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
         at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
         at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
         at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.fatwire.cos.comments.service.filters.RestFilter.doFilter(RestFilter.java:141)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.fatwire.cos.core.i18n.ResourceFilter.doFilter(ResourceFilter.java:45)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.fatwire.cos.core.sso.SSOContextFilter.doFilter(SSOContextFilter.java:64)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:219)
         at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.fatwire.cos.core.sso.GeneralPreparationsFilter.doFilter(GeneralPreparationsFilter.java:68)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.fatwire.cos.core.util.web.StartupGuardFilter.doFilter(StartupGuardFilter.java:42)
         at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
         at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
         at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
         at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
         at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: com.fatwire.cos.ex.CoSServerException: REST query failed
         at com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.execREST(WemCommandManager.java:356)
         at com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.execGET(WemCommandManager.java:192)
         at com.fatwire.cos.core.jpa.cmd.wem.WemCountQueryCommand.findResult(WemCountQueryCommand.java:79)
         at com.fatwire.cos.core.jpa.cmd.wem.WemCountQueryCommand.executeSingle(WemCountQueryCommand.java:68)
         at com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68)
         at com.fatwire.cos.core.jpa.query.CoSJpaQuery.getSingleResult(CoSJpaQuery.java:156)
         ... 104 more
    Thanks in advance.
    Thanks,
    Nelash jindal

    Hi There,
    Please try the below steps and check if it helps :
    Go to C:/programfiles/Adobe/Adobe Captivate(version)/AdobeCaptivate.ini           
    Open the file with notepad and add the line Use32BitJVMForPublish=1 
    Save it and Try to publish the project .
    Regards,
    Mayank

  • The following query failed: GetUserProfileByName - with the wrong username

    I have 2 users (out of 800), who run into this issue on occasion. Their username is 'fccs\user1' in the profile db, and in every UserInfo table in the system. But when they try to go to certain sites or open an infopath form, this error gets thrown:
    The following query failed: GetUserProfileByName (User: FCCS\[email protected], Form Name: Template, IP: , Connection Target: , Request: http://fccsteams/sites/DataManagement/Tasks/Lists/Tasks/Folders1.aspx?RootFolder=/sites/DataManagement/Tasks/Lists/Tasks/2013/11&, Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2013-08-05T23:14:53:458Z Type: DataAdapterException, Exception Message: The remote server returned an error: (500) Internal Server Error.  Operation Failure ---> Access Denied: To create a user profile, you must be an administrator, or create your own profile and have personal features rights.  UnauthorizedAccessAccess Denied: To create a user profile, you must be an administrator, or create your own profile and have personal features rights. The remote server returned an error: (500) Internal Server Error.)
    Notice how the username is now the entire email address and not just the username. I have no idea why it thinks that that is their username. Any ideas?

    Hi,
    According to your post, my understanding is that you got query failed error.
    Melick had written a blog said that the form access the user profile web service (Userprofileservice.asmx) using  UDC
    file.
    You can check whether the UDC connection was still pointing to root site.
    You can change this file to match with the sub site collection. Otherwise there may be a cross domain access issue.
    There are similar threads for your reference.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9c2f7f4c-0fa9-43bd-94b1-1d7075e35841/5566-error-with-getuserprofilebyname-and-infopah-browser-forms-using-claims-based-authentication
    http://social.msdn.microsoft.com/Forums/en-US/49753330-40c0-4327-9a9b-2c3304a74e67/sharepoint-infopath-and-populating-forms-with-ad-data?forum=sharepointcustomizationlegacy
    Thanks & Regards,
    Jason 
    Jason Guo
    TechNet Community Support

  • The issue with using the multiple columns sub-query in WHERE clause

    Hi All,
    my database version is 10.2.
    the problem i am trying to deal with is that when I use multiple column sub-query in the WHERE clause of the SELECT statement, the actual row number returned from the sub-query is different from the whole statement.
    And what I found is that, whenever there is NULL in any of those columns returned from the SUB-QUERY, the outer query will just return NULL for that whole row.
    Here is an example:
    select empno, ename, job, mgr, hiredate, sal, deptno from EMP
    intersect
    select empno, ename, job,  mgr, hiredate, sal, deptno from t;
    7782     CLARK     MANAGER     7839     09-JUN-81     2450     10
    7839     KING     PRESIDENT  NULL  17-NOV-81     5000     10
    7934     MILLER     CLERK     7782     23-JAN-82     1300     10
    select * from EMP where (EMPNO, ENAME, job, MGR, HIREDATE, SAL, DEPTNO) in (
    select empno, ename, job, mgr, hiredate, sal, deptno from EMP
    intersect
    select empno, ename, job,  mgr, hiredate, sal, deptno from t);
    7782     CLARK     MANAGER     7839     09-JUN-81     2450          10     
    7934     MILLER     CLERK     7782     23-JAN-82     1300          10     If I specifically deal with the NULL situations for the columns which might return NULL, I can get the result right.
    select * from EMP where (EMPNO, ENAME, job, NVL(MGR,-1), HIREDATE, SAL, DEPTNO) in (
    select empno, ename, job, nvl(mgr,-1), hiredate, sal, deptno from EMP
    intersect
    select empno, ename, job,  nvl(mgr,-1), hiredate, sal, deptno from t);
    7782     CLARK     MANAGER     7839     09-JUN-81     2450          10     
    7839     KING     PRESIDENT  null   17-NOV-81     5000          10     
    7934     MILLER     CLERK     7782     23-JAN-82     1300          10     the problem is that, I feel this is a very lame way of handling it.
    So, I wonder or am asking if there is any better or standard way to do it?
    any help would be highly appreciated.
    Thanks

    Hi,
    As you discovered, INTERSECT treats NULL as a value, but IN does not.
    What you did with NVL is one way to handle the situation. If there was a chance that any of the columns could be NULL, then you might prefer something like this:
    select      *
    from      EMP
    where      ( EMPNO      || '~' ||
           ENAME      || '~' ||
           job           || '~' ||
           MGR           || '~' ||
           TO_CHAR (HIREDATE, 'DD-MON-YYYY HH24:MI:SS')
                    || '~' ||
           SAL           || '~' ||
           DEPTNO
         ) in (
              select  EMPNO      || '~' ||
                     ENAME      || '~' ||
                   job     || '~' ||
                   MGR     || '~' ||
                   TO_CHAR (HIREDATE, 'DD-MON-YYYY HH24:MI:SS')               
                        || '~' ||
                   SAL      || '~' ||
                   DEPTNO
              from     emp
             intersect
              select  EMPNO      || '~' ||
                     ENAME      || '~' ||
                   job     || '~' ||
                   MGR     || '~' ||
                   TO_CHAR (HIREDATE, 'DD-MON-YYYY HH24:MI:SS')               
                        || '~' ||
                   SAL      || '~' ||
                   DEPTNO
              from      t
             );This assumes that you can identify some string (I used '~') that never occurs in the strings in these tables.
    This is implicitly converting the NUMBERs. That's usually not a good thing to do. but explicitly converting them would make this even more tedious.
    You should explicitly convert any DATEs to strings, however. Depending on your default format, and your data, you might get away with implicit conversions even for DATEs, but don't bet on it.
    If you had to do this often, you might consider writing a user-defined function:
    delimited_string (empno, ename, job, mgr, hiredate, sal, deptno) would return a string like
    '7839~KING~PRESIDENT~~17-NOV-1981~5000~10'
    This will make the coding easier, but beware: it will make the execution slower.

  • Customer sales report by customer category

    Hi to all,
    as we have maintained a price lists customer wise and the attached the customer according to its category.so when i apply a price change to a specific category it ill automatically applicable to all the customer under this category.
    now my question is that can i have a sales report as per the customer category instead of puttting individual customer codes to execute the report?
    thanks
    Attiq

    Dear JP the error is "no condition record exist for this selection"
    but if i am not wrong this is a pricing report not the sales report,i need sales report.
    thanks.

Maybe you are looking for

  • Does Adobe Care Anymore?

    Now that Quark XPress is all but dead (yay!), and there's no other comparable page-layout program, does Adobe really care about their customers? I'm prompted to pose that question since the introduction of InDesign CC and CC2014. I've been using Adob

  • A part of an image frame is on other page as well, it is misplacing while creating PDF for print

    I am working on a design in which there is an image frame box with outline & shadow. This box is continuing from one page to other page as well. (80% on one page & 20% on the other) When I am previrewing it in InDesign Booklet SE, it's showing perfec

  • Is there ANY way i can develop j2me applications in NetBeans for Solaris?

    Ok, i don't like to complain, but this is really starting to tick me off. Here I am on this AMAZINGLY stable beautiful feature rich operating system that is Solaris SXDE. I am a Student and I LOVE java, I decided to try my hand at j2me programming, I

  • Float - string

    I have float BMIndex and I would like to display the number in a panel. I think the only way I can do this is to copy float BMIndex to string BMIstring, but I can't figure out how. There doesn't seem to be a parse method in string, and the few things

  • What are .lct and .ldt files?

    Hello! I'd like to know what these .lct and .ldt files are. What is their purpose in migrating from one instance to the other