TheWebGuy
TheWebGuy

Reputation: 12545

Quickbooks ItemServiceQueryRq not returning all service items

I am implementing a billing system for a client. I wrote this XML query to grab all the Item Service Codes from the company file:

<?xml version=\"1.0\" encoding=\"utf-8\"?>
<?qbxml version=\"2.0\"?>
<QBXML>
  <QBXMLMsgsRq onError=\"continueOnError\">
    <ItemServiceQueryRq  requestID=\"81\"></ItemServiceQueryRq>
  </QBXMLMsgsRq>
</QBXML>

For the life of me I can't get QB web connector to return all of the service codes. The company file has about 500 service codes but it only returns 67. Does anyone have any idea on why this would happen? The QB web connector application log doesn't provide any hints either.

Upvotes: 1

Views: 558

Answers (1)

Keith Palmer Jr.
Keith Palmer Jr.

Reputation: 27952

Are you sure they are all service items? They aren't inventory or non-inventory items? Issue an ItemInventoryQuery, ItemNonInventoryQuery, or even a generic ItemQUery to get everything.

Duplicate question of this question on the Intuit Developer Forums. I answered your question on the Intuit forums... but you can mark my answer as correct here too. :-)

Upvotes: 2

Related Questions