BeyondERP.Newsletter
Menu

Setup step on the Deleted attachments page · System administration

Recover deleted attachments

Use the page to restore attachments deleted by mistake within the retention period.

Used by
Deleted documents administrator form
Business process
Administer system features
Menu item
DocuDeletedDocumentsList
Main table
DocuDeletedRef
Setup steps
1 on this page
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isAn inquiry page that lists deleted attachments from any record that can still be recovered.
What you do hereUse this page to open deleted attachments for review, restore them, or delete them permanently.
ExampleFor example, a BEAT user deletes the scanned invoice on a vendor invoice by mistake; within the 30-day retention the administrator finds it here and selects Restore.
Deleted attachments page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

Business processAdminister system features
Menu pathSystem administration › Inquiries › Deleted attachments
Set up firstDocument management parameters Microsoft Learn
Used next byDocument history Microsoft Learn
Related pagesDocument history Microsoft Learn
In this process Trace and unblock workflows · Manage my batch jobs
End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Setup steps on this page

Recover deleted attachments

Use the page to restore attachments deleted by mistake within the retention period.

Steps from Microsoft

  1. Go to System administration > Inquiries > Deleted attachments.
  2. Use the Filter box to find an attachment, and read its Type, Previous record, Previous table, Number of days until expiry and Deleted date and time.
  3. Select an attachment, then select View details to review it.
  4. Select Restore to bring back the selected attachment.
  5. Select Delete to remove the selected attachment.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
TypeThe document type of the attachment.Checked in Dynamics 365File
Previous recordThe record the attachment was on.Checked in Dynamics 365
Number of days until expiryDays left before the attachment is deleted for good.Microsoft Learn 27
Deleted date and timeWhen it was deleted.Checked in Dynamics 365

Common errors and fixes

MessageWhat to do
A deleted attachment isn't listedDeferred deletion may be off or the retention period has passed; check Number of days to defer deletion on Document management parameters. Microsoft Learn

Test checklist

  1. Attach a file to a record and delete it.
  2. Open Deleted attachments and find it with Number of days until expiry.
  3. Select Restore and check the file is back on the record.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Recover deleted attachmentsKeep deferred deletion on (30 days by default) and restore from here; delete permanently only on request of the record ownerWithin the retention period a deleted attachment can still be restored; after Delete here it is gone.How long are deleted attachments kept?Setting Number of days to defer deletion to 0 to save space, which actually keeps deleted attachments indefinitely.Test: A deleted attachment can be restored

Feature management and licence

Licence or add-inOn this system the page opens for Deleted documents administrator form. No Feature management feature needs to be turned on for this page.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyShared: deleted attachments from every legal entity are listed. Microsoft Learn
Can it be undoneCan't be undone: Delete on this page removes the attachment for good.
If you change it laterDeleted attachments are kept only for the number of days set in Number of days to defer deletion (30 by default); a value of 0 keeps them indefinitely. Microsoft Learn
Technical architect

6Technical

Menu itemDocuDeletedDocumentsList Checked in Dynamics 365
FormDocuDeletedDocumentsList Checked in Dynamics 365
TableDocuDeletedRefShown as “Deleted document references” in Record infoKey field: TypeId, RefCompanyId, RefTableId, RefRecIdChecked in Dynamics 365
Who can open itPrivilegesDeleted documents administrator form DocuDeletedDocumentsListMaintain
1 security roleDeleted documents administrator form DocuDeletedDocumentsListAccess
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itDeleted documents administrator form DocuDeletedDocumentsListAccessGive people one of these roles. On this system, 1 role can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=DocuDeletedDocumentsList
Data migrationLoad order: Deleted attachments has no data entity in Data management, so it can't be loaded from a file or a configuration template. Deleted attachments are kept only in the environment where they were deleted.Checked in Dynamics 365
Table definitionDocuDeletedRef columns and relations Microsoft data model
Everyone

8Sources

To cite this step: SA-INQ-510, Recover deleted attachments. Beyond ERP Atlas Hub, 2026-11-11. https://www.beyonderp.cloud/atlas/step/SA-INQ-510