Skip to Content
avatar image
Former Member

QueryByElements for Customer

Hello,

I want to retrieve customers based on LastChangeSinceDateTime parameter which is there in web service QueryAccounts in FindByElements. While I'm trying to Query in scripting, I did not see node for QueryByElements.

Anyone knows how can I retrieve customers since last date time changed?

Thanks.

Regards,

MB

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 05, 2016 at 03:06 PM

    Hi,

    There are only two queries for Customer, and neither of them have the parameter last datetime changed.

    You could retrieve all of them and then just have a simple foreach loop to find the most recently changed one.

    Or you could try and order them by last datetime changed.

    Kind Regards,

    Will


    Capture.PNG (5.1 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Mohan,

      Yes we can replace WSDL file in production tenant, in the wsid file.

      After uploading patch solution to the production tenant, we need to create communication arrangement with your production scenario (which will be available after moving patch solution from dev tenant to production).

      Regards,

      Shiva G

  • Apr 06, 2016 at 03:37 AM

    Hi MB, QueryAccounts is based on a Query which is not PSM released. Hence, you need to request for PSM release of the query. Thanks, Pradeep.

    Add comment
    10|10000 characters needed characters exceeded