Hi All, I have a serialized inventory item that I ...
# inventory
s
Hi All, I have a serialized inventory item that I want to delete but it's showing an error "THIS_RECORD_CANNOT_BE_DELETED_BECAUSE_IT_HAS_DEPENDENT_RECORDS" whereas even on clicking the link there are no dependant records and I can't find the reason that's preventing me from deleting the item, does anyone know how I can find the related record that's preventing the record from being deleted or how I can delete it despite the dependant record being present?
c
That message might also be referring to that stock item having been sold historically and that there are transactions of some kind tied to it, especially because it's an inventory item. If at any point there are transactions tied to it (i.e. there was once stock, the stock was raised on a sales order or invoiced) you'll probably find that the best you can do is mark it as inactive, unless you can go through and essentially unlink all of the associated transactions (it could be a very large job to do just to track down one item and actually delete it). I'd suggest just marking it as Inactive and moving on.
s
Thank you @Christian Bannard. I just marked it inactive for now