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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048411
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2022-01-13 18:392022-01-20 16:44
Reportergorka_gilView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR21Q4.4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR21Q4.4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048411: Cannot send back to the backend a paid order opened from a previous cashup

DescriptionWhen opening an order from a previous cashup and sending back to the backend it gives this error:

"The cashup related to this order has been processed"
Steps To ReproduceCreate a ticket
Do cashup
Open the previous ticket
Click on pay and done

It will produce an error while importing:
"The cashup related to this order has been processed"
Proposed SolutionWhen sending the json to the backend, in the json are included two cashup id's:
   - obposAppCashup : it is the cashup id linked to the order in the tables
   - cashUpReportInformation[id] : it is the cashup information of the pos when sending the ticket to the backend

If loading a order from a previous cashup, the cashUpReportInformation[id] will point to the current cashup, but the obposAppCashup will point to the cashup when the orded was created

So the proposal is change this check to instead of check the obposAppCashup , to check the cashUpReportInformation[id]

Attached fix proposal
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0048399 closedranjith_qualiantech_com Cannot send back to the backend a paid order opened from a previous cashup 

-  Notes
(0134409)
hgbot (developer)
2022-01-20 12:22

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/695 [^]
(0134424)
hgbot (developer)
2022-01-20 16:44

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 86805e122a93a298603b10b703f44f02db1637b1
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 20-01-2022 16:47:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/86805e122a93a298603b10b703f44f02db1637b1 [^]

Fixed ISSUE-48411: Cashup should be validated when processing loaded order
* When processing loaded order, Cashup should be validated with cashUpReportInformation
  instead of obposAppCashup from json

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0134425)
hgbot (developer)
2022-01-20 16:44

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/695 [^]

- Issue History
Date Modified Username Field Change
2022-01-17 16:50 marvintm Type defect => backport
2022-01-17 16:50 marvintm Target Version => RR21Q4.4
2022-01-20 12:22 hgbot Note Added: 0134409
2022-01-20 16:44 hgbot Resolution open => fixed
2022-01-20 16:44 hgbot Status scheduled => closed
2022-01-20 16:44 hgbot Fixed in Version => RR21Q4.4
2022-01-20 16:44 hgbot Note Added: 0134424
2022-01-20 16:44 hgbot Note Added: 0134425


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker