I am trying to delete an inventory item but I cann...
# ask-stanley-ai
r
I am trying to delete an inventory item but I cannot because there are dependencies. when clicking the dependencies link, no records are displayed. how can I find the dependent records to delete them?
c
AI generated answer (using internal Slack threads):
When you encounter the error "THIS_RECORD_CANNOT_BE_DELETED_BECAUSE_IT_HAS_DEPENDENT_RECORDS" while trying to delete an inventory item, it means that there are other records in the system that are referencing this item. Even if no records are displayed when you click on the dependencies link, there are still some hidden dependencies that are preventing the deletion. Here are some steps you can take to find these dependent records: 1. Check Transactions: Go to the item record and view all transactions related to it. Even if the item has no transactions against it, it's worth checking to make sure. 2. Check Custom Records: The item might be referenced in a custom record, landed cost template, or any other type of record. You need to check these records and remove the reference to the item. 3. Check Saved Searches: The item might be used as a criteria in a saved search. You need to check your saved searches and remove the item from the criteria. 4. Check Manufacturing Routings: If the item is a part of a Manufacturing Routing, you need to delete the routing first. However, if you're unable to delete the routing because it's linked to the item, try making the routing inactive first. Remember, the dependencies can be in any part of the system. You need to thoroughly check all possible places where the item could be referenced. Once you've removed all dependencies, you should be able to delete the item. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.887730181
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.874474943
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.860042572
Please provide your feedback on this answer.