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
|
|
How can I see Pending Uninvoiced Sales in the Sales Order Table? |
Author |
Message |
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2006-03-07 23:20:28 |
To do this you can query the SalesOrder table using a where IsFullyInvoiced = False clause like this:
SELECT TxnNumber, CustomerRefFullName, TxnDate, RefNumber, TotalAmount FROM SalesOrder where IsFullyInvoiced = FALSE
When compared with the Pending Sales Report:
sp_report PendingSales show TxnNumber, Name, Date, RefNumber, Amount parameters DateMacro = 'All' where RowType='DataRow'
the report result below should match like this:
|
|
|
|
|