FCLTY_CPTY_VW

(SQL View)
Index Back

Facility view by counterparty

This view allows the facilities to be rolled up by "Counterparty" effectively making them available to the BANK_CD table.

SELECT B.SETID , B.BANK_CD , B.FCLTY_ID , B.REVIEW_DT , B.EXPIRATION_DT , C.CURRENCY_CD , C.SETTLEMENT_ID , B.DESCR FROM PS_FCLTY_DFN B , PS_FCLTY_STLMT C WHERE B.SETID = C.SETID AND B.FCLTY_ID = C.FCLTY_ID AND B.EFFDT = ( SELECT MAX(A.EFFDT) FROM PS_FCLTY_DFN A WHERE B.SETID = A.SETID AND B.BANK_CD = A.BANK_CD AND B.FCLTY_ID = A.FCLTY_ID) AND B.EFF_STATUS = 'A'

  • Related Language Record: FCLTY_LNG_VW
  • # 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 FCLTY_ID Character(12) VARCHAR2(12) NOT NULL A unique key identifier that represents a given counterparty facility.
    4 REVIEW_DT Date(10) DATE Review Date
    5 EXPIRATION_DT Date(10) DATE Expiration Date
    6 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
    7 SETTLEMENT_ID Character(5) VARCHAR2(5) NOT NULL A unique key identifier that represents the settlement instructions for a given bank/counterparty and acc
    8 DESCR Character(30) VARCHAR2(30) NOT NULL Description