BANK_ACCT_I_VW1

(SQL View)
Index Back

Internal Accounts

This view gathers account level information for Internal Accounts. This view is used by BANK_ACCT_I_VW2 to join the Account Servicer to the Account Owner.

SELECT B.SETID ,B.BANK_CD ,B.BANK_CD_CPTY ,B.BANK_ACCT_KEY ,B.COUNTERPARTY ,B.BANK_CD_CUST ,B.BUSINESS_UNIT_GL ,A.DEFAULT_ACCT_SW ,A.CURRENCY_CD ,A.ACCT_STATUS ,C.BNK_ID_NBR ,A.BANK_ACCOUNT_NUM FROM PS_BANK_ACCT_DEFN A ,PS_BANK_ACCT_CPTY B ,PS_BANK_CD_TBL C WHERE C.BANK_TYPE='I' AND 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.COUNTERPARTY

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code
3 BANK_CD_CPTY Character(5) VARCHAR2(5) NOT NULL An internal key field convention that facilitates the system distinction between banks and counterparties.
4 BANK_ACCT_KEY Character(4) VARCHAR2(4) NOT NULL A user defined unique identifier that facilitates the identification of a given account with a given bank
5 COUNTERPARTY Character(5) VARCHAR2(5) NOT NULL Represents a treasury dealing counterpart.
6 BANK_CD_CUST Character(5) VARCHAR2(5) NOT NULL Represents the customer bank or counterparty in a relationship that pairs differing sets of b
7 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit

Prompt Table: SP_BU_GL_NONVW

8 DEFAULT_ACCT_SW Character(1) VARCHAR2(1) NOT NULL Allows the user to designate a specific internal current account as the default account for an inter
9 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
10 ACCT_STATUS Character(1) VARCHAR2(1) NOT NULL Account Status - Active/Inactive
A=Active
I=Inactive
11 BNK_ID_NBR Character(20) VARCHAR2(20) NOT NULL A literal alphanumeric attribute that uniquely identifies a given bank or counterparty.
12 BANK_ACCOUNT_NUM Character(35) VARCHAR2(35) NOT NULL The literal unique identifier associated with a given bank/counterparty account.