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 : Need to Delete many items both inventory and non-inventorySearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v7 Forum

 New Topic 
 
 Post Reply 
[1]  
 Need to Delete many items both inventory and non-inventory 
 Author   Message 
  Kevin 
  
 Group: Members 
 Posts: 4 
 Joined: 2007-02-03 
 Profile
 Posted : 2007-06-26 01:09:09

I need to delete many (800+) items from the inventory of our QB-Pro 2004 data file.  I use Vis. Foxpro v6.0 to connect using QODBC v7.  When I try some manual SQL statements to Delete or even to Delete and Insert, the result set looks good in Vis Foxpro but when I close that and go into QB I still see the original record.

Please help.  We are trying to clean things up before June 29 Inventory!

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-06-26 09:29:19

To delete a stock part you run for example:

Delete From ItemInventory where Name = 'Acer Notebook'

but QuickBooks rules apply, you can't delete parts that are already in use:

Once the "not already in use" parts have been deleted you will need to resync the optimized table by running:

sp_optimizefullsync ItemInventory

 

 

  Top 
  Kevin 
  
 Group: Members 
 Posts: 4 
 Joined: 2007-02-03 
 Profile
 Posted : 2007-06-26 10:31:08

Tom,  How can I delete the transactions that are associated with the inventory items I want to delete?  Also, do the functions sp_????? work in Visual Foxpro to your knowledge?

Thank you, Kevin.

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-06-26 11:24:53
See: How do I delete a Invoice Line in the InvoiceLine table? for an example. sp_ stored procedures cause exception errors in Visual FoxPro, we hope to have them fixed in the new QODBC release, see: Release 7.1.0.225 Fixes  

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to