BP contacts query

Hi All
Please help me with a query showing all contacts added to a BP within a specified time. This is what I have so far:
SELECT T0.[CardCode], T1.CARDNAME, T0.NAME as 'Contact Person' , T0.Cellolar, T0.[updateDate],  T2.U_NAME as 'User'
FROM ACPR T0 INNER JOIN OUSR T2 ON T0.USERSIGN = T2.USERID
INNER JOIN OCRD T1 ON T1.CardCode = T0.CardCode
WHERE T0.UPDATEDATE >= '[%0]' AND T0.UPDATEDATE <= '[%1]'
I cant get it to display only the most recent updated contact
Please help!!

Dear Mr Hibbert,
I noticed that you have '%0' and '%1'
However, it looks like you are using B1 and not sql server.
You need to use this syntax:
WHERE T0.UPDATEDATE >= [%0] AND T0.UPDATEDATE <= [%1]
Please, let me know if it works.
Marcella Rivi
SAP Business One Forums Team

Similar Messages

  • Maximum Page size for contact query

    Hi,
    Is there any way to return all the records when performing a search on contacts instead of specifying the pagesize filed or how can I specify PageSize = MAX.
    thanks
    Jay

    Hey Jay,
    The PageSize MAX is 100. You can't specify more or 'All'. Imagine a database where you have 100000 records, what will be the size of the response if you have all the records ? That's why you should use the LastPage info to continue querying with a startRowNum += PageSize. Put your queries in a loop and finish when lastpage is false.
    Hope this will help, feel free to ask more.
    Max

  • Another 8520 Clear Contacts Query

    Hi,
    I'm trying to clean up an 8520 for my daughter, and the contacts are causing me the problems. I've searched the forums for an answer to the issue of clearing all contacts, but unfortunately the two that seem most common may not work.
    The first is using Blackberry Desktop -
    For BlackBerry Desktop Software 6.0 to 7.0
    Connect the smartphone to the computer. 
    In the BlackBerry Desktop Software, go to the Device menu and click Delete Data. 
    Choose the Selected Data option and select the Address Book - Allcheck box. 
    Click Delete.
    Steps 1 and 2 ok, but at 3, the "Address Book - All" is greyed out with a message telling me it is read-only data type and cannot be deleted.
    Second option is to use security wipe. However, when I go through Options - Security Options - Security Wipe, I have the option "Emails, Contacts, etc." but with a warning  that "You will not be able to send or receive e-mail from this device after you wipe it". Obviously I am a tad worried at this statement - does this mean that until I restore contacts and set up a new e-mail account, or does it disable e-mail permanently? Apologies if a daft question, but as I am over 21 years of age, this sort of technology is way beyond me!!!
    Many thanks.

    Hi! About your question on security wipe. Of course you will not be able to send/receive e-mails after you wipe it (because the email's will be lost). But don't worry you still can receive/send emails after you sync new emails.
    This will not permanently disable you to this on your device.
    Cheers!
    Click " Like " if you want to Thank someone. If Problem is resolved accept it as a "Solution ", so that others can make use of it.
    Click if you want to Thank someone. If Problem is resolved, so that others can make use of it.

  • Specifying multiple books in WS2 web services query

    Hi,
    I am wondering if anybody has managed to use web services to query data and restrain by more than 1 book of business. According Oracle Support this can be done though the use of searchspec to determine the Book. I have tried this with no success
    Here is a SOAP message with just a single Book reference. It returns no results?
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body>
    <ContactQueryPage_Input xmlns="urn:crmondemand/ws/ecbs/contact/">
    <ListOfContact xmlns="urn:/crmondemand/xml/Contact/Query">
    <Contact searchspec="([ContactFirstName] = 'John') AND ([BookId] = 'AHIA-N3S58')"><Id />
    </Contact>
    </ListOfContact>
    </ContactQueryPage_Input></soap:Body></soap:Envelope>
    For multiple books the searchspec would be
    <Contact searchspec="([ContactFirstName] = 'John') AND ([BookId] = 'AHIA-N3S58') AND ([BookId] = 'AHIA-N3S76')"><Id />
    Any guidance is appreciated.
    Edited by: user10730659 on 11-Nov-2012 20:59

    Hi Christina,
    Thanks for your response. I had a typo in my initial description the searspec should have read:
    <Contact searchspec="([ContactFirstName] = 'John') AND (([BookId] = 'AHIA-N3S58') OR ([BookId] = 'AHIA-N3S76'))"><Id />
    Have you been able to specify the BookId in the searchspec successfully?
    I dont get an error thrown just no results returned - when I just specfiy 1 book. I normally set the book Id in the query but when using multiple books this won't work, hence why I am looking to use the searchspec...

  • Help with Syntax

    <soapenv:Envelope xmlns:soapenv=
    "http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="urn:xxx/xx/ecbs/object/"
    xmlns:quer="urn:xxx/xx/ecbs/object/Query">
    <soapenv:Header/>
    <soapenv:Body>
    <ns:operation_Input>
    <quer:ListOfContact pagesize="100" startrownum="0" recordcountneeded="True">
    <quer:Contact searchspec="">
    <quer:ModifiedDate></quer:ModifiedDate>
    <quer:ContactFirstName>='xxx yyy'</quer:ContactFirstName>
    </quer:Contact>
    </quer:ListOfContact>
    <ns:ViewMode>Organization</ns:ViewMode>
    </ns:operation_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    I am using the above query in SOAP UI and I get expected results.I want to get the same results through Datastage.I get syntax error.Datastage is not taking the spaces.EX:If I give ContactFirstName='xxx' I get the results.But If I give ContactFirstName='xxx yyy' I get error.
    Webservices_rec..XML_Input_14: com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception: <ns1:Fault xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP-ENV:Server</faultcode><faultstring>Error while processing argument urn:/crmondemand/xml/Contact/Query:ListOfContact for operation ContactQueryPage(SBL-EAI-04316)</faultstring><detail><siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault"><siebelf:logfilename>OnDemandServicesObjMgr_enu_175507.log</siebelf:logfilename><siebelf:errorstack><siebelf:error><siebelf:errorcode>(SBL-EAI-04316)</siebelf:errorcode><siebelf:errorsymbol/><siebelf:errormsg>Error while processing argument urn:/crmondemand/xml/Contact/Query:ListOfContact for operation ContactQueryPage(SBL-EAI-04316)</siebelf:errormsg></siebelf:error><siebelf:error><siebelf:errorcode>(SBL-EAI-04121)</siebelf:errorcode><siebelf:errorsymbol>IDS_EAI_ERR_INTOBJHIER_ATTR_UNKN</siebelf:errorsymbol><siebelf:errormsg>Field with XML tag &apos;null&apos; and XML Style of &apos;Attribute&apos; is not found in the definition of EAI Integration Component &apos;Contact&apos;(SBL-EAI-04121)</siebelf:errormsg></siebelf:error></siebelf:errorstack></siebelf:siebdetail></detail></ns1:Fault>
    Please advice.

    When you have single quotes within a phrase surrounded by single quotes, like:
    you have to put an extra single quote in front of each of the inner single quotes like so:
    Please see the demonstration below, in which the single quotes surrounding your date values and format strings have been doubled.
    SCOTT@10gXE> CREATE TABLE names
      2    (forenames  VARCHAR2 (15),
      3       dob        DATE)
      4  /
    Table created.
    SCOTT@10gXE> INSERT INTO names
      2  VALUES ('John', TO_DATE ('01/01/1961', 'dd/mm/yyyy'))
      3  /
    1 row created.
    SCOTT@10gXE> BEGIN
      2    CTX_DDL.CREATE_INDEX_SET ('names_iset');
      3    CTX_DDL.ADD_INDEX ('names_iset', 'dob');
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    SCOTT@10gXE> CREATE INDEX names_idx
      2  ON names (forenames)
      3  INDEXTYPE IS CTXSYS.CTXCAT
      4  PARAMETERS ('INDEX SET names_iset')
      5  /
    Index created.
    SCOTT@10gXE> -- reproduction of error:
    SCOTT@10gXE> SELECT COUNT (FORENAMES)
      2  FROM   NAMES
      3  WHERE  CATSEARCH
      4             (FORENAMES,
      5              'JOHN',
      6              'DOB BETWEEN TO_DATE ('01/01/1960','dd/mm/yyyy')
      7                AND TO_DATE ('01/01/1962','dd/mm/yyyy')') > 0
      8  /
              'DOB BETWEEN TO_DATE ('01/01/1960','dd/mm/yyyy')
    ERROR at line 6:
    ORA-00907: missing right parenthesis
    SCOTT@10gXE> -- correction:
    SCOTT@10gXE> SELECT COUNT(FORENAMES)
      2  FROM   NAMES
      3  WHERE  CATSEARCH
      4             (FORENAMES,
      5              'JOHN',
      6              'DOB BETWEEN TO_DATE (''01/01/1960'',''dd/mm/yyyy'')
      7                AND TO_DATE (''01/01/1962'',''dd/mm/yyyy'')') > 0
      8  /
    COUNT(FORENAMES)
                   1
    SCOTT@10gXE>

  • Create Service Consumer BS: java.lang.NoClassDefFoundError

    Hello,
    I am trying to create service Consumer Business Service (consume a Web Service from JD Edwards Enterprise One).
    To do that I have followed the next steps:
    1) Download the WSDL file from CRM On Demand’s web page
    2) From JDE:
    a. Create a business service from OMW
    b. Generate a web service proxy within JDeveloper
    In this step, it was necessary rename the Business Service Package =>
    A portion of the proxy package name must be in upper case; however, JDeveloper named the proxy using lower case.
    I have followed “JD Edwards EnterpriseOne Tools 8.97 Business Services Development Guide” to rename the Business Service Package:
    "Renaming the Business Service Package
    You must rename the package so that the name matches the case of the rest of the
    business service. After you rename the package, you should rebuild the code to ensure
    no errors exist. Use these steps to rename the business service package.
    ► To rename business service package
    In the business service project on JDeveloper
    1. Select the business service package, and then click Replace in Files on the Search menu.
    2. On the Replace in Files window, enter the lower case name (for example, jrh90i20).
    3. Enter the upper case name (for example, JRH90I20).
    4. In the Search Path pane, select the Active Project option.
    5. Click OK.
    The upper case name appears.
    6. Save the renamed file by selecting Save All from the File menu.
    You should rebuild the code to make sure no errors exist."
    However, when I try to generate a secure proxy I have the error:
    java.lang.NoClassDefFoundError --> It is trying to find the package with lower case name, however it is in upper case name…
    Do you know if it is necessary to do something change more? Change some reference file or any path?
    I think that when JDeveloper deploys the secure proxy, internally it has some reference with the lower case name, and it isn’t changed with “Renaming the Business Service Package”…
    I am looking for some file that has some reference but I haven’t found nothing…
    Any help is welcome.
    The log file is:
    java.lang.NoClassDefFoundError: oracle/e1/bssv/j5500007/proxy/types/crmondemand/xml/contact/query/ListOfContactQuery (wrong name: oracle/e1/bssv/J5500007/proxy/types/crmondemand/xml/contact/query/ListOfContactQuery)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at oracle.ideimpl.IdeClassLoader.loadClass(IdeClassLoader.java:129)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaAnalyzer.getValueClassBeanInfo(SchemaAnalyzer.java:465)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.structuredType(ComplexTypeBindingModeler.java:142)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.complexType(ComplexTypeBindingModeler.java:442)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.complexType(LiteralSchemaTypeModeler.java:502)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.schemaType(LiteralSchemaTypeModeler.java:380)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.processElementMember(ComplexTypeBindingModeler.java:339)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.processMember(ComplexTypeBindingModeler.java:191)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.structuredType(ComplexTypeBindingModeler.java:168)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.complexType(ComplexTypeBindingModeler.java:442)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.complexType(LiteralSchemaTypeModeler.java:502)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.schemaType(LiteralSchemaTypeModeler.java:380)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.schemaType(LiteralSchemaTypeModeler.java:136)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.schemaType(LiteralSchemaTypeModeler.java:145)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaAnalyzer.schemaTypeToLiteralType(SchemaAnalyzer.java:395)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.searchSchema(WSDLModeler.java:566)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.OperationModeler.searchSchema(OperationModeler.java:946)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.DocLiteralOperationModeler.buildInput(DocLiteralOperationModeler.java:525)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.DocLiteralOperationModeler.buildOperation(DocLiteralOperationModeler.java:256)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.OperationModeler.process(OperationModeler.java:93)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.processSOAPOperation(WSDLModeler.java:1094)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.processBindingOperation(WSDLModeler.java:1028)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.createNewPort(WSDLModeler.java:892)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.processPort(WSDLModeler.java:765)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.processService(WSDLModeler.java:679)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:404)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:223)
    at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:173)
    at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:72)
    at oracle.j2ee.ws.tools.wsa.AssemblerTool.run(AssemblerTool.java:95)
    at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createModel(WsdlToJavaTool.java:398)
    at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.getSeiInfo(WsdlToJavaTool.java:536)
    at oracle.j2ee.ws.tools.wsa.Util.getSeiInfo(Util.java:230)
    at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1085)
    at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2285)
    at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2156)
    at oracle.jdeveloper.webservices.model.java.JavaWebService.<init>(JavaWebService.java:308)
    at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.updateServiceModel(WebServiceProxy.java:1190)
    at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.getServiceTargetNamespace(WebServiceProxy.java:1593)
    at oracle.jdeveloper.webservices.model.OracleWebServicesUtils.createInitialClientOracleWebservices(OracleWebServicesUtils.java:1025)
    at oracle.jdeveloper.webservices.model.security.SecurityIO.save(SecurityIO.java:564)
    at oracle.jdeveloper.webservices.model.security.SecurityModel.writeConfiguration(SecurityModel.java:485)
    at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.generateImpl(ProxyGenerator.java:330)
    at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.mav$generateImpl(ProxyGenerator.java:77)
    at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator$1ThrowingRunnable.run(ProxyGenerator.java:206)
    at oracle.jdeveloper.webservices.model.GeneratorUI$GeneratorAction.run(GeneratorUI.java:446)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    at java.lang.Thread.run(Thread.java:595)
    Thanks and regards.

    It sounds to me like you are doing the right thing. Take a look at the tutorial on the Oracle Fusion Middleware for Apps Best Practice Center for consuming external web services to see if this helps: http://www.oracle.com/technology/tech/fmw4apps/jde/pdf/consuming-external-web-services-using-business-services.pdf.
    Dave

  • Import of existing Contract in Sourcing 7.0

    Hi All,
    I am trying to upload existing contract document in the Sourcing 7.0. I have utilized the workbook provided by SAP in the reference guide for contract import.
    There are 3 section in the workbook. They are:- contracts, agreements, contract_lineitems.
    I am trying to upload contracts one first. I have filled the column values which are required. At the time of import below error is coming for Contact column:-
    Sun Aug 21 10:05:29 GMT+05:30 2011          Importing a CSV file.
    Sun Aug 21 10:05:29 GMT+05:30 2011          ..Inserting CSV data from file rtimport_34760.csv
    Sun Aug 21 10:06:07 GMT+05:30 2011          ......Record 1. Warning: Warning: the item UNIQUE_DOC_NAME:VENCON-0000023 referenced in column CONTACT could not be found
    Sun Aug 21 10:06:08 GMT+05:30 2011          ....Import failed for object number 1. This field is required and must have a valid value. [CONTACT].
    Sun Aug 21 10:06:08 GMT+05:30 2011          ..Complete. 0 ok. 1 failed.
    Sun Aug 21 10:06:08 GMT+05:30 2011          ..Importing a CSV file. 0 ok. 1 failed. File rtimport_34760.csv
    Sun Aug 21 10:06:08 GMT+05:30 2011          Error during action failed to import data, 1 error(s).
    Please find below description present in the standard excel for column Contact:-
    CONTACT     Reference     TRUE     References the EXTERNAL_ID field of a Contact
    I have given Contact column values as External ID (VENCON-0000013 for Supplier ID-11001). I have queried All Contacts query defination and masterdata.Contact classu2019s FCI_MAS_CONTACT schema to get the external ID for supplier ID-11001.
    Please share your view.
    Thanks!!!
    Deepak

    Hi Mudit,
    Thanks a lot for reply.
    I have done the same but getting below error:-
    Mon Aug 22 14:46:22 GMT+05:30 2011          Importing a CSV file.
    Mon Aug 22 14:46:22 GMT+05:30 2011          ..Inserting CSV data from file rtimport_29769.csv
    Mon Aug 22 14:46:48 GMT+05:30 2011          ......Record 1. Warning: Warning: the item sc0001 referenced in column CONTACT could not be found
    Mon Aug 22 14:46:48 GMT+05:30 2011          ....Import failed for object number 1. This field is required and must have a valid value. [CONTACT].
    Mon Aug 22 14:46:48 GMT+05:30 2011          ..Complete. 0 ok. 1 failed.
    Mon Aug 22 14:46:48 GMT+05:30 2011          ..Importing a CSV file. 0 ok. 1 failed. File rtimport_29769.csv
    Mon Aug 22 14:46:48 GMT+05:30 2011          Error during action failed to import data, 1 error(s).
    If I am understood correct, you have asked to use User ID of Supplier contact which i have taken from theSupplier Contact-> Account management ->Used ID field under directory inofrmation.
    I have dounloaded Masteragreement template and tried load the workbook with the data, same error is coming.
    Thanks,
    Deepak!!!
    Edited by: Deepak Arora on Aug 22, 2011 11:28 AM

  • Cfgrid not displaying in flash format

    <cfform format="flash" width="1000"
    action="editContact.cfm">
    <cfgrid name="contact" query="contact_details"
    selectmode="edit" insert="yes" delete="yes" height="200"
    width="1000" align="middle">
    <cfgridcolumn name="ID" display="no">
    <cfgridcolumn name="FIRST_NAME">
    <cfgridcolumn name="LAST_NAME" >
    <cfgridcolumn name="JOB_TITLE">
    <cfgridcolumn name="EMAIL" >
    <cfgridcolumn name="PHONE">
    </cfgrid>
    <br>
    <cfinput type="submit" value="submit" name="submit">
    </cfform>
    Hi, the code above using cfgrid in flash format used to
    display perfectly. But after some time, without changing the code,
    cfgrid is not displaying anymore. Any reasons why this is
    happening? Thanks.

    What error do you see? Anything?
    Try tracing the page request by using coldfusion/jrun's
    sniffer.exe,
    Charles, or some other
    tool. See what is going on. If the applet is starting to load,
    enable the java console and review the errors there.
    Does this issue happen on multiple client machines or just
    one? What version of CFMX7 are you using (run sysinfo from
    cfadmin).

  • [REOPENED] Kmail2 is not sending mails

    After upgrading from Kmail to Kmail2 and migrating mails, receiving works but messages I write and want to send stays in outbox. There's no progress bar at lower right corner when I click 'Send queued messgaes'. In .xsession_errors I can find following, I don't know is it related:
    "/usr/bin/kmail(16744)" Soprano: "Unsupported operation (2)": "Invalid model"
    "/usr/bin/kmail(16744)" Soprano: "Unsupported operation (2)": "Invalid model"
    "/usr/bin/kmail(16744)" Soprano: "Invalid iterator."
    "/usr/bin/kmail(16744)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
    "/usr/bin/kmail(16744)" Soprano: "QLocalSocket::connectToServer: Invalid name"
    "/usr/bin/kmail(16744)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
    "/usr/bin/kmail(16744)" Soprano: "Unsupported operation (2)": "Invalid model"
    "/usr/bin/kmail(16744)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
    "/usr/bin/kmail(16744)" Soprano: "Unsupported operation (2)": "Invalid model"
    "/usr/bin/kmail(16744)" Soprano: "Unsupported operation (2)": "Invalid model"
    "/usr/bin/kmail(16744)" Soprano: "Invalid iterator."
    Could not contact query service.
    QStringList Akonadi::NepomukSearch::search(const QString&) Calling blockingQuery() failed!
    I have two outgoing servers, neither works. It all worked with old Kmail.
    Last edited by benke (2011-08-23 08:52:49)

    Having the same problem again now with kMail. Previously it's been enough to restart the machine when this happened. Perhaps I could've left it at restarting X or whatever, but as long as it worked I didn't mind the few times I had to. I do mind the bug in the first place though, as I usually don't detect that I in fact have not sent the mails before a few hours have passed.
    This time restarting does not work. I did as you suggested for this MDA thing, and that one was "offline" as you suggested. Still, my mails are not sent. I restarted kMail without any effect.
    Is this bug fixed in upcoming releases? Is there a bug report? It is massively frustrating having to use this Outlook Web Access thingy to send my e-mail!

  • SBL-ODU-01008 The HTTP request did not contain well-formed XML.

    I am trying to invoke the activity webservice using Msxml2.XMLHTTP.4.0 through PowerBuilder...
    I receive the following error when executing the code below: SBL-ODU-01008 The HTTP request did not contain well-formed XML.
    ls_post_url = "https://secure-ausomxxxx.crmondemand.com/Services/Integration/Activity;"
    ls_response_text = "jsessionid=" + sesId + ";"
    ls_post_url = ls_post_url + ls_response_text
         loo_xmlhttp.open ("POST",ls_post_url, false)
    // loo_xmlhttp.setRequestHeader("Content-Length", 200 )      
    // loo_xmlhttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8" )      
    // loo_xmlhttp.setRequestHeader("Accept", "text/xml" )           
    // loo_xmlhttp.setRequestHeader("COOKIE", left(cookie,pos(cookie,";",1)-1) )
    //     loo_xmlhttp.setRequestHeader("COOKIE", left(cookie,pos(cookie,";",1)-1) )
         ls_post_url2 = "document/urn:crmondemand/ws/ecbs/activity/10/2004:ActivityQueryPage"
         loo_xmlhttp.setRequestHeader("SOAPAction", ls_post_url2)     
         loo_xmlhttp.send()
    If I uncomment the setRequestHeader info, then I get a different error:
    ls_post_url = "https://secure-ausomxxxx.crmondemand.com/Services/Integration/Activity;"
    ls_response_text = "jsessionid=" + sesId + ";"
    ls_post_url = ls_post_url + ls_response_text
         loo_xmlhttp.open ("POST",ls_post_url, false)
    loo_xmlhttp.setRequestHeader("Content-Length", 200 )      
    loo_xmlhttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8" )      
    loo_xmlhttp.setRequestHeader("Accept", "text/xml" )           
    loo_xmlhttp.setRequestHeader("COOKIE", left(cookie,pos(cookie,";",1)-1) )
         loo_xmlhttp.setRequestHeader("COOKIE", left(cookie,pos(cookie,";",1)-1) )
         ls_post_url2 = "document/urn:crmondemand/ws/ecbs/activity/10/2004:ActivityQueryPage"
         loo_xmlhttp.setRequestHeader("SOAPAction", ls_post_url2)     
         loo_xmlhttp.send()
    SBL-ODU-01007 The HTTP request did not contain a valid SOAPAction header. The value of the header was
    I am unsure what I am missing in order to invoke the web service. If anyone can help I would truly appreciate it.
    Thanks

    Hi,
    I tried the SOAP request you provided and got a different error response:
    <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Client</faultstring><detail><ErrorCode>SBL-ODU-01008</ErrorCode><ErrorMessage>The HTTP request did not contain well-formed XML. An attempt to parse it produced the following error: Unsupported wsse:Password Type. Valid Value: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText</ErrorMessage></detail></soap:Fault></soap:Body></soap:Envelope>
    After changing the Password Type from:
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wssusername-token-profile-1.0#PasswordText">hijklmno</wsse:Password>
    to:
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">hijklmno</wsse:Password>
    The request was successful.
    Please let me know if this resolves your issue.
    Thanks,
    Sean
    <?xml version='1.0' encoding='ISO-8859-1'?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header>
    <wsse:Security
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    soapenv:mustUnderstand="1">
    <wsse:UsernameToken>
    <wsse:Username>abcdefg</wsse:Username>
    <wsse:Password
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">hijklmno</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
    <q0:ContactWS_ContactQueryPage_Input
    xmlns:q0="urn:crmondemand/ws/contact/">
    <q1:ListOfContact xmlns:q1="urn:crmondemand/xml/Contact/Query">
    <Contact>
    <ContactType>='Customer'</ContactType>
    <ContactFirstName>='Fred'</ContactFirstName>
    <IntegrationId />
    </Contact>
    </q1:ListOfContact>
    </q0:ContactWS_ContactQueryPage_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    Edited by: Sean Duffy on Jun 4, 2010 9:38 AM

  • Mapping and querying Custom Objects for a Contact with REST Api

    Hello All,
    We are hoping to get some details on managing DataCard set through REST APIs. Our implementation goal is to create Contacts and add Custom object for each Contact, or to be precise, add a DataCard Set for each Contact.
    At the moment, to associate a DataCard Set (or Custom Object) to an existing contact, we are supplying following custom object fields during creation of Custom Object:
    new CustomObjectField 
                                                                    name = "MappedEntityType",
                                                                    dataType = Enum.GetName(typeof(DataType), DataType.numeric),
                                                                    type = "CustomObjectField",
                                                                    defaultValue = "0"
                                                             new CustomObjectField
                                                                    name = "MappedEntityID",
                                                                    dataType = Enum.GetName(typeof(DataType), DataType.numeric),
                                                                    type = "CustomObjectField",
                                                                    defaultValue = "<ContactId>"
    Is this the correct approach? This is Based on the information provided here: http://topliners.eloqua.com/community/code_it/blog/2012/05/31/eloqua-api-how-to-mapping-a-data-card-to-an-entity.
    Would the REST API allow us to query the CustomObjects using the MappedEntityId value for later updates? If so, any pointers on how we approach that?
    Thanks in ad.

    Either the MappedEntityID field is not available or I do it wrong, Eloqua is ignoring the field and does not map the custom record with the unique Contact ID
    {"type":"CustomObjectData","ContactID":"8829509","fieldValues":[{"id":"195","value":"[email protected]"},{"id":"220","value":"a0KJ000000387QvMAI"},{"id":"191","value":"001J000001OrL77IAF"},{"id":"193","value":"NowTV MPP"},{"id":"194","value":"8829509"},{"id":"196","value":"Andreas"},{"id":"197","value":"Wolf"},{"id":"198","value":"003J00000145lkBIAQ"},{"id":"210","value":"777666555"},{"id":"199","value":"gbp"},{"id":"200","value":"0"},{"id":"215","value":"0"},{"id":"201","value":"999111999"},{"id":"214","value":"111111"},{"id":"202","value":"222222"},{"id":"204","value":"now"},{"id":"203","value":"xmas"},{"id":"205","value":"no description"},{"id":"206","value":"test"},{"id":"218","value":"holidays"},{"id":"219","value":"PPV-0878545"},{"id":"213","value":"N"},{"id":"212","value":"myself"},{"id":"209","value":"now tv"},{"id":"192","value":"1417542120"},{"id":"207","value":"1417542120"},{"id":"216","value":"1417542240"},{"id":"217","value":"1417542240"},{"id":"211","value":"1417542240"}]},"MappedEntityID":"003J00000145lkBIAQ"}
    Response
    DEBUG|Response------{"type":"CustomObjectData","id":"81720","fieldValues":[{"id":"195","value":"[email protected]"},{"id":"220","value":"a0KJ000000387QvMAI"},{"id":"191","value":"001J000001OrL77IAF"},{"id":"193","value":"NowTV MPP"},{"id":"194","value":"8829509"},{"id":"196","value":"Andreas"},{"id":"197","value":"Wolf"},{"id":"198","value":"003J00000145lkBIAQ"},{"id":"210","value":"777666555"},{"id":"199","value":"gbp"},{"id":"200","value":"0"},{"id":"215","value":"0"},{"id":"201","value":"999111999"},{"id":"214","value":"111111"},{"id":"202","value":"222222"},{"id":"204","value":"now"},{"id":"203","value":"xmas"},{"id":"205","value":"no description"},{"id":"206","value":"test"},{"id":"218","value":"holidays"},{"id":"219","value":"PPV-0878545"},{"id":"213","value":"N"},{"id":"212","value":"myself"},{"id":"209","value":"now tv"},{"id":"192","value":"1417542120"},{"id":"207","value":"1417542120"},{"id":"216","value":"1417542240"},{"id":"217","value":"1417542240"},{"id":"211","value":"1417542240"}]}
    Eloqua:
    Name: PPV-0878545
    Unique Code: a0KJ000000387QvMAI
    Status Registered
    Created Date 12/22/2014 12:44:49 PM
    Mapped NO
    Any Idea how to map this to a contact
    Entity Type is Contacts
    Entity Field is SFDC Contact ID

  • Query For BP Contact Person

    Hello -
    I would like to make a query that pulls a specific BP Contact Person and e-mail for that contact.  We have assigned a contact called A/P for most of the BP's in our database.  The A/P contact is the one that we use to e-mail invoices. 
    Could someone help us to come up with a query that will pull the following: CardCode, CardName, Phone1, Contact A/P, Contact A/P E-mail?  If there is no contact named A/P in the BP Contact Persons tab then this could be left blank in the query. 
    Anyone know how to do this?
    Thanks,
    Mike

    Hey Guys -
    Thanks for the help!  Krishnan's query is more in line with what I am looking for.  It looks like it pulls just the BP Customers that have A/P listed as a contact in the Contacts Person tab and includes the A/P contact's e-mail. 
    However, I would like it to pull all the BP Customers so we have a complete list.  However, if there is no A/P listed in the Contact Person then just leave it blank.  
    Also, would like to pull data from one other column of into -- UDF we use for internal order notes.  The system information shows that this UDF is labeled as OCRD, U_ORDN. 
    Thanks!!
    Mike

  • Sales Opportunity Contact Person showing numeric in query & want full name

    Hi,
    I have two sql queries as under :
    SELECT T0.OpprId,T0.OpenDate,  T0.Name, T0.Territory, T1.descript, T0.CardCode, T0.CardName,   T0.U_eqno, T2.Name FROM [dbo].[OOPR]  T0 INNER JOIN [dbo].[OTER]  T1 ON T0.Territory = T1.territryID INNER JOIN OCPR T2 ON T0.CprCode = T2.CntctCode
    In the above query the problem is that I want that the Contact Person name which is selected in the sales opportunity to come. But by which query it is only showing those opportunities in which Contact person is there and NOT showing the ones in which Contact person is not there.
    and the second query
    SELECT T0.OpprId,T0.OpenDate,  T0.Name, T0.Territory, T1.descript, T0.CardCode, T0.CardName, T0.CprCode,   T0.U_eqno FROM [dbo].[OOPR]  T0 INNER JOIN [dbo].[OTER]  T1 ON T0.Territory = T1.territryID
    Its showing the Contact person code but I want the name of the contcat person as avaliable in the sales opprtunity.
    I want result in which the above details come along with the Contact person name. Where I am getting wrong in the query....Please help.
    Regards,
    Kamlesh Gupta

    For Your Second Query, use the following Code that Displays both
    Contact person code and Name
    SELECT T0.OpprId,T0.OpenDate, T0.Name, T0.Territory, T1.descript, T0.CardCode, T0.CardName,T0.CprCode, (Select T1.Name from OCPR t1 where t1.cntctCODE=T0.CprCode),T0.U_eqno  FROM dbo.OOPR T0
    INNER JOIN dbo.OTER T1 ON T0.Territory = T1.territryID

  • Use REST API to query contacts with a field updated since certain time?

    Hello,
    Using the REST API and trying to figure out how I can query for contacts that have had a field updated since a specified time. I've tried using the "lastUpdatedAt" arg, but to me it seems like I'm getting back contacts that maybe haven't had any data change, but were probably sent an email or something of that sort (so the updated at value was changed)
    Is there a way to query for contacts that have had fields change (Like subscriptions, address, title, etc) but exclude those contacts that only have their updated values changes because they were sent an email?
    Thanks!

    Hi Chris,
    lastUpdatedAt or "Date Modified" fields don't change when the contact is sent an email, but rather, when ANY field is modified on the contact record. You can certainly query for and export contacts that had their data touched in some way since a specified time, but it won't be on a per-field basis. There is effectively no field level change history or tracking. You can work around this with extra logic. First, you can get a snapshot of what the values were in the specific fields you want to track across your entire database.
    The next time you run an export using Date Modified, it will contain more records than you might care about, but you can filter offline for the ones you do care about by comparing their before and after values for the specific 'tracked' fields.
    Regards,
    Bojan

  • How to contact  two dimension change to one dimension form bw query

    I had two dimension: Index and Company, Now ,I think to unite one dimension Index_Company.
    I use bw query.
    Index Company
    1        1000    
    2        3000    
    3        6000     
    4        2000      
    Return value:
    Index Company Index_Company
    1        1000       1_1000
    2        3000       2_3000
    3        6000       3_6000
    4        2000       4_2000
    I use:
    <EXPRESSION>[DEFECT1].[LEVEL01]&'_' &[ZINDEX].[LEVEL01])</EXPRESSION>
    or <EXPRESSION>[DEFECT1].[LEVEL01]+'_' +[ZINDEX].[LEVEL01])</EXPRESSION>
    Can't ok.
    I use MDXTEST tcode for BW  to test. I can't find contact  function.
    Thank you.
    Regards,
    Howard.

    For the time being there no support for string concatenation directly at MDX level. I would suggest to try this in the WebI report itself.
    Regards,
    Stratos

