PO Rollover is setting EE_SEQ_NUM incorrectly when run against entire BU, resulting in budget check abend at Step FS_BP_STAO.GetPrior.GetPrior. (Doc ID 1462840.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

DESCRIPTION
  ===========
  PO Rollover is setting EE_SEQ_NUM incorrectly when run against entire BU,
  resulting in budget check abend at Step FS_BP_STAO.GetPrior.GetPrior.
  
  REPLICATION STEPS
  =================
  1. PO is rolled to new year. PO Rollover 2 is run against entire BU. (This also happens if using Keep PY Enc Open)
  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:
  
  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 =
  4:25:13PM Process 4590377 ABENDED at Step FS_BP_STAO.GetPrior.GetPrior

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