My Oracle Support Banner

PRC: PO: Autocreate Failure Reason Codes and Suggested Actions (Doc ID 2220220.1)

Last updated on JUNE 04, 2024

Applies to:

Oracle Fusion Purchasing - Version and later
Oracle Fusion Purchasing Cloud Service - Version and later
Information in this document applies to any platform.


This document provides  list of Reason Codes for Automation Failure and Steps to Resolution for Touchless Buying.

Run the below query to find the reason for Touchless PO creation failure.

1. To find the reason for the failure of the automation process, run the following sql query (SQL:1)

SELECT prh.requisition_number
,ph.segment1 AS po_number
,msg.context AS failed_reason_text
,prl.prc_bu_id AS req_line_prc_bu
,prh.prc_bu_id AS req_header_prc_bu
,ph.prc_bu_id AS po_prc_bu
FROM po_headers_all ph
,po_lines_draft_all pl
,por_requisition_lines_all prl
,por_requisition_headers_all prh
,fnd_messages_b msg
WHERE ph.po_header_id(+) = pl.po_header_id
AND prl.po_line_id = pl.po_line_id(+)
AND prl.requisition_header_id = prh.requisition_header_id
AND prh.requisition_number IN (:Bind_Req_Number)
AND prl.reqtopo_auto_failed_reason = msg.message_name(+)
ORDER BY prl.requisition_header_id, prl.line_number;

2. Change the requisition number and run the above query. Observe the attributes reqs_in_pool_flag, reqtopo_automation_failed_reason and message text.

3. Since the requisition is in process requisition, the reqs_in_pool_flag should be set to 'Y'. The reason code will be shown in the attribute reqtopo_auto_failed_reason.

Troubleshooting Steps

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
Troubleshooting Steps

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