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 : Using Modified Date with ReportsSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Using Modified Date with Reports 
 Author   Message 
  Robin Peckham 
  
 Group: Members 
 Posts: 4 
 Joined: 2006-04-22 
 Profile
 Posted : 2007-02-16 08:56:54

Hello,

I have set up an electronic whiteboard for work and every hour of the day, the excel whiteboard queries the QB database for any orders that have been entered and modified today.  I am using the sp_report approach over the Select statement because it seems to be much faster.  I also can't use MS Query because that is not available in a shared file.  With all that said, the only orders that are returned are the orders that were entered today.  It does not return the orders that were modified today.

My statement is:

sp_report SalesByCustomerDetail show TxnType, Memo, DueDate, Item, Quantity , PONumber, Amount, Account, RefNumber, SourceName, Date, Class parameters ModifiedDateMacro='Today', ReportDetailLevelFilter='AllExceptSummary', ReportPostingStatusFilter='Either' WHERE rowtype='DataRow'

Can you please tell me how to get the orders modified today, as well as the ones that were first entered today?  I have also used DateFrom and DateTo with no success.  I am using QB Enterprise Solutions 7 with QODBC 7.00.00.207.  Thanks for your help!

Robin

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-02-16 10:53:41

If you're talking about Sales Orders, try:

Select Memo, DueDate, SalesOrderLineItemRefFullName, SalesOrderLineDesc, SalesOrderLineQuantity,
PONumber, SalesOrderLineAmount, RefNumber, CustomerRefFullName, TxnDate, SalesOrderLineClassRefFullName
from SalesOrderLine where TimeModified >= {fn TIMESTAMPADD(SQL_TSI_YEAR, 0, {fn CURDATE()})}

 

 

  Top 
  Robin Peckham 
  
 Group: Members 
 Posts: 4 
 Joined: 2006-04-22 
 Profile
 Posted : 2007-02-17 05:21:28
Thanks, Tom!  Your suggestion worked! 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to