My Oracle Support Banner

Error ORA-01722: Invalid Number While Calling OKS_IMPORT_SUBLINE_PUB.CREATE_SUBLINE From A Custom Concurrent Program (Doc ID 2905233.1)

Last updated on OCTOBER 26, 2022

Applies to:

Oracle Service Contracts - Version 12.2.6 and later
Information in this document applies to any platform.


On : 12.2.6 version, API Generator

Unable to create a contract subline using API OKS_IMPORT_SUBLINE_PUB.CREATE_SUBLINE from a registered custom concurrent program, API returns 'E'(error) status.

However , Same API works fine when called as standalone anonymous block from database, error thrown only when it is called from a custom concurrent program.

ORA-01722: invalid number in Package create_subline_line Procedure OKS_IMPORT_SUBLINE_PUB

The issue can be reproduced at will with the following steps:
1. Navigate to a custom responsibility
2. Submit a custom concurrent program which has logic to call API OKS_IMPORT_SUBLINE_PUB.CREATE_SUBLINE to create a contract subline.
3. API fails with below error message
ORA-01722: invalid number in Package create_subline_line Procedure OKS_IMPORT_SUBLINE_PUB.





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

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