|
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
|
|
| Need to Delete many items both inventory and non-inventory |
| Author |
Message |
|
|
| 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! |
|
|
|
| Tom |
 |
| 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
|
|
|
|
|
|
| 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. |
|
|
|
| Tom |
 |
| Group | : Administrator |
| Posts | : 5510 |
| Joined | : 2006-02-17 |
|
| Profile |
|
| Posted : 2007-06-26 11:24:53 |
|
|
|
|