HDTN-251143 - Unable To Update AR - Pre-Process to find errors

Issue No: CF-2583
Created 9/16/2020 4:47:38 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.1, 19.2, 20.1, 21.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-251143 - Unable To Update AR|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-251143]   * Objective ** Errors should be caught on bad data before sending invoices to customers. *** Currently the system allows the user to Run the Card Fueling Invoices, even if there are errors that will stop them from updating AR. *** This causes the user to potentially print their invoices multiple times. And send invalid Invoices to customers. * Requirements ** When Reprint Invoice = No and Include Previously Printed Transaction = No *** Run should give errors in the following situations so that a User can fix it before doing the Update AR step: **** Scenario #1 - Individual CF Tran Calc Total <> AR Amount Due ***** Should run before generate Invoice process. ***** Should only consider transaction that meet the Invoice Filter criteria ***** Note Expensed Transaction should have an AR Amount Due = 0 ***** Error Type = Tran <> AR ***** CF Amount = CF Calc Total ***** AR Amount = AR Invoice Amount Due **** Scenario #2 - CF Running Balance <> AR Ending Balance ***** Should run at end of Generate Invoice process ***** Error Type = Running Balance <> AR ***** CF Amount = Running Balance ***** AR Amount = AR Ending Balance **** Note Errors in Grid and Cancel Generation of Invoice ***** Grid Columns ****** Error Type ****** Customer ****** Transaction Id ****** Transaction Date ****** CF Amount ****** AR Amount