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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051514
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorhave not tried2023-01-27 12:502023-02-13 12:57
Reporternicola_uvaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in VersionRR22Q4.2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR22Q4.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051514: When the amount of the ticket is more than 1000eur the order go in EWI

DescriptionThe problem is due to the fact that on WEBPOS when is made this operation
OB.App.Locale.formatAmount(1000) the result is "1,000" and in the backoffice is failing(see error below) during the order synchronization


java.lang.NumberFormatException: Character , is neither a decimal digit number, decimal point, nor "e" notation exponential mark.
    at java.base/java.math.BigDecimal.<init>(BigDecimal.java:522)
    at java.base/java.math.BigDecimal.<init>(BigDecimal.java:405)
    at java.base/java.math.BigDecimal.<init>(BigDecimal.java:838)
    at org.openbravo.retail.posterminal.UpdateCashup.refreshCountPerAmountEntries(UpdateCashup.java:407)
    at org.openbravo.retail.posterminal.UpdateCashup.createPaymentMethodCashUp(UpdateCashup.java:379)
    at org.openbravo.retail.posterminal.UpdateCashup.updateOrCreateCashupInfo(UpdateCashup.java:317)
    at org.openbravo.retail.posterminal.UpdateCashup.getAndUpdateCashUp(UpdateCashup.java:154)
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:207)

Steps To Reproduce1) Enable "Count Per Amount" for Cash "Payment Method" in Channel Touchpoint Type
2) Login on webpos
3) create a ticket more than 1000eur
4) finalize ticket
5) Order go in EWI
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0051484pi closedranjith_qualiantech_com When the amount of the ticket is more than 1000eur the order go in EWI 

-  Notes
(0146198)
hgbot (developer)
2023-02-03 07:46

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/467 [^]
(0146200)
hgbot (developer)
2023-02-03 07:46

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1054 [^]
(0146440)
hgbot (developer)
2023-02-13 12:57

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 0dabc56921dbc789e7aa81ca9310cb9720914af4
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 03-02-2023 11:09:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/0dabc56921dbc789e7aa81ca9310cb9720914af4 [^]

Fixed ISSUE-51514: CountPerAmount should be updated with Amount without symbols

---
M web-test/model/business-object/ticket/CompleteTicketUtils.test.js
M web-test/model/business-object/ticket/actions/AddPayment.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js
---
(0146441)
hgbot (developer)
2023-02-13 12:57

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1054 [^]
(0146442)
hgbot (developer)
2023-02-13 12:57

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 1275d839d8c9fc411ab7d258ba5bc5283b0f8409
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 03-02-2023 10:12:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/1275d839d8c9fc411ab7d258ba5bc5283b0f8409 [^]

Related to ISSUE-51514: Added Symbols to Locale property
* Added Decimal Symbol & Grouping Symbol to Locale property

---
M web/org.openbravo.mobile.core/app/util/Locale.js
---
(0146443)
hgbot (developer)
2023-02-13 12:57

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/467 [^]

- Issue History
Date Modified Username Field Change
2023-01-31 11:24 marvintm Type defect => backport
2023-01-31 11:24 marvintm Target Version pi => RR22Q4.2
2023-02-03 07:46 hgbot Note Added: 0146198
2023-02-03 07:46 hgbot Note Added: 0146200
2023-02-13 12:57 hgbot Resolution open => fixed
2023-02-13 12:57 hgbot Status scheduled => closed
2023-02-13 12:57 hgbot Fixed in Version => RR22Q4.2
2023-02-13 12:57 hgbot Note Added: 0146440
2023-02-13 12:57 hgbot Note Added: 0146441
2023-02-13 12:57 hgbot Note Added: 0146442
2023-02-13 12:57 hgbot Note Added: 0146443


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker