Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
13634 Vizualizări

Hi

I am deleting the product from the warehouse in that I am getting the following error attached here.

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: Stock Move - stock.move]

Imagine profil
Abandonează
Cel mai bun răspuns

This product having any entry like, Sale Order or Purchase Order. If want to delete, Cancel the Incoming Shipment or Delivery Order and then Cancel Accounting and Sale Order and Purchase Order.

Imagine profil
Abandonează
Cel mai bun răspuns

Make sure you have deleted all the places where this product have been used in the system. As suggested by Sridhar, check the stock move to see where this product appears MRP, SO, PO, etc and delete all the document or remove the product from them. Then try again. 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.

Imagine profil
Abandonează