Create Discrete Job Error ORA-0001: unique constraint (WIP.WIP_OP_RES_USAGE_U1)

(Doc ID 839583.1)

Last updated on MARCH 30, 2018

Applies to:

Oracle Work in Process - Version 12.0.4 and later
Information in this document applies to any platform.


On 12.0.4 in Production:
When attempting to create and save a job with large Job quantity (ex. 5000 or more), the following
error occurs:

ORA-0001: unique constraint (WIP.WIP_OP_RES_USAGE_U1) violated in Package wip_infinite_scheduler_pvt Procedure

The issue can be reproduced at will with the following steps:
NAV: WIP / Discrete / Discrete Jobs
1) Create job number
2) Insert the item
3) Enter the Job quantity (big qty. for example: 5000 or more (five thousand) )
4) Try to save the job
5) The error appears


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