HDTN-272187 - Vendor Prepayment - Incorrect Amount Paid and Amount Due

Issue No: AP-10484
Created 5/4/2022 4:47:10 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-272187 - CVPRE-957 and VPRE-958|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-272187]   *This issue relates to i21 Help Desk ticket:* [ HDTN-272187 - CVPRE-957 and VPRE-958|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-272187]   Steps:   # Check scale station: OWT   # Create Basis Contract > Save # Price the Basis Contract > Save # Click Prepaid hyperlink on Contract's Additional Info # On voucher, select item then Post # Click Pay button > Post payment # Go tickets screen > Change Scale Station to ITH1 # Create Load In (Contract) Ticket # Manually Distribute ticket > Open voucher created - _Voucher is not posted_ # Uncheck the VPRE from prepaid tab # Open VPRE - _Has amount paid_   Issue:   Incorrect Amount Paid and Amount Due of Vendor Prepayment.   * Issue 1: Vendor prepayment is applied twice on voucher from ticket * Issue 2: Voucher created from ticket is not posted and when uncheck the VPRE on prepaid tab, the VPRE still has Amount Paid   !pastedImage_d184687_0.png|height=240,width=1095!   !pastedImage_d184687_1.png|height=239,width=1095!   Accepted:   Amount Paid and Amount Due of Vendor Prepayment should be correct.   * Amount Due: -3,400.00 * Amount Paid: 0.00