BNK_BTB_XTR_VW

(SQL View)
Index Back

TR cash flows not posted to GL

Unbooked Payments/Deposits-- Reconciled Treasury cash flows not posted to GL

SELECT B.BNK_ID_NBR ,B.BANK_ACCOUNT_NUM ,B.RECON_CYCLE_NBR ,B.RECORD_SEQ_NUMBER ,B.RECON_REF_ID ,B.RECON_BANK_DT ,B.RECON_TRANS_CODE ,B.BANK_STMT_CODE ,'1' ,' ' ,A.AMOUNT ,'TR' %Concat A.TR_SOURCE_CD FROM PS_CASH_FLOW_TR A , PS_BANK_STMT_TBL B WHERE A.BANK_CD_CUST = A.BANK_CD AND A.RECON_STATUS = 'REC' AND B.BNK_ID_NBR = A.BNK_ID_NBR AND B.BANK_ACCOUNT_NUM = A.BANK_ACCOUNT_NUM AND B.RECON_CYCLE_NBR = A.RECON_CYCLE_NBR AND B.RECORD_SEQ_NUMBER = A.RECORD_SEQ_NUMBER AND NOT EXISTS ( SELECT 'X' FROM PS_BNK_BTB_GTR_VW WHERE BTB_SOURCE = 'TR' %Concat A.TR_SOURCE_CD AND SOURCE_BUS_UNIT = A.SOURCE_BUS_UNIT AND TRAN_REF_ID = A.TR_SOURCE_ID AND TRAN_DT = A.BUSINESS_DATE AND CASH_FLOW_LEG = A.CASH_FLOW_LEG AND SEQ_NBR = A.CASH_FLOW_LINE)

# 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 STATEMENT_ID Number(10,0) DECIMAL(10) NOT NULL Statement ID for bank statements, key on Bank Statement Header
4 RECORD_SEQ_NUMBER Number(10,0) DECIMAL(10) NOT NULL An internal work field utilized to enumerate database records in bank statement processing.
5 TRAN_REF_ID Character(20) VARCHAR2(20) NOT NULL Represents the unique transaction identifier in bank reconciliation processing.
6 TRAN_DT Date(10) DATE Represents the transaction date in bank reconciliation processing.
7 RECON_TRANS_CODE Character(3) VARCHAR2(3) NOT NULL The PeopleSoft-specific bank transaction code
ACH=Automated Clearing House
B=Direct Debit
BA=Bank Adjustments
BOE=Bill of Exchange - Disburse
BOO=Bill of Order - Disburse
C=Trade Receipt
CHK=Check
D=Deposits
DD=Direct Debit - Disburse
EFT=Electronic Funds Transfer
F=Fee Expense
G=General Transaction
I=Interest Expense
M=Miscellaneous Transaction
MAN=Manual Check
P=Payment
R=Drafts
S=Stop Pay
TRW=Treasury Wire
U=Funding Receipt
V=Voided Payment
WIR=Wire - Disbursement
WRI=Wire - Incoming
8 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.
9 ADJUSTMENT_SIDE Character(1) VARCHAR2(1) NOT NULL Book to bank adjustment side.
1=Reconciled, not posted to GL
2=Reconciled and posted to GL
10 TYPE_ADJUST Character(1) VARCHAR2(1) NOT NULL Book to Bank Adjsutment Type
1=Payments in Transit
2=Deposits in Transit
3=GL Adjustments
4=Fees & Interest
5=Unbooked Payments
6=Unbooked Deposits
7=Bank Adjustments
8=Subtl Bank Adjustments
9=Subtl GL Adjustments
11 MONETARY_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the monetary amount of a debit or credit in the business unit base currency. Debit entries are positive and credit entries are negative. This amount is only zero if associated with a statistical account.
12 DESCR Character(30) VARCHAR2(30) NOT NULL Description