Service Charge: Report Header Due Date is incorrect

Issue No: AR-14825
Created 6/9/2022 6:40:00 AM
Type Bug-QC
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 22.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-270167 - F-NA-Walter Matter Initiative for Bugs & Features|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-270167]   Detailed steps: [WAMA-T1294|http://jira.irelyserver.com/secure/Tests.jspa#/testCase/WAMA-T1294]   Execution: [IRE-E12894|http://jira.irelyserver.com/secure/Tests.jspa#/testPlayer/testExecution/IRE-E12894]     Preconditions:   Service Charge Code   New customer created   New customer linked to the above service charge     Steps to reproduce:   1. Go to Sales > Activities > Invoices   2. Create and post 2 invoices with Due Dates 10 days less than the current date     3. Go to Contract Management > Activities > Contracts   4. Create a priced contract with Start Date 15 days less than the current date   5. Go to Sales > Activities > Invoices   6. Create and post an invoice linked to the above contract   7. Calculate the service charge         8. Open the generated service charge invoice (Note: Terms: Due on Receipt; Due Date: Today (June 07, 2022)   !pastedImage_d187543_0.png|height=323,width=700!   9. Click Print button   10. Check Due Date field value   Expected result: Due Date should be Current Date, i.e., the Due Date from service charge invoice   Actual result: 10 days less than Current Date, i.e., the Due Date of the charged invoices   !pastedImage_d187543_1.png|height=792,width=640!