Contract Lines Financial Report Errors with "ORA-01722: invalid number" or with "ORA-12899" (Doc ID 1572401.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Lease and Finance Management - Version 12.1.3 and later
Information in this document applies to any platform.
Checked for relevance 15-feb-2015

Symptoms

On : 12.1.3 version, Setups

When attempting to run the Contract Lines Financial Report,
the following error occurs in the log file:

ERROR
-----------------------
Unhandled Exception -1722:ORA-01722: invalid number
lx_return_status of pull_extract_data :U
Unexcepted Database Error occurred. Error Code: &OKL_SQLCODE Error Message: &OKL_SQLERRM (SQLcode=-1722) (SQLerrm=ORA-01722: invalid number)
ORA-01722: invalid number in Package OKL_K_LINE_FIN_EXT_PVT Procedure pull_extract_data


Extraction failed for Contract Line Financial Extract.
Deleted 21 rows from OKL_PARALLEL_PROCESSES, for assigned process 405012-1
There was no data extracted for Contract Line Financial Extract.

or

ERROR
-----------------------
Unhandled Exception -12899:ORA-12899: value too large for column "OKL"."OKL_CNTRCT_LINE_FIN_EXTRACT_T"."INV_SUPPLIER_SHIP_TO_SITE" (actual: 81, maximum: 80)
lx_return_status of pull_extract_data :U
Unexpected error. (OKL_SQLcode=1) (OKL_SQLerrm=User-Defined Exception)
Please provide valid Line information
Please provide valid Line information
Unexpected error. (OKL_SQLcode=1) (OKL_SQLerrm=User-Defined Exception)
.
.
Please provide valid Line information
Unexcepted Database Error occurred.  Error Code: &OKL_SQLCODE Error Message: &OKL_SQLERRM (SQLcode=-12899) (SQLerrm=ORA-12899: value too large for column "OKL"."OKL_CNTRCT_LINE_FIN_EXTRACT_T"."INV_SUPPLIER_SHIP_TO_SITE" (actual: 81, maximum: 80))
ORA-12899: value too large for column "OKL"."OKL_CNTRCT_LINE_FIN_EXTRACT_T"."INV_SUPPLIER_SHIP_TO_SITE" (actual: 81, maximum: 80) in Package OKL_K_LINE_FIN_EXT_PVT Procedure pull_extract_data


Extraction failed for Contract Line Financial Extract.
Deleted 32 rows from OKL_PARALLEL_PROCESSES, for assigned process 645014-1
There was no data extracted for Contract Line Financial Extract.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. As Lease admin responsibility:
Select Master Program -- Contract Lines Financial Report and enter parameters like below:
Operating Unit: CL.5Q
Report Template Name: Asset Portfolio Report Template
Language: English
Format: RTF
Start Date: 01-JAN-2012
Start Date To: 31-Dec-2012
Include Fixed Asset Details: Yes
Asset Tax Book: CL5Q US GAAP
Delete Report Data: Yes
Number of processes: 1

It spawns the child process and they both error out.



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