iRely: Customer Documents - Purge Process

Issue No: AR-13311
Created 4/1/2021 4:03:42 PM
Type Feature
Priority Major
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-253147 - Portal - Show AR EFT Draft|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-253147]   *This issue relates to i21 Help Desk ticket:* [ HDTN-258782 - Portal: Show AR EFT Draft|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-258782]   *This issue relates to i21 Help Desk ticket:* [ HDTN-253147 - Portal - Show AR EFT Draft|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-253147]   To Do:   # Set up a purge configuration in System Manager ## Configuration to be labeled "Customer Attachment Document Retention" ### Dropdown with choices of: #### 1 year #### 2 years #### 3 years #### 4 years #### 5 years #### 6 years #### 7 years ##### This should be the default #### Never Remove ## Configuration should look at the 'Date Added' field on the Customer > Attachments tab and compare to the current date. All documents older than the configuration are to be deleted. ### Example 1: #### Date Added = 03/23/2020 #### Current Date = 03/24/2021 #### Configuration = 1 year ##### Result is document +should+ be removed. ### Example 2: #### Date Added = 03/23/2020 #### Current Date = 03/24/2021 #### Configuration = 2 years ##### Result is document should +not+ be removed. ### Example 3: #### Date Added = 03/23/1999 #### Current Date = 03/24/2021 #### Configuration = Never Remove ##### Result is document should +not+ be removed. ## Configuration should be set to run daily at 00:01 local time     *Mockup:*   !pastedImage_d157251_0.png|height=923,width=996!