BNK_ACCT_CURVW1

(SQL View)
Index Back

Bank Account Currencies


SELECT DISTINCT A.SETID , B.COUNTERPARTY , A.BANK_ACCT_KEY , E.CURRENCY_CD , E.LANGUAGE_CD , E.DESCR FROM PS_BANK_ACCT_CURR A , PS_BANK_ACCT_CPTY B , PS_CURRENCY_CD_TBL C , PS_CURRCD_TBL_LANG E 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 A.CURRENCY_CD = C.CURRENCY_CD AND C.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_CURRENCY_CD_TBL D WHERE D.CURRENCY_CD = C.CURRENCY_CD AND D.EFF_STATUS = 'A') AND C.CURRENCY_CD = E.CURRENCY_CD AND C.EFFDT = E.EFFDT

  • Related Language Record for BNK_ACCT_CUR_VW
  • Parent record: BANK_ACCT_DEFN
  • # 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_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
    4 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

    Prompt Table: CURRENCY_CD_TBL

    5 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    6 DESCR Character(30) VARCHAR2(30) NOT NULL Description