Unable to delete a product from EcoResProduct.

Hi,

I am unable to delete a product from EcoResproduct tabl. Rest of i have deleted but only for a single product.

showing following error.

Items cannot be deleted while dependent VAT commodity codes exist. Delete dependent VAT commodity codes and try again.

Thanks in advance.

Regards,

AADI

Can you please post with a screen shot ?

I think this is a custom message and code might have been customized.

Place the break point in Classes->Info-> add and try to delete the item. If it hits then post that stack trace here, so that it would be helpful to us in understanding problem.

The message is driven by the standard delete actions.

It is an India localization specific table. \Data Dictionary\Tables\TaxInventVATCommodityCode_IN.

There is a Restricted delete action in InventTable

You should delete the VAT commodity code related to that released product before deleting the product.

Released products → Edit the product → Product (action tab) → setup (button group) → VAT commodity codes.