Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : Efficiency on UpdatesSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v9 Forum

 New Topic 
 
 Post Reply 
[1]  
 Efficiency on Updates 
 Author   Message 
  Eurocomp Development 
  
 Group: Members 
 Posts: 5 
 Joined: 2007-01-03 
 Profile
 Posted : 2008-12-02 13:03:08

Hi

Have a client with 3 stores which have to report sales tax separately, so 3 company files.

The stores share the same product range ~ 12 K items which are Sale Priced in our custom application including Sales Tax - the tax is deducted when we send to QB via QODBC to QB.

They have EPOS systems that have to use ex-tax prices as some items are taxed and others are not.

The UK Sales Tax just got dropped from 17.5 to 15 % and we need to update about 8 - 9 K items in each of the 3 company files.

Normally the Optimizer would help in speeding up the UPDATE WHERE data, but as there are 3 separate company files the ListIDs are different although the FullName are the same (SKU) and the optimiser would have to be re-loaded as the company files were swapped by the accounts person - not really possible to manage with a user.

When I run the Batch Updates I see the 'round trip' to QB every time, I assume to locate the ListID of the WHERE FULLNAME index item on the jump-in.

What I want to know is if I send an Update to QODBC with the WHERE clause referencing the ListID of the ItemInventory product will that stop the 'round trip' and speed up the update process.

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-03 16:22:41

Ok, the first thing, the QODBC Optimizer stores a different companyfilename.opt for every company file and will close and open the correct .opt file as you open and close connections. Even if all three company files were called "Fred" you can still create a different DSN for each company using a different .opt file location.

A UPDATE has to run a query first, locate the rowsets to update and then update the rows. Because the only correct way to ensure that the correct rows get updated, we have to run the query in realtime against QuickBooks. So the optimizer isn't going to help you as far as updates are concerned.

If you run:

sp_columns tablename

you will find the jump-in columns that allow QuickBooks to return immmediate results.

 

  Top 
  Eurocomp Development 
  
 Group: Members 
 Posts: 5 
 Joined: 2007-01-03 
 Profile
 Posted : 2008-12-03 23:38:41

Hi Tom

So, just to be clear, you are saying that QODBC has to do a call to QB for every UPDATE query sent to the driver in order to construct the QB XML file, even though it knows the ListID of the item ?

If I submit direct to the SDK with an XML file it just goes straight into QB - which is an order of magnitude quicker than QODBC.

Thoughts ?

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-06 09:35:21
It runs one query and update for all rows effected by the UPDATE statement. QODBC uses the Intuit qbXML SDK the same way everyone has to use it. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to