Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053973Retail ModulesWeb POSpublic2023-11-17 14:062024-03-14 07:41
ngarcia 
Rajesh_18 
urgentmajoralways
closedfixed 
5
 
RR24Q1 
Production - Confirmed Stable
2022-06-23
RR22Q3
https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/0ecf130a8964e82fcc887b5d45a7301b97289cf4 [^]
No
0053973: 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.
depends on backport 0054949RR23Q4.3 closed Rajesh_18 Data Import Entries record related to cashup is empty if the cashup goes to Errors While Importing POS Data 
caused by defect 0049438 closed ranjith_qualiantech_com PostImportEntry is not being executed in some escenarios with multiple documents 
Issue History
2023-11-17 14:06ngarciaNew Issue
2023-11-17 14:06ngarciaAssigned To => Retail
2023-11-17 14:06ngarciaTriggers an Emergency Pack => No
2023-12-07 12:50Rajesh_18Assigned ToRetail => Rajesh_18
2023-12-07 12:50Rajesh_18Statusnew => scheduled
2023-12-08 07:47Rajesh_18Regression level => Production - Confirmed Stable
2023-12-08 07:47Rajesh_18Regression date => 2022-06-23
2023-12-08 07:47Rajesh_18Regression introduced in release => RR22Q3
2023-12-08 07:47Rajesh_18Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/0ecf130a8964e82fcc887b5d45a7301b97289cf4 [^]
2023-12-08 08:43Rajesh_18Relationship addedcaused by 0049438
2023-12-14 08:15hgbotNote Added: 0158181
2023-12-14 08:16hgbotNote Added: 0158182
2023-12-19 16:08hgbotNote Added: 0158359
2023-12-19 16:08hgbotNote Added: 0158360
2023-12-19 16:08hgbotResolutionopen => fixed
2023-12-19 16:08hgbotStatusscheduled => closed
2023-12-19 16:08hgbotNote Added: 0158361
2023-12-19 16:08hgbotFixed in Version => RR24Q1
2023-12-19 16:08hgbotNote Added: 0158362
2024-03-14 07:41marvintmStatusclosed => new
2024-03-14 07:41marvintmResolutionfixed => open
2024-03-14 07:41marvintmFixed in VersionRR24Q1 =>
2024-03-14 07:41marvintmStatusnew => scheduled
2024-03-14 07:41marvintmStatusscheduled => resolved
2024-03-14 07:41marvintmFixed in Version => RR24Q1
2024-03-14 07:41marvintmResolutionopen => fixed
2024-03-14 07:41marvintmStatusresolved => closed

Notes
(0158181)
hgbot   
2023-12-14 08:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1426 [^]
(0158182)
hgbot   
2023-12-14 08:16   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/646 [^]
(0158359)
hgbot   
2023-12-19 16:08   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 7bf13c30d7bca8cad9a3cf7c009ce12c7829ad01
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 19-12-2023 09:28:27
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/7bf13c30d7bca8cad9a3cf7c009ce12c7829ad01 [^]

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

---
M src/org/openbravo/retail/posterminal/POSUtils.java
---
(0158360)
hgbot   
2023-12-19 16:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1426 [^]
(0158361)
hgbot   
2023-12-19 16:08   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/646 [^]
(0158362)
hgbot   
2023-12-19 16:08   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: d5991e1fc5937f3ea8e8e248283986770e731c73
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 19-12-2023 15:57:37
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/d5991e1fc5937f3ea8e8e248283986770e731c73 [^]

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

---
M src/org/openbravo/mobile/core/process/MobileImportEntryProcessorRunnable.java
---