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

Delete Method

Deletes the record from QuickBooks.

Syntax

vendorcreditcontrol.Delete

Remarks

Delete causes the object to be deleted in QuickBooks. After this method is called, the values of all fields will be reset to their defaults.

The object deleted in QuickBooks is the one specified by RefId. This read-only property may be assigned either by calling Get or by assigning the value of QBResponseAggregate.

A typical example:

Customer.GetByName("John Smith") 'this will assign the RefId
Customer.Delete()
Deleting entity objects (Customer, Employee, and Vendor) requires that QuickBooks be open in single-user mode. Transaction objects, however, may be deleted while QuickBooks is in any mode.

Use this method with caution, as there is no way to recover deleted objects.

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