QuickBooks Integrator 2020 .NET Edition

Questions / Feedback?

Get Method

Gets a single record from QuickBooks.


public void Get(string id);
Public Sub Get(ByVal Id As String)


Get may be used to retrieve a single Inventory Adjustment transaction from QuickBooks, based on its RefId. When the method is called, a search will be initiated for the requested object. If it is found, all properties of the component will be set to the information retrieved from QuickBooks. The QBResponseAggregate property will also be set to the entire QBXML aggregate received from QuickBooks.

Please note that this component is retrieving an inventory adjustment transaction from QuickBooks. This is fundamentally different from retrieving an inventory item. QuickBooks does not allow the direct manipulation of inventory item quantities or values, but rather it maintains a history of the transactions that modify the inventory items.

Therefore this Get operation takes the Id of a previous Inventory Adjustment Add, and returns all of the adjustments made in that transaction in the Adjustment line item properties. Any quantity or value differences for a particular inventory item will show up in the QuantityDifference and ValueDifference properties.

You can not set the Id parameter to the Id for an inventory item. This will result in an error. You must use the Item or ObjSearch components to retrieve inventory items.

Copyright (c) 2022 4D Payments Inc. - All rights reserved.
QuickBooks Integrator 2020 .NET Edition - Version 20.0 [Build 8076]