Change to Rolled Purchase Order (PO) Results in Abend in FS_BP Due to an Incorrect EE_SEQ_NUM Value Assigned During Rollover (Doc ID 1471990.1)

Last updated on JANUARY 13, 2017

Applies to:

PeopleSoft Enterprise SCM Purchasing - Version 9 to 9.1 [Release 9]
Information in this document applies to any platform.

Symptoms

  PO Rollover 2 is setting EE_SEQ_NUM incorrectly when run against entire Business Unit (BU), resulting in the budget check program to abend at Step FS_BP_STAO.GetPrior.GetPrior.
 
Steps to recreate the issue:


  1. PO is rolled to new year. PO Rollover 2 is run against entire BU.
  2. Budget checked after rollover2 status is Valid.  
  3. Changed Date on Line 1 distrib line 2 and re-budget checked.  
  4. Get the following error:
 
  Error:  

  Stmt #: 1625  Error Position: 43  Return: 14 27 - ORA-01427: single-row subquery returns more than one row Failed SQL stmt:UPDATE PS_BP_PO_S_TAO12
  SET KK_TRAN_LN = ( SELECT KKSL.KK_TRAN_LN FROM PS_BP_BKOUT_T AO12 BKTAO ,
  PS_KK_SOURCE_LN KKSL WHERE BKTAO.PROCESS_INSTANCE = 4590377 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_PO_S_TAO12.KK_TRAN_I D AND BKTAO.KK_TRAN_DT =
  PS_BP_PO_S_TAO12.KK_TRAN_DT  AND PS_BP_PO_S_TAO12.DST_ACCT_TYPE = KKSL.DST_
  ACCT_TYPE AND PS_BP_PO_S_TAO12.EE_SEQ_NUM = KKSL.EE_SEQ_NUM) WHERE
  PROCESS_INSTANCE = 4590377 AND EX IST = 'Y' AND EXISTS ( SELECT 'X' FROM
  PS_KK_SOURCE_LN KKSL WHERE KKSL.KK_TRAN_ID = PS_BP_PO_S_TAO12 .KK_TRAN_ID
  AND KKSL.KK_TRAN_DT = PS_BP_PO_S_TAO12.KK_TRAN_DT  AND
  PS_BP_PO_S_TAO12.DST_ACCT_TYPE =    
  Process 4590377 ABENDED at Step FS_BP_STAO.GetPrior.GetPrior   (SQL) -- RC = 1427

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