My Oracle Support Banner

Cannot Create/Assign Item in Master Items or Import Items Error APP-INV-05479, ORA-00001, INVPPROC.inproit_process_item: ret_code=1 (Doc ID 789050.1)

Last updated on AUGUST 21, 2016

Applies to:

Oracle Item Master - Version 11.5.10.2 and later
Information in this document applies to any platform.
FORM:INVIDITM.FMB - Define Item Information
EXECUTABLE:INCOIN - Import Items
This document includes all versions of Oracle EBS 11i and R12 and later
Currency Checked: 7/25/2016

Symptoms

This document is to resolve APP-INV-05479 ORA-00001 errors when adding an item / assigning an existing item to a new organization via the Item Open Interface (INCOIN) or the Master Items form (INVIDITM.fmb).

In Import Items (INCOIN)

a) ERROR received in Import Items log file (with debug on):
INCOIN fails (ERROR) on CREATE with PROCESS_FLAG = 4 and only error message in log file is:  INVPOPIF.inopinp_OI_process_create: done INVPPROC.inproit_process_item: ret_code=1 

The trace file shows that we fail to insert a row into mtl_system_items_b
There are NO errors in the tracefile: No ORA- , APP-, FND- or ROLLBACK.

b) ERROR received in trace file shows  (ORA-00001 unique constraint  violated) on the following statement:

In Master Items Form (INVIDITM.fmb)

ERROR received in the application (Master Items Form):
APP-INV-05479: Please commit or clear your changes first.

Do you want to save the changes that you have made? (but won't allow save)

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
 This document is to resolve APP-INV-05479 ORA-00001 errors when adding an item / assigning an existing item to a new organization via the Item Open Interface (INCOIN) or the Master Items form (INVIDITM.fmb).
 In Import Items (INCOIN)
 In Master Items Form (INVIDITM.fmb)
Cause
 Conditions That Can Cause This Issue.
 Conditions specific to only Import Items (INCOIN).
 1) Space issue on the Item Open Interface tables.
 2) Required attribute missing in the MTL_SYSTEM_ITEMS_INTERFACE on CREATE transactions.
 Conditions related to both Import Items (INCOIN) and Master/Organizations Items form (INVIDITM.fmb).
 1) Space issue on the receiving data tables.
 2) Existing orphaned rows for deleted items that are being re-added. The root cause for this issue is not known at this time.
 3) Unique Custom Indexes with a unique constraint violation.
 4) Custom Triggers causing insert into MTL_SYSTEM_ITEMS_B to fail.
Solution
 Conditions specific to only Import Items (INCOIN)
 1) To resolve space issues on the Item Open Interface related tables, truncate the Interface tables (This should be done every 100k rows processed via Import Items).
 2) If CREATE transactions are being loaded into the MTL_SYSTEM_ITEMS_INTERFACE, make sure that the 6 required attributes are populated.
 Conditions related to both Import Items (INCOIN) and Master/Organizations Items form (INVIDITM.fmb).
 1) Check and resolve space issues on the following tables.
 2) Fix Item records that exist in at least one of the the below tables but do not exist in the MTL_SYSTEM_ITEMS_B table. These are considered as orphaned records.
 3) Run the following script to look for custom indexes.
 4) Run the following script to look for custom triggers on MTL tables with item information.
References

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