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 : QODBC V8 AND SUMMARIZE_ROWS_BY parameterSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 QODBC V8 AND SUMMARIZE_ROWS_BY parameter 
 Author   Message 
  Piyush Varma 
  
 Group: Members 
 Posts: 66 
 Joined: 2006-04-06 
 Profile
 Posted : 2008-03-25 05:58:10
Hi,

In which sp_reports stored procedures can I use SUMMARIZE_ROWS_BY parameter please? Where would I find some examples? I want to achieve "Collapse" feature of Quick Books Reports.

Thank you,

Piyush
 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-03-26 11:48:22
Use SP_PARAMETERS reportname to list all the parameters available for a given SP_REPORT. The VALUES column lists available values that can be used with the parameter.

In: Quick Report on an Account I used:

sp_report CustomTxnDetail show TxnType, Date, RefNumber, Name, Memo,
Account, ClearedStatus, SplitAccount, Debit, Credit
parameters DateMacro = 'ThisYearToDate', AccountFilterFullNames = 'Suspense Income',
SummarizeRowsBy = 'Account',
OpenBalanceAsOf = 'ReportEndDate'

To total the account credits and debits.

To collapse a report use where {fn LOCATE(':', "RowData", 2)} = 0 or Text <> '' for example:-

sp_report ProfitAndLossBudgetVsActual show Text, Label, Amount, Budget,
Percent parameters FiscalYear = 2006, BudgetCriterion = 'Accounts',
SummarizeBudgetColumnsBy = 'Date', SummarizeBudgetRowsBy = 'Account'
where {fn LOCATE(':', "RowData", 2)} = 0 or Text <> ''

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to