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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How prevent to delete Sales quote archive attachment documents after restore sales quote?

(1) ShareShare
ReportReport
Posted on by 373
Hi Community,
 
I created a factbox to transfer the attachment from the sales quote to the sales quote archive, the process is working well, but the problem is when I try to restore the sales quote archive the document attachments disappear, which happens when I delete directly from the sales quote.
 
Before restoration, the sales quote archive has an attachment:
 
After restored, the document attachment in sales quote is 0
 
In Addition, I tried to solve the problem with the event subscriber but still could not find the solution.
 
 
If you know how I would appreciate it.
 
Thanks
  • Yi Yong Profile Picture
    2,805 Super User 2026 Season 1 on at
    Hello Manuel,
     
    The standard Sales Quote Archive does not come with the attachment module. The customization you did to include the attachment module is not part of the standard event handling.
     
     
    You will need to subscribe to events such as OnAfterRestoreSalesDocument or OnAfterTransferFromArchToSalesHeader to update the record on the Document Attachment table.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    23,159 Super User 2026 Season 2 on at
    might be this give you some hint: https://yzhums.com/32931/
  • Verified answer
    Manuel Lozada Profile Picture
    373 on at
    I found the solution, thanks

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 743 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 546 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 332 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans