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 object 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.

The RefId of any component, or the Id of any reference property, may be used for the parameter. So for example, the following pseudocode would get customer information for a Customer listed on an Invoice:

Customer.Get( Invoice.CustomerId )

The GetByName method, present only in entity objects (Customer, Vendor, and Employee) and QBObject, may be used to get an object based on its Name. To retrieve multiple objects, to retrieve transaction objects whose RefId is not known, or to perform more advanced searches the ObjSearch component may be used.

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