My Oracle Support Banner

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

Last updated on JUNE 06, 2023

Applies to:

Oracle Lease and Finance Management - Version 12.1.3 and later
Information in this document applies to any platform.

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
Unexpected 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
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
Unexpected 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
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: <Operating unit>
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: <Asset Tax Book>
Delete Report Data: Yes
Number of processes: 1

It spawns the child process and they both error out.



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.