POS: RCV created in error

Issue No: AR-11889
Created 5/12/2020 2:53:59 PM
Type Bug
Priority Major
Status Closed
Resolution Fixed
Fixed Version 19.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-245745 - Transaction created RCV, should have been put on the account|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-245745]     + *Steps:* +     1. Create a POS return and sale on the same receipt on account with the sale higher than the return.   i.e.   Return = $25   Sale = $100   2. Create a payment for the transaction as 'On Account'   3. Save (TE is live POS, Co99 is still Batch process).   + *Issue:* +   1. Anytime the customer puts any amount 'on account' we just do not want to generate an RCV for the amount going 'on account'   2. Creates an RCV showing it was paid by Cash.   3. The Invoice for the newly purchased items is showing Posted/Paid     !pastedImage_d135915_0.png|height=901,width=1099!     + *To Do:* +   1. Fix the program so that the net of the transaction (amount returned - amount purchased) does not create an RCV when using the 'on account' payment method.   2. Fix the program so that the invoice created (amount purchased) is not posted/paid when the transaction was to use credit on the account.   3. Ensure that the customer aging reflects the items returned (credits) and the items purchased (debits).     *Example:*   Customer buys $250 worth of merchandise, returns $100 worth of merchandise they will owe $150. (250-100=150)   If they pay $10 in cash, $11 in check, $12 on a debit card, $17 on a credit card, and put $100 on account, I would expect to see:   * Invoice for $250 (all purchased items) * Credit memo for $100 (returned items) * RCV for $10 (cash payment) * RCV for $11 (check) * RCV for $12 (debit card) * RCV for $17 (credit card)   This will leave $100 due on their account and will be reported on the customer balance.