ORA-06502: PL/SQL: Numeric Or Value Error When Creating Charge Line Using API

(Doc ID 2271448.1)

Last updated on MAY 30, 2017

Applies to:

Oracle Teleservice - Version 12.1.3 and later
Information in this document applies to any platform.


When attempting to call the CS_CHARGE_DETAILS_PVT.Create_Charge_Details,
the following error occurs.

The execution of procedure Validate_Charge_Details failed because of the following unexpected errors: ORA-06502: PL/SQL: numeric or value error: character to number conversion error.

The issue can be reproduced at will with the following steps:

1) Responsibility: Service
2) Profile Name: CS_CHARGE_LINE_DEFAULT_PRICE_LIST - Service: Charge Line Default Price List
3) Profile Value should be either "No value" or "CHARGE_PROFILE"
4) Create a Service Request
5) Create a Charge manually for an item(Out of Warranty Claim) not associated with Contracts
6) Submit the Order
7) PLSQL numeric error displayed


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