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

Notifications

Announcements

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)
  • Community member Profile Picture
    2 on at
     hello @romryan , were you able to find a solution for it ?
  • 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.

  • 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 ?

  • YUN ZHU Profile Picture
    96,281 Super User 2025 Season 2 on at

    Hi, hope this will help.

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

  • 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.

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

News and Announcements

Season of Giving Solutions is Here!

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 1,457

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 742 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 669 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans