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

  • TonyMatt Profile Picture
    510 on at
    RE: Sales Order Archive

    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

  • Suggested answer
    keoma Profile Picture
    32,727 on at
    RE: Sales Order Archive

    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.

  • Suggested answer
    Suresh Kulla Profile Picture
    47,688 on at
    RE: Sales Order Archive

    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.

  • Verified answer
    Mohana Yadav Profile Picture
    60,226 Super User 2025 Season 1 on at
    RE: Sales Order Archive

    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

  • Verified answer
    Suresh Kulla Profile Picture
    47,688 on at
    RE: Sales Order Archive

    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);

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans