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 : sp_reports for a past dateSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 sp_reports for a past date 
 Author   Message 
  Piyush Varma 
  
 Group: Members 
 Posts: 66 
 Joined: 2006-04-06 
 Profile
 Posted : 2006-10-05 07:26:32
Am I right in trying to obtain following reports for a past date (September 30, 2006), as if I produced them on 30-09-2006, using the syntax below?

1. sp_report ARAgingDetail show Text, Blank, RefNumber, TxnType, Date, PONumber, Name, Terms, DueDate, Aging, Memo, OpenBalance parameters DateMacro = {d'2006-09-30'}, AgingAsOf = '{d'2006-09-30'}';

2. sp_report APAgingDetail show Text, Blank, RefNumber, TxnType, Date, Name, DueDate, Aging, OpenBalance parameters DateMacro = {d'2006-09-30'}, AgingAsOf = {d'2006-09-30'};

3. sp_report BalanceSheetStandard show Text, Label, Amount parameters DateMacro = 'ThisYearToDate', SummarizeColumnsBy = 'TotalOnly';

4. sp_report ProfitAndLossStandard show Text, Label, Amount parameters DateMacro = {d'2006-09-30'}, SummarizeColumnsBy = 'TotalOnly';

5. sp_report TxnDetailByAccount show Text, Blank, TxnType, Date, RefNumber, Name, Memo, ClearedStatus, SplitAccount, Debit, Credit, RunningBalance parameters DateMacro='All', AccountFilterType='AccountsReceivable', TxnFilterTypes='ReceivePayment';

Thank you very much,

Piyush 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-10-05 10:33:21

Sorry, your use of the DateMacro is wrong!

Try working along these lines:

sp_report ARAgingDetail show Text, Blank, RefNumber, TxnType, Date, PONumber, Name,
Terms, DueDate, Aging, Memo, OpenBalance
parameters DateTo = {d'2006-09-30'}, AgingAsOf = 'ReportEndDate'

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to