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 NAV (Archived)

Sales Order Archive

(0) ShareShare
ReportReport
Posted on by 510

Hi all,

I am stuck with the below issues on sales order archive:

NAV 2009 R2

1. I cannot find the function "Archive Document" in the RTC client which is available in Classic version of R2

2. Sales Order archive is not archiving the NOTES and LINKS

3. How can I get a sales order archived if there is no transaction against it or create a sales order in RTC and cancel it since the customer have cancelled it for a reason. I need to add the reason and delete the sales order and everything should be archived. 

Regards,

Tony

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    Customize the page to add that action, i think it is not available by default.  I believe the archive function will copy the links , please check again.

    If not in the codeunit 5063 in the function StoreSalesDocument check before SalesHeaderArchive.INSERT if this line of code is there

    SalesHeaderArchive.COPYLINKS(SalesHeader);

    if not add it, do the same for lines also i.e.

    after this line of code

         "Version No." := SalesHeaderArchive."Version No.";

    Add

    COPYLINKS(SalesLine);

  • Verified answer
    Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at

    1. It should be by default available under Functions ActionGroup around copy documents functions..

    2. Copy links is not available in NAV2009

    3. You need to customize this by adding a cancellation field etc. and OnDelete trigger

  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    COPYLINKS function does exist in 2009, but it is not added in the ArchiveManagement codeunit. I have not tried it but you can definitely try as suggested below.

  • Suggested answer
    keoma Profile Picture
    32,729 on at

    if you check "archive document" when printing, the document is archived.

    if the action "archive document" is missing in RTC, you can add it by a customization.

    archiving notes and links would be a customization.

  • TonyMatt Profile Picture
    510 on at

    Hi all,

    Thanks for your answers... I was able to make a suggested response from all your comments.

    1. As suggested by Mohana, I was able to find the ARCHIVE DOCUMENTS in the Action Group Functions near Copy Document. It Archives the sales order but without links and notes... This is available by default in NAV 2013

    2. As suggested by Suresh, the NOTES and LINKS are available in 2009 R2 but not coded to archive. I will try adding the codes to CU 5063 in the function StoreSalesDocument

    I hope COPYLINKS function will archive NOTES too

    Regards,

    Tony

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 NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans