RE: Unable to delete an inventory item
Hi there!
It sounds like you're running into a bit of trouble trying to delete an inventory item that was added to a purchase order but never received. I can definitely understand how frustrating this can be!
Based on the error message you're receiving, it seems like there may still be a journal line somewhere in the system that includes this item. Journal lines can be created for a variety of different transactions, so it can be a bit tricky to track down exactly where this line is coming from.
Here are a few things you can try to help narrow down the source of the issue:
- Check any other purchase orders that may have included this item to see if there are any outstanding journal lines associated with it.
- Review any sales orders or other transactions that may have referenced this item to ensure that there are no outstanding journal lines associated with it.
- Check any general journals or other types of journals that may have included this item to see if there are any outstanding lines associated with it.
It's also possible that there may be some other data associated with the item that is preventing it from being deleted. For example, if there are any item attributes or other related records that are still referencing the item, that could cause issues as well.
If you've already tried deleting any related vendor item records and attribute records and are still running into issues, it may be helpful to consult with a Business Central expert or Microsoft partner who can help you troubleshoot the issue more thoroughly.