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 : Speed Up This SP_Report?Search Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Speed Up This SP_Report? 
 Author   Message 
  PH 
  
 Group: Members 
 Posts: 41 
 Joined: 2007-02-02 
 Profile
 Posted : 2008-11-27 12:54:05

The following takes about two minutes to return 1300 records.  The problem is I really need to run with All dates and that takes way too long.

Is there a better way to speed up?

I tried the general ledger with no improvement in speed.  Journal doesn't give me the open balance which I need.  NoSync queries are out because I need up-to-the minute data and fullsync takes too long.  I tried UnOptimized queries and they take too long, so this is my best bet and just trying to find the fastest way.

I can't seem to make this work with the Unpaid Bill report because I can remove the account filter from the report in Qbooks but there is no AccountFilterType = 'All'

Thanks.

sp_report txnlistbyvendor show rowtype, name, account, openbalance, paidstatus parameters TxnFilterTypes = 'Bill' , datefrom = {d'2008-01-01'}, dateto = {d'2008-11-26'}  where rowtype = 'DataRow' and paidstatus = 'Unpaid'

sp_report CustomTxnDetail show rowtype, name, account, openbalance, paidstatus parameters TxnFilterTypes = 'Bill' , datefrom = {d'2008-01-01'}, dateto = {d'2008-11-26'}, ReportDetailLevelFilter = 'AllExceptSummary', SummarizeRowsBy = 'TotalOnly' where rowtype = 'DataRow' and paidstatus = 'Unpaid'

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-11-29 19:45:42

There's no way to speed up sp_reports as they are executed directly within the QuickBooks Reporting Engine. Your where= filters the returned rows however all the rows for the filter parameters are still returned from QuickBooks.

You may still be able to use:-

sp_report UnpaidBillsDetail show Text, Blank, TxnType, Date, RefNumber, DueDate, Aging, OpenBalance parameters DateMacro = 'Today'

run:

to see what can (or cannot) be done.


 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to