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 : Delete records from Transaction TablesSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Installation Support Forum

 New Topic 
 
 Post Reply 
[1]  
 Delete records from Transaction Tables 
 Author   Message 
  Harry Saryan 
  
 Group: Members 
 Posts: 13 
 Joined: 2006-04-25 
 Profile
 Posted : 2008-02-07 13:54:37

How can I delete records from Transaction table

QB- PRo 2006 R12P
ODBC Ver: 2.3 32big


 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 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'

 

  Top 
  Harry Saryan 
  
 Group: Members 
 Posts: 13 
 Joined: 2006-04-25 
 Profile
 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.

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 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. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to