Yes, just use QODBC!!! QODBC has a SQLite backend server with many additional indexes to what the QuickBooks SDK supports, so data can be retreived much faster than calling QuickBooks directly. Also QODBC supports batch inserts so you can add up to 500 transactions or inserts at the one time. For example:
BatchStart sp_batchstart InvoiceLine
BatchInsert1 INSERT INTO "InvoiceLine" ("CustomerRefListID", "RefNumber", "InvoiceLineItemRefListID", "InvoiceLineDesc", "InvoiceLineRate", "InvoiceLineAmount", "InvoiceLineSalesTaxCodeRefListID", "FQSaveToCache") VALUES ('AC0000-1197757899', 'Batch1', '250000-933272656', 'Bin Permit Renovations', 200.00000, 200.00, '20000-999022286', 0)
.............................
BatchInsert500 INSERT INTO "InvoiceLine" ("CustomerRefListID", "RefNumber", "InvoiceLineItemRefListID", "InvoiceLineDesc", "InvoiceLineRate", "InvoiceLineAmount", "InvoiceLineSalesTaxCodeRefListID", "FQSaveToCache") VALUES ('AC0000-1197757899', 'Batch2', '250000-933272656', 'Bin Permit Renovations', 200.00000, 200.00, '20000-999022286', 0)
BatchUpdate sp_batchupdate InvoiceLine
And QODBC will commit all the inserts when the sp_batchupdate stored procedure is executed.
|