QuickBooks Integrator: How can I create a new Class?

How can I create a new Class in QB?

Date Entered: 2/4/2005    Last Updated: 10/08/2013

When performing queries you will need to use ObjSearch, and when performing other operations, you will need to use QBObject. Fortunately, the Class object is a very small one, and adding one is simple with QBObject:
  QBObject1.ObjectName = "Class"
  QBObject1.ObjectType = "List"
  QBObject1.AddProperty("Name", "MyNewClass")
  QBObject1.AddProperty("IsActive", "false")
  'also optional
  QBObject1.AddProperty("ParentRef", "20000-933270541")
  QBObject1.AddProperty("ParentRef", "ParentObject")

We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.