'java.lang.ArithmeticException: Rounding' Error Is Reported In Back Office And Central Office After Applying Discounts On Items (Doc ID 1551774.1)

Last updated on MAY 03, 2016

Applies to:

Oracle Retail Back Office - Version 13.1.1 and later
Information in this document applies to any platform.

Symptoms

'java.lang.ArithmeticException: Rounding' Error is reported in Back Office and Central Office(CO) logs after discount(s) are applied on items.

Following error is noticed when attempting to run the Transaction Post Processor after items were discounted through Point-Of-Service:

Steps to reproduce:

Point-Of-Service:

CASE 1:
1. Enter/Scan an item eg.item no.42 "CD, Classic Hits 2"
2. Go to (F4)Item --> (F3)Quantity-- change quantity to 4
3. Go to (F8)Pricing --> (F4)Discount --> (F4)% Item -- give discount of 35% by selecting any reason code
4. Press (F6)Tender and tender with Cash option

CASE 2:
1. Enter/Scan an item eg.item no.42 "CD, Classic Hits 2"
2. Go to (F8)Pricing --> (F4)Discount --> (F4)% Item -- give discount of 35% by selecting any reason code
3. Repeat "Step 2" 3 more times, so that you will have 4 line items discounted by 35%
4. Press (F6)Tender and tender with Cash option

Back Office:


1. Log into BO
2. Navigate to Admin tab
3. Click "Schedule" under Transaction Post Processor
4. Select Immediate, Click Next and Submit Job
5. Check BO log and user will see the error mentioned above

Central Office:


1.  Log into CO
2.  Navigate to Transaction Tracker tab
3.  Click Search
4.  Select the transactions one by one and user will see the error mentioned above



Cause

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