Undistribute ticket creates VPRE for a DM

Issue No: AP-6458
Created 11/9/2018 4:53:52 PM
Type Gap
Priority Major
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Back groupnd:   * We do not want to create one total prepayment - * while this would solve the problem it would not maintain references when transactions are reappplied. * We do not want all the vouchers off the check then dont do anyting with them then all back on on the next check * that creates alot of noise and mess.to the vendor * we should also never create a DM for the vendor on a reversal - leave it applied to the payment and reduce the prepaid - a debit memo is an amount the vendor owes you so you would never take it off and add it again as a debit memo- just leave it applied to the check   The only unusual case you will see which is valid is the following   * create voucher for 5$ * create debit memo for 1$ * create a check (4$) * Reverse the check * Create a prepaid for 5$ * leave the debitmemo applied to the check *   Steps:   * Undistribute Scale Ticket 775 from DWNTN Scale Station ** Ticket is on PAY-844 * System creates VPRE for all transactions on PAY-844   Issue:   * Pay-844 has Debit Memo's on it * System created VPRE for the DM   Acceptance   * System should not create any entry for the debit memo on a payment.