[vyuTMGeneratedCallEntry] dblCustomerBalance is not having past due amount to show in LCR

Issue No: TM-2695
Created 1/6/2018 7:34:56 AM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 17.3
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-207386 - LCR AR Balance|http://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-207386]   + *Steps:* +   1. From TM > Open a consumption site.   2. Create a call order. Dispatch and save.   3. From Logistics > Lease Cost Routing, enter the details on the filter such as Driver, Truck, Ship Via, etc.   4. Click Fetch Order button. Results will display on LCR grid.   5. Filter the specific customer site on the grid.   6. Scroll and check AR Balance value.   +Issue:+   [vyuTMGeneratedCallEntry] dblCustomerBalance is not having past due amount to show in LCR.     For Reference: http://jira.irelyserver.com/browse/TM-2454   At some point the AR Balance field in LCR got switched and is no longer reporting the correct field from Tank Management. This has become a huge problem as the managers that will be using LCR for the remainder of the heating season will not know which customers have an outstanding balance. LCR is currently displaying the Current field where it should be displaying the Total Past Due field. The customer below is an example where it is showing that he owes $7.16 in LCR but he really is past due by $477.35. This needs to be fixed ASAP as we have already made deliveries to customers that have a past due balance because of this reporting issue. Thanks!   !pastedImage_d89339_0.png!   + *Acceptance:* +   Should display the correct value from AR Balance which should be equivalent to Total Past Due.