Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050211Retail ModulesCash uppublic2022-09-09 13:392022-09-29 12:07
javietxe 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR22Q4 
No
0050211: Cashup data is processed even it's in errors while importing
When a cashup is in errors while importing with the error:

"org.openbravo.base.exception.OBException: Cash up is processed and cannot be set as processed again. OBPOS_APP_CASHUP_ID: "

Some data is still updated in the original cashup, with the data coming in the json and it shouldn't.
Log in the POS

Do a cashup and save the ID.

Log in the POS again , do some sells and do a cashup. Modify the ID via the developers tools to set the previous ID and get the error in errors while importing.

Check that the data present in the original cashup is the last one, even it seemed that was not processed because of the error.
No tags attached.
Issue History
2022-09-09 13:39javietxeNew Issue
2022-09-09 13:39javietxeAssigned To => Retail
2022-09-09 13:39javietxeTriggers an Emergency Pack => No
2022-09-20 07:28ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-09-20 07:28ranjith_qualiantech_comStatusnew => scheduled
2022-09-21 06:46hgbotNote Added: 0141278
2022-09-29 12:07hgbotResolutionopen => fixed
2022-09-29 12:07hgbotStatusscheduled => closed
2022-09-29 12:07hgbotNote Added: 0141498
2022-09-29 12:07hgbotFixed in Version => RR22Q4
2022-09-29 12:07hgbotNote Added: 0141499

Notes
(0141278)
hgbot   
2022-09-21 06:46   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/927 [^]
(0141498)
hgbot   
2022-09-29 12:07   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/927 [^]
(0141499)
hgbot   
2022-09-29 12:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 9a5acee7bd495d49fb76329a3bfb8cb96f3bdd73
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 29-09-2022 12:59:28
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9a5acee7bd495d49fb76329a3bfb8cb96f3bdd73 [^]

Fixed ISSUE-50211: Cashup should be validated before updating cashup data

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/UpdateCashup.java
---