Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038388Retail ModulesWeb POSpublic2018-04-17 12:452019-02-20 17:03
psanjuan 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR19Q1 
marvintm
No
0038388: Payment details are not correct while using Cancel & Replace and "Generate Invoices for orders"
Payment details are not correct while using Cancel & Replace and "Generate Invoices for orders"
Log in as Openbravo/openbravo in OB backoffice. Select "The White Vally Group Admin" role.

Go to Pos Terminal and search by vbs-1. Navigate to Pos Terminal Type and configure it like below:
Group orders in one invoice = No
Generate Invoices for Orders = Yes

Log in Web POS as vallblanca. Refresh if needed.

Create a new sale/ticket for VBS Customer. Select 3 units of item "Avalanche transceiver". Confirm the sale and pay it by cash. Write down ticket number VBS1/00000231.

Go to backoffice, navigate to sales order window and verify that an order has been created there, same way check that an invoice has also been created for a quatity of 3 units. Check that the invoice is fully paid. Total Outstanding = 0.00

Go back to web POS. Select the option receipt. Select the receipt just created (231) and press Cancel and Replace. Add one unit of the product. Confirm the sale and pay it by cash. Write down ticket number VBS1/00000231-1. Total amount paid is 602.00

Go to back office and verify that the corresponding orders have been created (VBS1/0000231-1 for a quantity = 4, and VBS1/0000231*R" for a quantity = -3)

Go to sales invoice and verify that a new invoice (i.e. VBS10000010) has been created there for an amount of 602.00 and 3 and 1 units of the same product.

Go to Web POS and run cash up process.

Go to back office and verify that a new invoice (i.e. VBS10000011) has been created there, fully paid, reflecting the units remaining -3 to invoice.

Go back to invoice (i.e. VBS10000010) and check that it shows below data that is not correct:

Total Outstanding = 451.50 (it should be 0,00)
Payment plan - Received Amount 150.50 (it should be 602.00)
Payment details - Recived Amount 150.50 (it should be 602.00)



Order loader process needs to take into account netting payments created, therefore are properly associated to the corresponding invoice.
No tags attached.
jpg issue_38388.jpg (33,961) 2018-04-17 13:03
https://issues.openbravo.com/file_download.php?file_id=11742&type=bug
jpg
Issue History
2018-04-17 12:45psanjuanNew Issue
2018-04-17 12:45psanjuanAssigned To => Retail
2018-04-17 12:45psanjuanTriggers an Emergency Pack => No
2018-04-17 12:54psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17015#r17015
2018-04-17 13:02psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17016#r17016
2018-04-17 13:02psanjuanProposed Solution updated
2018-04-17 13:03psanjuanFile Added: issue_38388.jpg
2018-04-18 10:50psanjuanDescription Updatedbug_revision_view_page.php?rev_id=17023#r17023
2018-09-27 11:22ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-09-27 11:22ranjith_qualiantech_comStatusnew => scheduled
2019-02-14 06:18ranjith_qualiantech_comNote Added: 0109816
2019-02-14 06:19ranjith_qualiantech_comNote Edited: 0109816bug_revision_view_page.php?bugnote_id=0109816#r18315
2019-02-14 06:19ranjith_qualiantech_comNote Edited: 0109816bug_revision_view_page.php?bugnote_id=0109816#r18316
2019-02-20 15:04umartirenaIssue Monitored: umartirena
2019-02-20 17:03marvintmStatusscheduled => resolved
2019-02-20 17:03marvintmFixed in Version => RR19Q1
2019-02-20 17:03marvintmResolutionopen => fixed
2019-02-20 17:03marvintmReview Assigned To => marvintm
2019-02-20 17:03marvintmStatusresolved => closed

Notes
(0109816)
ranjith_qualiantech_com   
2019-02-14 06:18   
(edited on: 2019-02-14 06:19)
Issue will be fixed indirectly by internal project "Invoice Terms"