Duplicate invoice

Issue No: MBIL-538
Created 8/18/2021 5:15:18 AM
Type Bug-QC
Priority Major
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *Issue:*   Duplicate invoice is being created.   *Additional Details:*   It looks like the cash invoices imported in Sales A/R correctly as cash invoices. However, I had some duplicate invoices happen.   When I entered the customer, I tapped Done, then tapped No when it asked to view invoice. But the invoice screen didn't close, so I tapped Done again. I ended up with two invoices, one of the invoices had both line items duplicated, so a total of 4 lines (the original was 2 lines). The invoice numbers are SI-22514-251081750621 and SI-22514-210817150610.   !pastedImage_d167891_0.png|height=289,width=549!   !pastedImage_d167891_1.png|height=285,width=549!   I also ended up with two duplicate invoices for another customer SI-22514-210817150722. Neither one of them posted when I did a batch post because they are duplicates. Nothing strange happened when I entered those so I don't know what caused it.   !pastedImage_d167891_2.png|height=92,width=549!       *Steps:*   1. Go to Tank Management > Consumption Sites.   2. Create a TM order with sales tax.   3. Click the Save button.   4. Login to Mobile Billing application.   5. Click the Receive Full Data button.   6. Add Location and populate fields to start shift.   7. Go to Stops.   8. Verify load schedule created in Step 4. Verify customer and customer location.   9. Create an invoice.   10. Verify tax is applied on the invoice.     *Acceptance:*   Should be able to apply tax on the invoice using the MBIL app.