Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033805Retail ModulesWeb POSpublic2016-08-22 16:292016-09-30 10:53
guilleaer 
guilleaer 
normalmajorhave not tried
closedfixed 
5
 
RR16Q3.2RR16Q3.2 
guilleaer
No
0033805: Resultant fin_transaction without cashup_id when Cash Managment transaction is processed
Observed in some customer that cash management events generates fin_transactions without cashup_id. It creates unbalanced reconciliations.
Not reproducible yet...
Some ideas.

The cash management transaction is processed before the generation/creation of the cashup entity is created in the backend
1st phase.
If cashup is not found... Cash Management cannot be processed and should be registered as an error.

2nd phase
Understand how can happen that a cashup which not exists in the server is related to a cash management transaction
No tags attached.
blocks defect 0033763RR16Q4 closed guilleaer Resultant fin_transaction without cashup_id when Cash Managment transaction is processed 
Issue History
2016-08-25 13:56guilleaerTypedefect => backport
2016-08-25 13:56guilleaerTarget VersionRR16Q4 => RR16Q3.2
2016-09-23 09:38hgbotCheckin
2016-09-23 09:38hgbotNote Added: 0090186
2016-09-23 09:38hgbotStatusscheduled => resolved
2016-09-23 09:38hgbotResolutionopen => fixed
2016-09-23 09:38hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1285de03256e3fcef7755ead95f0864156e27669 [^] => http://code.openbravo.com/retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal/rev/042b7bbd7a8f5660faefb40e591a32daa9e0dcb7 [^]
2016-09-26 23:19guilleaerReview Assigned To => guilleaer
2016-09-26 23:19guilleaerStatusresolved => closed
2016-09-26 23:19guilleaerFixed in Version => RR16Q3.2
2016-09-29 18:06hgbotCheckin
2016-09-29 18:06hgbotNote Added: 0090386
2016-09-30 10:27hgbotCheckin
2016-09-30 10:27hgbotNote Added: 0090411
2016-09-30 10:53migueldejuanaNote Added: 0090412

Notes
(0090186)
hgbot   
2016-09-23 09:38   
Repository: retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal
Changeset: 042b7bbd7a8f5660faefb40e591a32daa9e0dcb7
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Sep 23 09:37:01 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal/rev/042b7bbd7a8f5660faefb40e591a32daa9e0dcb7 [^]

Fixed issue 33805: Transaction created by cashManagement process are not accepted without a cashup

---
M src/org/openbravo/retail/posterminal/ProcessCashMgmt.java
---
(0090386)
hgbot   
2016-09-29 18:06   
Repository: retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal
Changeset: 6f0c67a7efcdb5e6280c1fbf930eb384046edb95
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Sep 29 17:53:38 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal/rev/6f0c67a7efcdb5e6280c1fbf930eb384046edb95 [^]

Related issue 33805: Transaction created by cashManagement process are not accepted without a cashup

Backed out changeset 042b7bbd7a8f

- Do not backport this, we need https://issues.openbravo.com/view.php?id=32875 [^] project

---
M src/org/openbravo/retail/posterminal/ProcessCashMgmt.java
---
(0090411)
hgbot   
2016-09-30 10:27   
Repository: retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal
Changeset: fcc5c3ad8890ef967acdb2c37c2d9bd10e4e50ae
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Sep 30 10:27:00 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal/rev/fcc5c3ad8890ef967acdb2c37c2d9bd10e4e50ae [^]

Related issue 33805: Transaction created by cashManagement process are not accepted without a cashup

-Comment failing test I31783_DifferencesNotShownInCashup
Backed out changeset 6f0c67a7efcd

---
M src/org/openbravo/retail/posterminal/ProcessCashMgmt.java
---
(0090412)
migueldejuana   
2016-09-30 10:53   
https://code.openbravo.com/retail/backports/3.0RR16Q3.2/pi-mobile/rev/17cda6037468 [^]
author Miguel de Juana <miguel.dejuana@openbravo.com>
Fri Sep 30 10:33:06 2016 +0200 (19 minutes ago)
changeset 5638 17cda6037468
parent 5637 f8551d4a98dc
Wait until 33915 is fixed
src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/sessions/openstoretill/I31783_DifferencesNotShownInCashup.java