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 :
Finance | Project Operations, Human Resources, ...
Answered

Find all attachments in D365 and delete associated document type

(0) ShareShare
ReportReport
Posted on by

Hello,

I first attempted to delete an unnecessary Document type but received this error: 

Document types cannot be deleted while dependent Deleted document references exist. Delete dependent Deleted document references and try again.
Using the Table Browser Caller plugin, I can look at the DocuRef table but beyond this I'm not sure what I can do to locate which records have attachments so I can delete.
I'm using D365 F&O cloud.
I have the same question (0)
  • Community Member Profile Picture
    on at

    If I filter by the Document type TypeID that I want to delete, I do not see any records?

  • Verified answer
    vinitgoyal2005 Profile Picture
    6,332 on at

    Hi,

    Please check table DocuDeletedRef, Remove the references from this table, then you should be able to delete it.

    URL for UI is mi=DocuDeletedDocumentsList

  • Community Member Profile Picture
    on at

    Thanks Vinit, this is what I was looking for.

    I inputted the name of this table in the Table Browser Caller plugin and hit Enter which loaded the table in a new browser tab. I was not able to find the table by searching the Table List in Table Browser Caller.

    Using the Caption and Name columns, I was able to find out which record (in my case, a Vendor) had remaining deleted attachments associated to the Document type I was trying to delete. Once I removed these "Deleted attachments" I was able to delete the document type that I wanted to.

    Thanks very much!!

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans