Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040992Retail ModulesWeb POSpublic2019-05-31 13:462019-06-25 19:22
aferraz 
aferraz 
normalmajorhave not tried
closedfixed 
5
 
RR19Q3RR19Q3 
marvintm
No
0040992: Cross Store Returns are not invoiced in cashup
Cross Store Returns are not invoiced in cashup
- Create a receipt in OS-1
- Return it in VB-1
- Run cashup in VB-1
- Realize return is not invoiced
No tags attached.
related to feature request 0040257RR19Q2 closed aferraz Cross Store Payments & Returns project 
related to feature request 0041006RR19Q3 closed aferraz Cross Store Sales project 
Issue History
2019-05-31 13:46aferrazNew Issue
2019-05-31 13:46aferrazAssigned To => aferraz
2019-05-31 13:46aferrazTriggers an Emergency Pack => No
2019-05-31 13:46aferrazRelationship addedrelated to 0040257
2019-06-02 23:31hgbotCheckin
2019-06-02 23:31hgbotNote Added: 0112329
2019-06-02 23:31hgbotStatusnew => resolved
2019-06-02 23:31hgbotResolutionopen => fixed
2019-06-02 23:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e7b65ae10590dd54efb218060d303d20bdd5cbea [^]
2019-06-17 10:55aferrazReview Assigned To => marvintm
2019-06-17 10:56aferrazRelationship addedrelated to 0041006
2019-06-25 19:22marvintmStatusresolved => closed
2019-06-25 19:22marvintmFixed in Version => RR19Q3

Notes
(0112329)
hgbot   
2019-06-02 23:31   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e7b65ae10590dd54efb218060d303d20bdd5cbea
Author: Álvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Sat Jun 01 13:30:52 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e7b65ae10590dd54efb218060d303d20bdd5cbea [^]

Fixes issue 40992: Cross Store Returns are not invoiced in cashup

Use order organization instead of terminal organization to filter by docType in OrderGroupingProcessor, as we are already filtering by cashupId.
Copy ad_orgtrx_id (terminal organization) value from C_Order to C_Invoice.

---
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor_data.xsql
---