Vouchers are marked as paid when duplicated from Vouchers with saved payment

Issue No: AP-9101
Created 9/3/2020 8:16:29 PM
Type Bug-QC
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-249911 - A - 1 Does not show up in Pay Voucher Details|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-249911]   *Steps:*   # Create a Voucher (Any type) # Post and Pay the voucher # Go back to the voucher and click Duplicate # Post the duplicated voucher # Click Pay   *Issue:* When vouchers are duplicated from a voucher with saved payment, the duplicate also copies the value of ysnInPayment column   !pastedImage_d143464_0.png|height=121,width=620! !pastedImage_d143464_1.png|height=431,width=664!   *Accepted:*   * Duplicate vouchers should have a default value of 0 in ysnInPayment and ysnPrepayHasPayment