My Oracle Support Banner

System Error When Trying To Derive The SA Interval Data (Doc ID 2726601.1)

Last updated on NOVEMBER 06, 2020

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.7.0.3.0 and later
Information in this document applies to any platform.

Symptoms

SA -Service Agreement

On : 2.7.0.3.0 version, SW - System Wide

System error when trying to derive the SA interval data

When on the customers SA & go to Interval Info Tab & select Derive Interval Data button - after enter in date range & hit process get error in screenshot attached.

The exact system error is this:

com.splwg.shared.common.DecimalScaleException: Unable to store BigDecimal into Cobol buffer for field: IntvDatabecause value 3218.00000000 too large for scale 7

Upon checking and comparing against 2.4, the field INTV_DATA changed its definition. From NUMBER(18,7) in 2.4, it is now NUMBER(19,8) in 2.7. This could have been fine, however, when inserting an Interval Data record, it validates the value for the INTV_DATA field and checks it against its metadata . The metadata of INTV_DATA field in 2.7 is still NUMBER(18,7). Since Java takes the number's format from the definition of the primary field in the formula (unless scaling is set), the value computed is the one with the 8 decimals. When this 8 decimal interval data value is inserted, base then triggers its validation rules since it only knows that the decimal should only be 7 digits based on its metadata.

ERROR
-----------------------
com.splwg.shared.common.DecimalScaleException: Unable to store BigDecimal into Cobol buffer for field: IntvDatabecause value 3218.00000000 too large for scale 7

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.