[QODBC-Desktop] How to create an Other Charge Item using QODBC
Posted by brad waddell on 12 March 2009 05:21 PM

An Example of Creating an OtherCharge Item

Note: VB Demo is deprecated.

Please refer to How to use the QODBC Test Tool for testing

Note: To create a standard ItemOtherCharge item you can use an INSERT statement like follows:

INSERT INTO ItemOtherCharge
("Name", "IsActive", "SalesORPurchaseDesc",
"SalesTaxCodeRefListID", "SalesOrPurchasePrice", "SalesOrPurchaseAccountRefListID")
('Equip Repairs', TRUE, 'Equipment Repair Charge',
'20000-999022286', 100.00, '190000-933270541')

Result in VB Demo

 VB DEMO is to be used for testing of QODBC SQL queries only and is not a development tool.


Result in QuickBooks

The record above looks like this in QuickBooks 2007:

Note: But before you add any new Other Charge, you should check the ITEM table first to see if the new Other Charge Name is not already used in QuickBooks. The ITEM table is a combined list of all Item tables in QuickBooks: ItemInventory, ItemNonInventory, ItemOtherCharge, ItemInventoryAssembly, ItemService, ItemFixedAsset, and ItemGroup; with minimum common fields.

      When inserting a new ItemOtherCharge item the Name can't already be, for example, an ItemInventory, ItemNonInventory, ItemOtherCharge, ItemInventoryAssembly, ItemService, ItemFixedAsset, or ItemGroup FullName already. It must be a unique new ITEM FullName!

How to locate the Item FullName

      To see the item full names, you can run the following query in VB Demo:

     SELECT ListID, FullName, Description, Type FROM Item

      In my case, my Australian QuickBooks 2004 sample file returned the following items:

      And like ITEM there's an ENTITY table that's the combined list of all entity tables in QuickBooks: Customers, Employees, Other names, and Vendors; with minimum common fields.

      So when inserting a new Customer name the FullName can't be, for example, a Customer, Employee, Other name, or Vendor already. It must be a unique new ENTITY FullName in QuickBooks!

See also: How to insert data into ItemNonInventory using QODBC

(143 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please complete the captcha below (we use this to prevent automated submissions).