Create Internal Orders Concurrent Program Creates Duplicate Records Causing Order Import to Complete with Error (Doc ID 1301675.1)

Last updated on OCTOBER 18, 2016

Applies to:

Oracle Purchasing - Version 11.5.10.2 to 12.1.3 [Release 11.5 to 12.1]
Oracle Order Management - Version 12.2.5 to 12.2.5 [Release 12.2]
Information in this document applies to any platform.
***Checked for relevance on 05-AUG-2013***
Executable:POCISO - Create Internal Orders
Concurrent Program:OEOIMP - Order Import

Symptoms


Intermittently, Create Internal Orders concurrent program creates duplicate records.

This causes Order Import concurrent program to complete with error.

Error:
You are entering a duplicate orig_sys_line_ref for the same order.

Steps to reproduce:
1. Create approved internal requisitions.
2. Submit Create Internal Orders concurrent program.
3. Observe duplicate records created in Order Management interface.
4. Submit Order Import concurrent program. It completes with error reported.

The duplicate records can be located with the following methods:

1. Using the database to query OM interface records that are created by Create Internal Orders concurrent program:

SELECT *
FROM oe_headers_iface_all
WHERE order_source_id = 10
AND orig_sys_document_ref IN
(SELECT requisition_header_id
FROM po_requisition_headers_all
WHERE segment1= '&req_number' );

SELECT *
FROM oe_lines_iface_all
WHERE order_source_id = 10
AND orig_sys_document_ref IN
(SELECT requisition_header_id
FROM po_requisition_headers_all
WHERE segment1= '&req_number' );

or

2. Use Order Management Corrections form:

- Use Order Management responsibility
- Navigate to Orders. Returns > Import Orders > Corrections
- Find Order Source = Internal ( ID = 10 )

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