|
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
|
|
| Can't Find Sales Order Number in Invoice Table |
| Author |
Message |
| Gary |
| |
| Group | : Members |
| Posts | : 3 |
| Joined | : 2006-06-01 |
|
| Profile |
|
| Posted : 2007-07-12 02:03:36 |
| When I convert a Sales Order to an Invoice the S.O. No. is transferred to the Invoice. I can't find that field in the Invoice Table. Is it available? |
|
|
|
| Tom |
 |
| Group | : Administrator |
| Posts | : 5510 |
| Joined | : 2006-02-17 |
|
| Profile |
|
| Posted : 2007-07-12 10:06:27 |
This query will show the SONumbers for you:
SELECT Invoice.TxnId, SalesOrderLinkedTxn.TxnId, Invoice.RefNumber, SalesOrderLinkedTxn.RefNumber AS SONumber FROM Invoice LEFT OUTER JOIN SalesOrderLinkedTxn ON SalesOrderLinkedTxn.LinkedTxnTxnID = Invoice.TxnID
See: How do I convert a Sales Order into an Invoice? for more. |
|
|
|
|