Skip to Content
Menu
This question has been flagged
1 Reply
4466 Views

How can i delete a warehouse.

I get: Integrity Error


The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set

[object with reference: Purchase Order - purchase.order]
Avatar
Discard
Best Answer

Hi Pascal,

Make sure you have deleted all the places where the products in this warehouse have been used. Check the purchase order to see where this product appears there, it shown that problem is from PO also  just check MRP, SO, Stock move , etc and delete all the document or remove the product from them.
Then try again to delete the warehouse. If you have already made a delivery order and received payment on the goods, then this might be a problem because you might not be able to reset this back to draft and thus might not be able to delete/remove the product. This is because you will mess with the accounting process.

Thanks

Avatar
Discard
Related Posts Replies Views Activity
1
May 24
554
2
Dec 22
12018
5
Sep 20
29982
5
Apr 20
3811
0
Apr 18
2897