Maybe you are looking for

  • Acrobat 9.4 encountered a problem and needs to close

    We are embedding .pdf's using an OLE.  When we open the document, this error message is received.  I have duplicated it on two different computers. Thank you!

  • Why won't Photoshop Elements open?

        I have PSE 3.0 which used to work fine.  Now I click on it and it won't open.  The opening screen comes up and it says it is loading various files and then it just disappears.  It does not show up in task manager.  I have inserted the DVD and don

  • ADE  - Adobe DRM Error

    While we try to open a pdf docuement it gives out the following error Adobe DRM Error                System:  7                State:  4                Class:  15                Code:  57                Message:  Error on request or response from ser

  • Time to expand RAM... need help

    hi all, i haven't added any ram since i purchased my mac pro and now i'm about to. specs... 2x2.66 GHz Dual-core 1 GB 667MHz DDR2 FR-DIMM memory 2 slots of 512MB filled want to upgrade to 3-4GB ram. i'm not very tech savvy, so please bear with me. ho

  • Is my replacement Verizon Iphone 5 unlocked or not?

    Hello, I bought my I-phone 5 from a Verizon store back in October 2012. The sleep/wake button was not functioning right so I took it to the Apple Store and got a replacement. I asked the employee at the Genius Bar was my phone still unlocked, because