TR_BNK_ODRW_VW

(SQL View)
Index Back

SELECT DISTINCT C1.BNK_ID_NBR ,A1.BANK_CD ,A1.BANK_CD %Concat ', ' %Concat A1.BANK_ACCT_KEY ,C1.DESCR %Concat ', ' %Concat B.CITY ,A1.DESCR ,A1.BANK_ACCOUNT_NUM ,D.BANK_ACCOUNT_NUM1 , B.CITY , B.STATE , C1.DESCR , D.BANK_ACCOUNT_NUM1 %Concat ', ' %Concat C1.DESCR %Concat ', ' %Concat B.CITY %Concat ', ' %Concat B.STATE , D.STMT_BAL_AVAIL , D.STMT_BAL_CLOSE , D.STMT_BAL_OPEN , D.FLOAT1 , D.FLOAT2 , D.TARGET_BALANCE , D.TOTAL_RECEIPTS , D.TOTAL_PAYMENTS , D.CURRENCY_CD FROM PS_BANK_BRANCH_TBL B , PS_BANK_BAL_DAILY D LEFT OUTER JOIN PS_BANK_CD_TBL C1 ON D.BNK_ID_NBR = C1.BNK_ID_NBR , PS_BANK_BAL_DAILY E LEFT OUTER JOIN PS_BANK_ACCT_DEFN A1 ON E.BANK_ACCOUNT_NUM = A1.BANK_ACCOUNT_NUM WHERE B.SETID = A1.SETID AND B.BANK_CD = A1.BANK_CD AND B.BRANCH_NAME = A1.BRANCH_NAME AND D.BNK_ID_NBR = E.BNK_ID_NBR AND D.BANK_ACCOUNT_NUM = E.BANK_ACCOUNT_NUM AND C1.SETID = A1.SETID AND C1.BANK_CD = A1.BANK_CD AND A1.BANK_CD_CPTY = A1.BANK_CD AND ( D.STMT_BAL_AVAIL < 0 OR D.STMT_BAL_CLOSE < 0 )

  • Related Language Record: TR_BNK_ODRW_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BNK_ID_NBR Character(20) VARCHAR2(20) NOT NULL A literal alphanumeric attribute that uniquely identifies a given bank or counterparty.
    2 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code
    3 DESCR100 Character(100) VARCHAR2(100) NOT NULL Length 100 Description
    4 DESCR100A Character(100) VARCHAR2(100) NOT NULL Description
    5 DESCR100B Character(100) VARCHAR2(100) NOT NULL Description
    6 BANK_ACCOUNT_NUM Character(35) VARCHAR2(35) NOT NULL The literal unique identifier associated with a given bank/counterparty account.
    7 BANK_ACCOUNT_NUM1 Character(35) VARCHAR2(35) NOT NULL The literal unique identifier associated with a given internal partner bank/counterparty acco
    8 CITY Character(30) VARCHAR2(30) NOT NULL City
    9 STATE Character(6) VARCHAR2(6) NOT NULL State
    10 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    11 DESCR150_MIXED Character(150) VARCHAR2(150) NOT NULL Description
    12 STMT_BAL_AVAIL Signed Number(28,3) DECIMAL(26,3) NOT NULL The bank statement available balance as submitted by the bank.
    13 STMT_BAL_CLOSE Signed Number(28,3) DECIMAL(26,3) NOT NULL The bank statement closing balance as submitted by the bank.
    14 STMT_BAL_OPEN Signed Number(28,3) DECIMAL(26,3) NOT NULL The bank statement opening balance as submitted by the bank.
    15 FLOAT1 Signed Number(28,3) DECIMAL(26,3) NOT NULL One Day Float Balance
    16 FLOAT2 Signed Number(28,3) DECIMAL(26,3) NOT NULL Two or More Days Float Balance
    17 TARGET_BALANCE Signed Number(28,3) DECIMAL(26,3) NOT NULL The target bank account balance assigned to a given bank account.
    18 TOTAL_RECEIPTS Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Receipts
    19 TOTAL_PAYMENTS Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Payments
    20 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code