Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Sales Header Archive - Retention Policy Filters

Posted on by 95
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.
Categories:
  • BBC_dhanvi Profile Picture
    BBC_dhanvi 95 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
    Saurav.Dhyani 17,965 Super User 2024 Season 2 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans