Skip to Content
Menu
This question has been flagged
1 Reply
5300 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
Sep 25
1776
3
Mar 25
1771
1
May 24
8989
2
Dec 22
15339
5
Sep 20
33436