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

AddProperty Method

Sets the value of the specified property.

Syntax

qbobjectcontrol.AddProperty PropertyName, PropertyValue

Remarks

This method should be used to specify the object's property values, before invoking Add.

The properties should be specified one by one, in the same order that they are listed in the SDK documentation. All property values should be formatted as a string; aggregate properties should be formatted with XML tags, as appropriate.

The following pseudocode shows how to add a service line item to QuickBooks.


GenericQBObject1.ObjectName = "ItemService"
GenericQBObject1.ObjectType = "Txn"
GenericQBObject1.AddProperty("Name", "Item name here")
GenericQBObject1.AddProperty("SalesOrPurchase",
  "<AccountRef><FullName>Account name here</FullName></AccountRef>")
GenericQBObject1.Add()

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