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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053973
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2023-11-17 14:062024-03-14 07:41
ReporterngarciaView Statuspublic 
Assigned ToRajesh_18 
PriorityurgentResolutionfixedFixed in VersionRR24Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0053973: 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 ]
depends on backport 0054949RR23Q4.3 closedRajesh_18 Data Import Entries record related to cashup is empty if the cashup goes to Errors While Importing POS Data 
caused by defect 0049438 closedranjith_qualiantech_com PostImportEntry is not being executed in some escenarios with multiple documents 

-  Notes
(0158181)
hgbot (developer)
2023-12-14 08:15

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1426 [^]
(0158182)
hgbot (developer)
2023-12-14 08:16

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/646 [^]
(0158359)
hgbot (developer)
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 (developer)
2023-12-19 16:08

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1426 [^]
(0158361)
hgbot (developer)
2023-12-19 16:08

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/646 [^]
(0158362)
hgbot (developer)
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
---

- Issue History
Date Modified Username Field Change
2023-11-17 14:06 ngarcia New Issue
2023-11-17 14:06 ngarcia Assigned To => Retail
2023-11-17 14:06 ngarcia Triggers an Emergency Pack => No
2023-12-07 12:50 Rajesh_18 Assigned To Retail => Rajesh_18
2023-12-07 12:50 Rajesh_18 Status new => scheduled
2023-12-08 07:47 Rajesh_18 Regression level => Production - Confirmed Stable
2023-12-08 07:47 Rajesh_18 Regression date => 2022-06-23
2023-12-08 07:47 Rajesh_18 Regression introduced in release => RR22Q3
2023-12-08 07:47 Rajesh_18 Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/0ecf130a8964e82fcc887b5d45a7301b97289cf4 [^]
2023-12-08 08:43 Rajesh_18 Relationship added caused by 0049438
2023-12-14 08:15 hgbot Note Added: 0158181
2023-12-14 08:16 hgbot Note Added: 0158182
2023-12-19 16:08 hgbot Note Added: 0158359
2023-12-19 16:08 hgbot Note Added: 0158360
2023-12-19 16:08 hgbot Resolution open => fixed
2023-12-19 16:08 hgbot Status scheduled => closed
2023-12-19 16:08 hgbot Note Added: 0158361
2023-12-19 16:08 hgbot Fixed in Version => RR24Q1
2023-12-19 16:08 hgbot Note Added: 0158362
2024-03-14 07:41 marvintm Status closed => new
2024-03-14 07:41 marvintm Resolution fixed => open
2024-03-14 07:41 marvintm Fixed in Version RR24Q1 =>
2024-03-14 07:41 marvintm Status new => scheduled
2024-03-14 07:41 marvintm Status scheduled => resolved
2024-03-14 07:41 marvintm Fixed in Version => RR24Q1
2024-03-14 07:41 marvintm Resolution open => fixed
2024-03-14 07:41 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker