Welcome to the Axosoft Community, Sign in | Register | Help
in Search

GetAllCustomers does not return customers with no contacts (CustomerHandler class)

Last post 01-15-2008, 8:20 AM by Dan Suceava. 1 replies.
Sort Posts: Previous Next
  •  01-09-2008, 6:31 AM 14614

    GetAllCustomers does not return customers with no contacts (CustomerHandler class)

    Hi,

     I am writing import utility for customers and contacts from our CRM system to OnTime. What is giving me a problem is that the call GetAllCustomers does not return Customers, which do not have any contacts. It returns one row for each contact (with information about customers), but those Customers that do not have a contact in the OnTime yet, are not returned.

     Is there a way to retrieve such Customers? I need to do this in order to prevent inserting new customers to OnTime multiple times (that's what just happened, and after debugging my code I found out this issue.

     Any help is appreciated.

    Best regards

    Andrej

  •  01-15-2008, 8:20 AM 14662 in reply to 14614

    Re: GetAllCustomers does not return customers with no contacts (CustomerHandler class)
    That is currently an issue, the GetAllCustomers actually returns all contacts along with the customers, so if a customer doesn't have contacts it won't get returned.  We will have to address this in the next release, probably by providing another method so that one can return just the customers, and one returns the contacts.
    Dan Suceava
    http://www.axosoft.com
View as RSS news feed in XML

© 2002 - 2007, Axosoft, LLC. All Rights Reserved. | Privacy
Bug Tracking | Defect Tracking Videos | Help Desk Software