Openbravo Issue Tracking System - POS2
View Issue Details
0051404POS2Corepublic2023-01-18 17:162023-11-12 19:15
dorian_robillard 
gonzalo_fernandez 
normalmajoralways
scheduledopen 
5
 
 
No
0051404: If a payment method is configured with "Count per amount" in count payment in cash up, a EWI is generated
If a payment method is configured with "Count per amount" in count payment in cash up, a EWI is generated : java.lang.NumberFormatException: Character , is neither a decimal digit number, decimal point, nor "e" notation exponential mark. if a sale is > to 1000€


We can see in the json this line : "countPerAmount":{"1,053.50" for a sale of 1053,50€
Configure a payment method with countr per amount in channel touchpoint type

Do a sale/return > 1000 and pay with this payment mehod

Connect to the backoffice and see Error while importing
Correct the json when synchronizing a sale with count per amount
No tags attached.
related to defect 0053628 closed prakashmurugesan88 Cashup Process Fails if Coins and Bills >= 1000 
Issue History
2023-01-18 17:16dorian_robillardNew Issue
2023-01-18 17:16dorian_robillardAssigned To => Triage Platform Base
2023-01-18 17:16dorian_robillardTriggers an Emergency Pack => No
2023-01-19 10:04AugustoMauchAssigned ToTriage Platform Base => gonzalo_fernandez
2023-01-19 10:05AugustoMauchStatusnew => scheduled
2023-01-24 08:49hgbotNote Added: 0145783
2023-11-12 19:15rafarodaRelationship addedrelated to 0053628

Notes
(0145783)
hgbot   
2023-01-24 08:49   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1045 [^]