EAP SQL Error Displays When Looking Up Bank Statement Data (Doc ID 2172096.1)

Last updated on AUGUST 14, 2016

Applies to:

PeopleSoft Enterprise FIN Payables - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

SQL error displays when looking up Bank Statement data.

After applying fixes from PUM's 13-18, SQL error is getting encountered that does not prevent us from seeing the Bank Statement data but it a nuisance.

ERROR
-----------------------

A SQL error occurred.  Please consult your system log for details.

 

Error from appserver log:


PSAPPSRV.3088 (4935) [2016-06-06T15:56:55.989 WHANNAS@whannasnew.spokanecounty.org (IE 13.10586; WIN) ICPanel](3) File: E:\pt85421c-retail\peopletools\src\psppr\ramget.cppSQL error. Stmt #: 686 Error Position: 0 Return: 8601 - [Microsoft][SQL Server Native Client 11.0][SQL Server]Ambiguous column name 'BANK_ACCOUNT_NUM'.
[Microsoft][SQL Server Native Client 11.0][SQL Server]Statement(s) could not be prepared. (SQLSTATE 37000) 8180
Failed SQL stmt: SELECT DISTINCT C.BNK_ID_NBR , B.BANK_ACCOUNT_NUM , A.DESCRSHORT , A.DESCR FROM PS_BANK_ACCT_DEFN A , PS_BANK_ACCT_CPTY B , PS_BANK_CD_TBL C WHERE (A.SETID = B.SETID AND A.BANK_CD = B.BANK_CD AND A.BANK_CD_CPTY = B.BANK_CD_CPTY AND A.BANK_ACCT_KEY = B.BANK_ACCT_KEY AND C.SETID = B.SETID AND C.BANK_CD = B.BANK_CD) AND (BNK_ID_NBR=:1 AND BANK_ACCOUNT_NUM=:2) ORDER BY 1, 2



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1.  Navigate to Main Menu > Banking > Bank Statements > Enter Bank Statements
2.  Supply External Bank Id
3.  Supply Bank Account #
     Error message is displayed: A SQL error occurred. Please consult your system log for details.



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