web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Inventory Item Deletion

(0) ShareShare
ReportReport
Posted on by

When deleting an inventory item, message 58 appears:  "Record cannot be deleted. It is in use elsewhere in the system."

How do we find where it is being used? Everything we check shows no usage, no history etc.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Butch Adams Profile Picture
    4,763 on at

    If you have access to SQL, try this against your App database:

    declare @Item char(15)

    set @item = '******'  --'Replace ***** with your Inventory code'

    SELECT * FROM INTran WHERE InvtID =  @item

    exec SCM_smServCall_OpenInvoice @item

    exec WOHeader_InvtID_WONbr @item, '%'

    exec Kit_All @item

    exec PurOrdDet_InvtId_OpenLine @item

    exec Component_CmpnentId @item   -- component of a kit?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans