EEX 9.1+: ORA-01427: Single-Row Subquery Returns More than One Row" Error Occurs when EX_BCHK_ALL Process is Run for Multiple Business Units (Doc ID 1579663.1)

Last updated on APRIL 01, 2016

Applies to:

PeopleSoft Enterprise FIN Expenses - Version 9.1 to 9.2 [Release 9]
Information in this document applies to any platform.

Symptoms

When attempting to run budget checking for more than one BU at the same time, the process abends.


Steps:
-----------------------
Run the EX_BCHK_ALL process by setting the run control for more than 1 business unit and with option 'All Expense Reports' selected.

 

Error
--------
Warning: Request 2 warning attempts to process documents that are locked by another request.Error is row subquery returns more than one row. 

Error Position: 42 Return: 1427 - ORA-01427: single-row subquery returns more than one row 

Failed SQL stmt:UPDATE PS_BP_EX_S_TAO4 SET KK_TRAN_LN = ( SELECT KKSL.KK_TRAN_LN FROM PS_BP_BKOUT_TAO4 BKTAO , PS_KK_SOURCE_LN KKSL WHERE BKTAO.PROCESS_INSTANCE = 1445847 AND KKSL.KK_TRAN_ID = BKTAO.KK_TRAN_ID AND KKSL.KK_TRAN_DT = BKTAO.KK_TRAN_DT AND BKTAO.KK_TRAN_ID = PS_BP_EX_S_TAO4.KK_TRAN_ID AND BKTAO.KK_TRAN_DT = PS_BP_EX_S_TAO4.KK_TRAN_DT AND PS_BP_EX_S_TAO4.LINE_NBR = KKSL.LINE_NBR AND PS_BP_EX_S_TAO4.DISTRIB_LINE_NUM = KKSL.DISTRIB_LINE_NUM) WHERE PROCESS_INSTANCE = 1445847 AND EXIST = 'Y' AND EXISTS ( SELECT 'X' FROM PS_KK_SOURCE_LN KKSL WHERE KKSL.KK_TRAN_ID = PS_BP_EX_S_TAO4.KK_TRAN_ID AND KKSL.KK_TRAN_DT = PS_BP_EX_S_TAO4.KK_TRAN_DT AND PS_BP_EX_S_TAO4.LINE_NBR = KKSL.LINE_NBR AND PS_BP_EX_S_TAO4.DISTRIB_LINE_NUM = KKSL.DISTRIB_LINE_NUM )


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