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
|
|
How do I speed up this SP? |
Author |
Message |
PH |
|
Group | : Members |
Posts | : 41 |
Joined | : 2007-02-02 |
|
Profile |
|
Posted : 2008-11-07 09:06:30 |
sp_report aragingdetail show sum (openbalance) as vResult parameters DateTo = {d'2008-10-26'} where txntype='Payment'
This is pretty slow.
Unfortunately, unapplied credit memos and payments appear on this report.
Is there a way to speed up the SP? I am aware that I can probably find a way to query the payment and credit memo tables directly and find those that are unapplied to any invoice, so asking here if I understand the way to create fast SP's.
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-11-07 10:25:21 |
|
|
|
|