My Oracle Support Banner

R12:AP: Unable To Validate Invoice Error "ORA-06502: PL/SQL: numeric or value error" in "AP_CUSTOM_INV_VALIDATION_PKG.AP_Custom_Validation_Hook" (Doc ID 3072923.1)

Last updated on MARCH 25, 2025

Applies to:

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

Symptoms

When attempting to validate or cancel a Prepayment invoice, the following error occurs.

ERROR
-----------------------
APP-SQLAP-10000: ORA-06502: PL/SQL: numeric or value error: character string buffer too small occurred in AP_CUSTOM_INV_VALIDATION_PKG.AP_Custom_Validation_Hook.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Navigate to Payables Responsibility
2. Open Invoice workbench form and Query the Invoice and click on Action
3. Try to Cancel or Validate the invoice, the above error appears.

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
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.