MikeBr59
MikeBr59

Reputation: 284

QBD Query Item by Name (DevKit)

How to query an item by name? I thought this might work the same as looking up a customer by name, but it seems like not.

Upvotes: 0

Views: 141

Answers (2)

nimisha shrivastava
nimisha shrivastava

Reputation: 2367

For .net you can refer to the class library documentation here: http://developer-static.intuit.com/SDKDocs/QBV2Doc/IntuitDataServicesSDK/

If you go to ItemQuery, you will se it exposes ItemElementName of return type ItemChoiceType4 enum. If you go to the ItemChoiceType4 details, You will see it exposes, IteratorId and StartPage. As mentioned above, Items cannot be queried by name. Similarly for customer query on name, you can get details that it exposes Item1ElementName which returns Item1ChoiceType enum.

For all entities similarly you can search. Using items will not be so elusive then. :)

Also, for each entity for QBD, you can reference the docs too and refer to Query Attributes section for details. https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v2/0500_quickbooks_windows/0600_object_reference

Upvotes: 2

Related Questions