My Oracle Support Banner

Cycle Count Approval for Items that are Tracked in Primary and Secondary UOM Fail with ORA-06502:PL/SQL:numeric or value error INV_CC_WORKFLOW_APPRV Procedure CC_Check_Onhand (Doc ID 2727268.1)

Last updated on SEPTEMBER 06, 2021

Applies to:

Oracle Inventory Management - Version 12.2.9 and later
Information in this document applies to any platform.


When attempting to approve a Cycle Count entry for an item that track On-hand inventory in Primary and Secondary UOM, the following error occurs.


 ORA-06502:PL/SQL:numeric or value error:character to number conversion error in Package INV_CC_WORKFLOW_APPRV Procedure CC_Check_Onhand
 User Click Ok to the form error, the application raise the following note:

  100501: non -ORACLE exception


The issue can be reproduced at will with the following steps:
1. User navigate to the Cycle Count Approval form where user  can see there is a pending count waiting for approval for item XYZ123.
  System Qty Secondary    System Qty      UOM   Qty Secondary          UOM      Secondary Qty
  0                                 0                     EA      300                         KG           1.89873
  0                                 0                     KG      15.2                        KG        15.2

This cycle count show adjustment in primary and secondary quantity for first count (count in primary) and on second count, counted in secondary UOM.

2. User proceed to approve the first record. The record is approved with no issue, however, when user attempt to save the approved cycle count record, the application raise the error.


The Cycle Count Approval process works fine for items that have no secondary UOM.




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.