POS Batch Process - Receipt and created invoice are different for returned transaction

Issue No: AR-11182
Created 11/13/2019 2:44:09 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Steps to reproduce:   1. Go to Sales \| POS \| POS Login   2. Log in   3. Create a return transaction   4. Process payment. Take note of the Invoice Number in the receipt   !pastedImage_d126734_0.png|height=623,width=323!   5. Perform Batch Process   6. Check Invoice Number   Expected result: Created invoice number should be the same as that in the sales receipt   Actual result: Invoice numbers from sales receipt and POS Batch Process (created) are not the same   !pastedImage_d126734_1.png|height=374,width=898!   !pastedImage_d126734_2.png|height=615,width=1200!