BNK_BALANCE_VW2(SQL View) |
Index Back |
---|---|
Bank Balances View by ID |
SELECT A.BNK_ID_NBR, A.BANK_ACCOUNT_NUM, A.BANK_STMT_DT, A.STMT_BAL_OPEN, A.STMT_BAL_AVAIL, A.STMT_BAL_CLOSE FROM PS_BNK_BALANCE_TBL A WHERE A.BANK_STMT_DT = (SELECT MAX(D.BANK_STMT_DT) FROM PS_BNK_BALANCE_TBL D WHERE A.BNK_ID_NBR = D.BNK_ID_NBR AND A.BANK_ACCOUNT_NUM = D.BANK_ACCOUNT_NUM) |
# | 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_ACCOUNT_NUM | Character(35) | VARCHAR2(35) NOT NULL | The literal unique identifier associated with a given bank/counterparty account. |
3 | BANK_STMT_DT | Date(10) | DATE | "The bank statement date |
4 | STMT_BAL_OPEN | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | The bank statement opening balance as submitted by the bank. |
5 | STMT_BAL_AVAIL | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | The bank statement available balance as submitted by the bank. |
6 | STMT_BAL_CLOSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | The bank statement closing balance as submitted by the bank. |