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
|
|
Pulling All Data related to Invoices |
Author |
Message |
|
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, |
|
|
|
Tom |
|
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'}
|
|
|
|
|
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? |
|
|
|
Tom |
|
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. |
|
|
|
|