Sorting In IProc On View Receipts Results In JBO-27122: SQL Error (Doc ID 1621310.1)

Last updated on JUNE 08, 2017

Applies to:

Oracle iProcurement - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

In 12.1.3 iProcurement Receiving

In iProcurement, sort by Transaction Date in the View Receipts search results page gives error JBO-27122.

WHAT WORKS
The user is able to sort the results by selecting the column header of any other columns that are sortable. For example, we can click the 'Receipt' column to sort by Receipt Number, or the 'Order Number' column to sort by order number.

ERROR

You have encountered an unexpected error. Please contact the System Administrator for assistance.
Click here for Exception Details.


Using the Click here link, see the java stack trace:


Exception:
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException:
JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM
(select vr.receipt_num Rcpt_Num, vr.quantity Qty, vr.quantity_ordered
Qty_Ordered, vr.WAYBILL_AIRBILL_NUM Waybill, vr.packing_slip Packing_Slip,
comments Comments, vr.PO_DISTRIBUTION_ID Po_Distrib_Id, vr.item_id Item_Id,
vr.po_line_id Po_Line_Id, vr.po_line_location_id Po_Line_Location_Id,
vr.req_number Req_Num, vr.item_description Item_Desc, vr.unit_of_measure Uom,
...
....
## Detail 0 ## java.sql.SQLException: ORA-00904: "TXNDATE": invalid
identifier at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at
oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at
oracle.jdbc.ttc7.Oall7.receive(Oall7.java:590) at
oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973)
...
...



STEPS TO REPRODUCE

1. Log in and select iProcurement responsibility.
2. Navigate to receiving page.
3. Click View Receipts.
4. Press on the Receipt or Order number to sort the results, get the exception.

IMPACT
It is impacting users whenever they are sorting by Receipt number, order number, etc..



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