Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040431Retail ModulesWeb POSpublic2019-03-21 13:242019-03-26 17:19
psanjuan 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR19Q2 
jorge-garcia
No
0040431: Cash up process does not make any difference between sales invoices and reverse sales invoices.
Cash up process does not make any difference between sales invoices and reverse sales invoices.
In Livebuilds, retail-stable-pgsql_pi configure channel touchpoint as:
Group orders in one invoice = No
Generate invoice for orders = No

Go to Web POS and refresh it.
Run a cash up process to start.

Create a receipt for Arturo Montoro, invoice it and pay it. Write down order number for instance receipt 128

Return that receipt by using the option, verified returs. Invoice that return and pay it. Write down order number, for instace 129

Go to the back office and verify that 2 new invoices have been created:
Invoice number 16 related to receipt 128; and Reverse Sales Invoice number 2.

Go to Web POS and make another sales for VBS Customer. Do not invoice it. Write down ticket number 130

Return this sales by using the option verified returns. Do not invoice it. Write down ticket number 131

Run Cash up process.

Go to the backoffice and verify that there are 2 new invoices but both of them are AR Sales Invoice (one positive and one negative) with same sequence numbering. This is not correct.
Cash Up process needs to invoice same way as the order loader does, that is:
- positive invoices (grouped or not grouped) referred to the document type AR Sales Invoice
- negative invoices (grouped or not grouped), referred to the document type Reverse Sales Invoice.
No tags attached.
Issue History
2019-03-21 13:24psanjuanNew Issue
2019-03-21 13:24psanjuanAssigned To => Retail
2019-03-21 13:24psanjuanTriggers an Emergency Pack => No
2019-03-25 10:42ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-03-25 10:43ranjith_qualiantech_comStatusnew => scheduled
2019-03-26 07:49hgbotCheckin
2019-03-26 07:49hgbotNote Added: 0110640
2019-03-26 07:49hgbotStatusscheduled => resolved
2019-03-26 07:49hgbotResolutionopen => fixed
2019-03-26 07:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4ad80d4cc102e39aec1746b73480fa895f220026 [^]
2019-03-26 16:00jorge-garciaReview Assigned To => jorge-garcia
2019-03-26 17:19jorge-garciaNote Added: 0110667
2019-03-26 17:19jorge-garciaStatusresolved => closed
2019-03-26 17:19jorge-garciaFixed in Version => RR19Q2

Notes
(0110640)
hgbot   
2019-03-26 07:49   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4ad80d4cc102e39aec1746b73480fa895f220026
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Mar 26 12:19:22 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4ad80d4cc102e39aec1746b73480fa895f220026 [^]

Fixed issue 40431 : Update Document Type for Reverse Sales Invoice when doing cashup

* Updated Query to get the Return Document Type for Reverse Sales Invoice when doing cashup

---
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor_data.xsql
---
(0110667)
jorge-garcia   
2019-03-26 17:19   
Code reviewed and tested