Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054949
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2023-11-17 14:062024-03-14 14:18
ReporterngarciaView Statuspublic 
Assigned ToRajesh_18 
PriorityurgentResolutionfixedFixed in VersionRR23Q4.3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR23Q4.3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelProduction - Confirmed Stable
Regression date2022-06-23
Regression introduced in releaseRR22Q3
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/0ecf130a8964e82fcc887b5d45a7301b97289cf4 [^]
Triggers an Emergency PackNo
Summary

0054949: Data Import Entries record related to cashup is empty if the cashup goes to Errors While Importing POS Data

DescriptionData 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
Steps To ReproduceIn 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0053973 closedRajesh_18 Data Import Entries record related to cashup is empty if the cashup goes to Errors While Importing POS Data 

-  Notes
(0162125)
hgbot (developer)
2024-03-14 08:00

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/682 [^]
(0162126)
hgbot (developer)
2024-03-14 08:00

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1505 [^]
(0162180)
hgbot (developer)
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 (developer)
2024-03-14 14:18

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/682 [^]
(0162182)
hgbot (developer)
2024-03-14 14:18

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1505 [^]
(0162183)
hgbot (developer)
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
---

- Issue History
Date Modified Username Field Change
2024-03-14 07:41 marvintm Type defect => backport
2024-03-14 07:41 marvintm Target Version => RR23Q4.3
2024-03-14 08:00 hgbot Note Added: 0162125
2024-03-14 08:00 hgbot Note Added: 0162126
2024-03-14 14:18 hgbot Resolution open => fixed
2024-03-14 14:18 hgbot Status scheduled => closed
2024-03-14 14:18 hgbot Fixed in Version => RR23Q4.3
2024-03-14 14:18 hgbot Note Added: 0162180
2024-03-14 14:18 hgbot Note Added: 0162181
2024-03-14 14:18 hgbot Note Added: 0162182
2024-03-14 14:18 hgbot Note Added: 0162183


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker