iStore Direct Item Entry - Unable To Merge Cart Lines When IBE: Merge Cart Lines is set to Yes And Quantity To Merge Contains A Decimal Point

(Doc ID 2027017.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle iStore - Version 12.1.3 and later
Information in this document applies to any platform.



In iStore when adding items via Direct Item Entry that contain quantity that has a decimal point (eg: 1.5) and need to be merged   an Application Error occurs

The profile option IBE: Merge Cart Lines is set to Yes per business requirement.


Source shows :-

Message: For input string: "1.5"

java.lang.NumberFormatException: For input string: "1.5"
at java.lang.NumberFormatException.forInputString(
at java.lang.Integer.parseInt(
at java.lang.Integer.parseInt(
at oracle.apps.ibe.shoppingcart.util.DEItem.mergeDEItems(
at _ibeCScpDirectEntry._jspService(
at com.orionserver.http.OrionHttpJspPage.service(
at oracle.jsp.runtimev2.JspPageTable.service(
at oracle.jsp.runtimev2.JspServlet.internalService(


The issue can be reproduced at will with the following steps:
1. Go to Direct item entry
2. in line 1, enter part number with qty of 1
3. in line 2, enter the same part # with qty of 1.5
4. Expectation is to get 1 cart line with item and qty of 2.5
5. Instead error occurs


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms