Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054949Retail ModulesWeb POSpublic2023-11-17 14:062024-03-14 14:18
ngarcia 
Rajesh_18 
urgentmajoralways
closedfixed 
5
 
RR23Q4.3RR23Q4.3 
Production - Confirmed Stable
2022-06-23
RR22Q3
https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/0ecf130a8964e82fcc887b5d45a7301b97289cf4 [^]
No
0054949: Data Import Entries record related to cashup is empty if the cashup goes to Errors While Importing POS Data
Data Import Entries record related to cashup is empty if the cashup goes to Errors While Importing POS Data.

We need to maintain the original Cashup Data in the Data Import Entry although it is in Errors While Importing POS Data too. The JSON in the Errors While Importing POS Data is editable and can be lost
In the POS:
   Do a sale in cash
   Do a cashup
   Count a lower value than the expected one in cash
   Do not complete it

In the backoffice:
   In Channel Touchpoint Type - Payment Method remove the Cash Differences G/L ITem and set payment method as Count Payment In Cashup = 'N' for Cash payment method (to force the EWI)

In the POS:
   Complete the cashup

In the backoffice:
   Check there is a record in Errors While Importing POS Data with the following error:
      org.openbravo.base.exception.OBException: Cashup cannot be processed since error occurred in CashClose: null
    at org.openbravo.retail.posterminal.ProcessCashClose.doReconciliationAndInvoices(ProcessCashClose.java:526)

   In Data Import Entries, check there is a Process Cashup Data with the following JSON info when itt should have the JSON of the cashup:

      {"data":[]}

   Try to Save Again the Errors while Importing POS Data and check a new entry is created with the same JSON Info

   Leave the Touchpoint Type - Payment Method as it was and save again the Errors While Importing POS Data

   At this moment, a new Data Import entry is created with the JSON of the EWI
No tags attached.
blocks defect 0053973 closed Rajesh_18 Data Import Entries record related to cashup is empty if the cashup goes to Errors While Importing POS Data 
Issue History
2024-03-14 07:41marvintmTypedefect => backport
2024-03-14 07:41marvintmTarget Version => RR23Q4.3
2024-03-14 08:00hgbotNote Added: 0162125
2024-03-14 08:00hgbotNote Added: 0162126
2024-03-14 14:18hgbotResolutionopen => fixed
2024-03-14 14:18hgbotStatusscheduled => closed
2024-03-14 14:18hgbotFixed in Version => RR23Q4.3
2024-03-14 14:18hgbotNote Added: 0162180
2024-03-14 14:18hgbotNote Added: 0162181
2024-03-14 14:18hgbotNote Added: 0162182
2024-03-14 14:18hgbotNote Added: 0162183

Notes
(0162125)
hgbot   
2024-03-14 08:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/682 [^]
(0162126)
hgbot   
2024-03-14 08:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1505 [^]
(0162180)
hgbot   
2024-03-14 14:18   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: d39ae013e0b88123d9ff31c4db0d2a3d9952f399
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 14-03-2024 07:01:21
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/d39ae013e0b88123d9ff31c4db0d2a3d9952f399 [^]

Fixed ISSUE-54949: Json info is restored after post import entry process

---
M src/org/openbravo/mobile/core/process/MobileImportEntryProcessorRunnable.java
---
(0162181)
hgbot   
2024-03-14 14:18   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/682 [^]
(0162182)
hgbot   
2024-03-14 14:18   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1505 [^]
(0162183)
hgbot   
2024-03-14 14:18   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: b1213fc452d2f93939b987f80fdd0139240d5a81
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 14-03-2024 13:17:51
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/b1213fc452d2f93939b987f80fdd0139240d5a81 [^]

Related to ISSUE-54949: Json info is restored after post import entry process

---
M src/org/openbravo/retail/posterminal/POSUtils.java
---