Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053547Retail ModulesWeb POSpublic2023-09-25 22:502023-10-30 07:05
0053547: Error with the "Count per Amount" configuration of the payment methods
If we configure the "Count per Amount" check in a payment method, and when we use the payment method in the webPOS, paying a large amount, the following ewi is generated:

java.lang.NumberFormatException: Character array is missing "e" notation exponential mark.
    at java.base/java.math.BigDecimal.<init>(
    at java.base/java.math.BigDecimal.<init>(
    at java.base/java.math.BigDecimal.<init>(
    at org.openbravo.retail.posterminal.UpdateCashup.refreshCountPerAmountEntries(
    at org.openbravo.retail.posterminal.UpdateCashup.createPaymentMethodCashUp(
    at org.openbravo.retail.posterminal.UpdateCashup.updateOrCreateCashupInfo(
    at org.openbravo.retail.posterminal.UpdateCashup.getAndUpdateCashUp(
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(
    at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(
    at org.openbravo.service.importprocess.ImportEntryProcessor$
    at java.base/java.util.concurrent.Executors$
    at java.base/
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.base/java.util.concurrent.ThreadPoolExecutor$
    at java.base/
1) Configurate Count per Amount in a payment.
2) Go to the webPOS and do a order with a amount big (changed the price or with quantity, more that the 1 million)
3) check the ewis

Video [^]
No tags attached.
related to defect 0051484pi closed ranjith_qualiantech_com When the amount of the ticket is more than 1000eur the order go in EWI 
Issue History
2023-09-25 22:50sofidossantNew Issue
2023-09-25 22:50sofidossantAssigned To => Retail
2023-09-25 22:50sofidossantTriggers an Emergency Pack => No
2023-09-25 22:53sofidossantversionRR22Q2 => RR22Q2.3
2023-09-25 22:53sofidossantSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26891#r26891
2023-09-25 22:59PracticsIssue Monitored: Practics
2023-09-26 07:13ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-09-26 13:11sofidossantversionRR22Q2.3 => pi
2023-09-26 13:11sofidossantSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26899#r26899
2023-09-29 07:44ranjith_qualiantech_comRelationship addedrelated to 0051484
2023-09-29 09:40ranjith_qualiantech_comStatusnew => scheduled
2023-10-03 12:38hgbotNote Added: 0155424
2023-10-23 13:32sofidossantNote Added: 0156170
2023-10-30 07:05hgbotNote Added: 0156460
2023-10-30 07:05hgbotResolutionopen => fixed
2023-10-30 07:05hgbotStatusscheduled => closed
2023-10-30 07:05hgbotFixed in Version => RR24Q1
2023-10-30 07:05hgbotNote Added: 0156461

2023-10-03 12:38   
Merge Request created: [^]
2023-10-23 13:32   
any news?
2023-10-30 07:05   
Merge request merged: [^]
2023-10-30 07:05   
Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: f92967a4fc05dbac6a9e5feb60b1ed1956337ead
Author: Ranjith S R <>
Date: 30-10-2023 06:04:48
URL: [^]

Fixed ISSUE-53547: GroupingSymbol should be removed in CountPerAmount

M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js