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
|
|
Delete records from Transaction Tables |
Author |
Message |
|
Posted : 2008-02-07 13:54:37 |
How can I delete records from Transaction table
QB- PRo 2006 R12P ODBC Ver: 2.3 32big
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-02-07 14:43:07 |
You haven't said what table here, but to delete a invoice you would do:
DELETE FROM Invoice WHERE TxnID = 'xxxxxxxxxxx'
You can also use SP_VOID just like you would use DELETE. It will void the invoice instead of deleting it.
Example: SP_VOID FROM Invoice WHERE TxnID = 'xxxxxxxxxxxx' |
|
|
|
|
Posted : 2008-02-07 14:54:22 |
I thought I had the table name in the original post 'Transaction' Table. Anyway, please see attached image.
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2008-02-07 21:17:17 |
The Transaction table is really a view of all the transactions, a little like a audit trail. You actually need to delete the actual type of transaction shown. For example for a Invoice, Invoice, a Bill, Bill etc. |
|
|
|
|