QuickBooks Integrator V6 - Online Help
QuickBooks Integrator V6
Questions / Feedback?

Get Method

Gets a single record from QuickBooks.

Syntax

[VB.NET]
Public Sub Get(ByVal Id As String)
[C#]
public void Get(string id);

Remarks

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.

NOTE: This method has a corresponding asynchronous version (GetAsync) for use in the WinRT environment.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0