How to delete records from a custom inventory table for single resource