R12 Public API Item Cross References mtl_cross_references_pub.process_xref Erroring Out (Doc ID 1303025.1)

Last updated on AUGUST 21, 2016

Applies to:

Oracle Item Master - Version 12.1.1 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.
mtl_cross_references_pub.process_xref
INVPXRFS.pls

Symptoms

If giving cross reference value more than 25 chars it is throwing error message.

The issue is with width of one in parameter in table type.
TYPE XRef_Rec_Type IS RECORD has one parameter Cross_Reference, which has data type of varchar2(25) where as the base table
mtl_cross_references_b has width of 255 chars.
Due to this the API is returning error as the cross reference when trying to load has width more than 25 chars.

Cause

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