Unexpected Error When Exporting Paysheets (JBO-27122)

(Doc ID 2342072.1)

Last updated on FEBRUARY 13, 2018

Applies to:

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

Symptoms

When attempting to export the paysheets, the following error occurs:

Error Page
You have encountered an unexpected error. Please contact the System Administrator for assistance.

You may be able to see the exception details on the page:

oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: 

JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM 

(SELECT /*+ first_rows */ PmtWkshtEO.payment_worksheet_id , s.name 

salesrep_name , s.employee_number employee_number , PmtWkshtEO.salesrep_id , 

...

PmtWkshtEO.BONUS_PTD) QRSLT WHERE PAYRUN_ID = :6 ORDER BY PMT_AMOUNT_TOTAL, 

SALESREP_NAME, STATUS_MEANING at 

oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912) 

at ...


The issue can be reproduced at will with the following steps:
Using the Compensation Manager responsibility, navigate to Tasks > Maintain Payment Batches > Query a Payment batch > Click on Paysheets > click Export button



Changes

 

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