BNK_BAL_HDRP_VW

(SQL View)
Index Back

Bank Balance view

Bank Balance view used as a Cash Position source

SELECT A.SETID , A.BANK_CD , A.BANK_ACCT_KEY , H.ASOFDATE , B.BNK_ID_NBR , A.BANK_ACCOUNT_NUM , B.BANK_STMT_CODE , A.BUSINESS_UNIT_GL , A.CURRENCY_CD , B.BALANCE , B.IMMEDIATE_BAL FROM PS_BANK_ACCT_TBL A , PS_BANK_STMT_HDR H , PS_BANK_BALANCES B , PS_BANK_CD_TBL C WHERE A.BANK_CD = C.BANK_CD AND A.SETID = C.SETID AND C.BNK_ID_NBR = B.BNK_ID_NBR AND A.BANK_ACCOUNT_NUM = B.BANK_ACCOUNT_NUM AND H.BNK_ID_NBR = B.BNK_ID_NBR AND H.BANK_ACCOUNT_NUM = B.BANK_ACCOUNT_NUM AND H.STATEMENT_ID = B.RECON_CYCLE_NBR AND B.BANK_STMT_CODE = '045'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Prompt Table: SP_SETID_NONVW

2 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code

Prompt Table: BANK_CD_TBL

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 BANK_STMT_DT Date(10) DATE "The bank statement date

Default Value: %DATE

5 BNK_ID_NBR Character(20) VARCHAR2(20) NOT NULL A literal alphanumeric attribute that uniquely identifies a given bank or counterparty.
6 BANK_ACCOUNT_NUM Character(35) VARCHAR2(35) NOT NULL The literal unique identifier associated with a given bank/counterparty account.
7 BANK_STMT_CODE Character(8) VARCHAR2(8) NOT NULL Bank Statement code - used to identify the codes used on the bank statement for different entires of balances and transactions.
8 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
9 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
10 BALANCE Signed Number(28,3) DECIMAL(26,3) NOT NULL Balance
11 IMMEDIATE_BAL Signed Number(28,3) DECIMAL(26,3) NOT NULL Available Balance