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 :
Small and medium business | Business Central, N...
Suggested Answer

AL archive documents

(0) ShareShare
ReportReport
Posted on by

Hi All,

How do one archive the documents such that after posting, they disappear from the list to archive?.

Any AL code or insight?

Kindly assist.

I have the same question (0)
  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at

    If you look at Sales & Receivables Setup or Purchases & Payables Setup, you will see the field to turn on automatic archive on deletion. You can use that as per standard.

    In terms of AL, you normally do TransferFields between table.

  • YUN ZHU Profile Picture
    95,597 Super User 2025 Season 2 on at

    Hi, hope this will help.

    docs.microsoft.com/.../across-how-to-archive-documents

  • Romryan Profile Picture
    on at

    I need to archive the ones in custom header and lines not the native BC Screens. Is it possible and how can I do it? Does it require AL ?

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at

    If it's a custom table, then you need to do development in AL.

    Create an archive table, on delete trigger, just do TransferFields from the the current table to the archive table.

  • Community member Profile Picture
    2 on at
     hello @romryan , were you able to find a solution for it ?

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans