BNK_RCN_TDTL_VW

(SQL View)
Index Back

Exceptions: TR Cashflows

AutoReconciliation Exceptions for Treasury Cashflows

SELECT A.BNK_ID_NBR ,A.BANK_ACCOUNT_NUM ,A.RECON_CYCLE_NBR ,A.RECORD_SEQ_NUMBER ,A.RECON_REF_ID ,A.RECON_BANK_DT ,A.RECON_TRAN_AMT ,A.CURRENCY_CD ,A.VALUE_DT ,A.RECON_TRANS_CODE ,A.RECON_STATUS ,A.STMT_ACTIVITY_TYPE ,'03' ,CASE WHEN B.PMT_ID = ' ' THEN B.TR_SOURCE_ID ELSE B.PMT_ID END ,B.BANK_ACCT_RVL_AMT ,B.BUSINESS_DATE ,B.PYMNT_METHOD ,B.TR_SOURCE_CD ,B.SOURCE_BUS_UNIT ,B.TR_SOURCE_ID ,B.CASH_FLOW_LINE ,B.CASH_FLOW_LEG ,B.NET_STATUS ,B.SEQ_NBR FROM PS_BANK_STMT_TBL A , PS_BNK_RCN_DEALR B , PS_BNK_RCN_VW C WHERE B.BNK_ID_NBR = A.BNK_ID_NBR AND B.BANK_ACCOUNT_NUM = A.BANK_ACCOUNT_NUM AND C.BNK_ID_NBR = B.BNK_ID_NBR AND C.BANK_ACCOUNT_NUM = B.BANK_ACCOUNT_NUM AND C.TRANSACTION_TBL = 'PS_BNK_RCN_DEALS' AND ((B.PMT_ID = ' ' AND A.RECON_REF_ID = B.TR_SOURCE_ID) OR A.RECON_REF_ID = B.PMT_ID) AND B.RECON_TYPE = 'U' AND A.RECON_STATUS NOT IN ('REC', 'UNR', 'NTF', 'DPI', 'DUP', 'MSC', 'NUL') AND ((A.RECON_STATUS = 'AMT' AND B.BANK_ACCT_RVL_AMT <> A.RECON_TRAN_AMT AND B.BUSINESS_DATE BETWEEN %DateAdd(A.RECON_BANK_DT, 0 - C.BNK_LIMIT_LOW_DAY) AND %DateAdd(A.RECON_BANK_DT, C.BNK_LIMIT_HIGH_DAY)) OR (A.RECON_STATUS = 'DAT' AND B.BUSINESS_DATE <> A.RECON_BANK_DT AND ((C.BNK_ACTIVE_LIMIT = 'A' AND B.BANK_ACCT_RVL_AMT BETWEEN A.RECON_TRAN_AMT - BNK_LIMIT_LOW_AMT AND A.RECON_TRAN_AMT + BNK_LIMIT_HIGH_AMT) OR (C.BNK_ACTIVE_LIMIT = 'P' AND B.BANK_ACCT_RVL_AMT BETWEEN %DecMult(%DecDiv(100 - BNK_LIMIT_LOW_PCT, 100), A.RECON_TRAN_AMT) AND %DecMult(%DecDiv(100 + BNK_LIMIT_HIGH_PCT, 100), A.RECON_TRAN_AMT)))) OR (A.RECON_STATUS NOT IN ('AMT', 'DAT') AND B.BUSINESS_DATE BETWEEN %DateAdd(A.RECON_BANK_DT, 0 - C.BNK_LIMIT_LOW_DAY) AND %DateAdd(A.RECON_BANK_DT, C.BNK_LIMIT_HIGH_DAY) AND ((C.BNK_ACTIVE_LIMIT = 'A' AND B.BANK_ACCT_RVL_AMT BETWEEN A.RECON_TRAN_AMT - BNK_LIMIT_LOW_AMT AND A.RECON_TRAN_AMT + BNK_LIMIT_HIGH_AMT) OR (C.BNK_ACTIVE_LIMIT = 'P' AND B.BANK_ACCT_RVL_AMT BETWEEN %DecMult(%DecDiv(100 - BNK_LIMIT_LOW_PCT, 100), A.RECON_TRAN_AMT) AND %DecMult(%DecDiv(100 + BNK_LIMIT_HIGH_PCT, 100), A.RECON_TRAN_AMT)))) )

# 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 RECON_CYCLE_NBR Number(10,0) DECIMAL(10) NOT NULL The bank statement ID.

Prompt Table: BNK_RCN_CYC

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 RECON_REF_ID Character(20) VARCHAR2(20) NOT NULL The transaction reference identifier on the inbound bank statement.
6 RECON_BANK_DT Date(10) DATE The bank statement date.
7 RECON_TRAN_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL The bank statement transaction amount.
8 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
9 VALUE_DT Date(10) DATE Equivalent to a deal transaction's settlement date.
10 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
11 RECON_STATUS Character(3) VARCHAR2(3) NOT NULL Reconciliation Status
ALG=Alignment Check
AMB=Ambiguous Match
AMT=Amounts Not Equal
CUR=Currency not Defined
DAT=Tran Date <> Value Date
DPI=Duplicate Input Transactions
DUP=Duplicate Transaction
MSC=Miscellaneous Transaction
NAM=Payee Names Not Equal
NTB=Not Found in Statement
NTF=Not Found In System
NTP=Not Found in POS Data
NUL=Null Transaction ID Ref
OVR=Overflow
PND=Pending Reconciliation
REC=Reconciled
RPR=Reprinted Check
RR=Requires Review - BSAC
STP=Stop Payment
TYP=Wrong Transaction Type
UNR=Unreconciled
VOI=Voided Check
12 STMT_ACTIVITY_TYPE Character(5) VARCHAR2(5) NOT NULL Represents a series of values that provide a more granular definition of a given reconcil
13 RECON_SOURCE Character(2) VARCHAR2(2) NOT NULL Represents the source system table(s) for reconciling items.
00=Bank Statement
01=Receivables Deposits
02=Payables
03=Treasury
04=Receivables Drafts
05=External Transactions
06=Receivables Payments
07=Direct Debits
14 TRAN_REF_ID Character(20) VARCHAR2(20) NOT NULL Represents the unique transaction identifier in bank reconciliation processing.
15 TRAN_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Represents a transaction amount in bank reconciliation processing.
16 TRAN_DT Date(10) DATE Represents the transaction date in bank reconciliation processing.
17 PYMNT_METHOD Character(3) VARCHAR2(3) NOT NULL Payment Method
ACH=Automated Clearing House
BEF=Draft - Customer EFT
BOO=Draft - Customer Initiated
CHK=System Check
D=Deposit
DD=Direct Debit
DFT=Draft - Supplier Initiated
DRA=Draft
EFT=Electronic Funds Transfer
GE=Giro - EFT
GM=Giro - Manual
LC=Letter of Credit
MAN=Manual Check
TRW=Treasury Wire
WIR=Wire Transfer
18 TR_SOURCE_CD Character(1) VARCHAR2(1) NOT NULL Note: Changes to Translate Values must also be made to TRA_SOURCE_CD and SOURCE_TYPE. These 3 fields must be kept in sync. Values that are inactive are for use in TR Accounting only
B=BSP
D=Deals
E=Deal Fees
F=Facility Fees
H=Hedges
I=Interest
M=Deal: Estimated Maturity Accr
N=Netted Deal
O=Other
P=Investment Pools
R=EFT Fees
S=Securities
T=LC Fees
W=EFT Requests
X=Bank Transfers
19 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
20 DEPOSIT_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies a deposit of customer payments. The deposit ID can be manually assigned or system-generated.
21 CASH_FLOW_LINE Number(15,0) DECIMAL(15) NOT NULL A sequential number that indicates the time order sequence of a given deal transaction's cash flows.
22 CASH_FLOW_LEG Number(1,0) SMALLINT NOT NULL A sequential number that indicates the relationship between a cash flow and its corresponding deal transaction leg
23 NET_STATUS Character(1) VARCHAR2(1) NOT NULL Indicates the counterparty netting status of a given settlement transaction.
D=Netted
N=Net
O=Not Netted
24 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number