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 : Pulling All Data related to InvoicesSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC SQL Sample Scripts Forum

 New Topic 
 
 Post Reply 
[1]  
 Pulling All Data related to Invoices 
 Author   Message 
  Ashley 
  
 Group: Members 
 Posts: 20 
 Joined: 2007-10-11 
 Profile
 Posted : 2007-10-16 02:48:05

Tom,

What code is needed to Pull all data related to an Invoice, including Custom Tables (from item descriptions such as size, color,etc) and also pull the Customers Email Address and Phone number? 

Thanks,  

 

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

Well you can start from here:

SELECT * FROM SalesLine, Customer
WHERE SalesLine.CustomerRefListid=Customer.ListID
AND TxnDate >= {d'2007-01-01'}

 

 

  Top 
  Ashley 
  
 Group: Members 
 Posts: 20 
 Joined: 2007-10-11 
 Profile
 Posted : 2007-10-16 18:37:26
THanks Tom.  Just wandering...What is the difference between SalesLine and InvoiceLine?  I know they are different tables but what is the difference? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-10-17 08:10:02
InvoiceLine only contains invoice line details while SaleLine contains invoices, credits and sales receipts. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to