Skip to main content

Notifications

Community site session details

Community site session details

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

Sales Header Archive - Retention Policy Filters

(1) ShareShare
ReportReport
Posted on by 158
Hello,
I am setting up sales quote archive to delete the doc automatically after 1 year of period.
I am doing it through retention policies. Can anyone explain the filters which automatically gets set on creating sales header Archive? like Interaction Exists or Source Doc. Exists?
 
and please provide any modification that i should do for setting up the proper retention policy form deleting sales quote after one year.
  • BBC_dhanvi Profile Picture
    158 on at
    Sales Header Archive - Retention Policy Filters
    Hello,
    where to set the date filter? as there are many and how to input the System Created date
    will i require to create extension for this ?
  • Verified answer
    Saurav.Dhyani Profile Picture
    14,314 Super User 2025 Season 1 on at
    Sales Header Archive - Retention Policy Filters
    Hi,
     
    the Date field that you should be using is system created date at to calculate the age of the record. The System created at is automatically field in when a new record is created.
     
    The default filters are set by code. This is set by Microsoft (app developer) who owns the app. There are two types of filters that can be set via code.
     
    1. Locked - which are mandatory and cannot be disabled.
    2. Optional - which can be configured by user while setting retention policies.
     
    Interaction exist is an optional filter. This filter will not delete the document if Interactions exist is true in the document.
    Another filter Document Type = quote, which means it will only delete Quotes only.
     
    Regards,
    Saurav Dhyani
     

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans