STL_EFTPYMNT_VW

(SQL View)
Index Back

EFT Settlement Payments View

View of CASH_FLOW_TR for EFT settlement payments

SELECT CF.TR_SOURCE_CD ,CF.SOURCE_BUS_UNIT ,CF.TR_SOURCE_ID ,CF.BUSINESS_DATE ,CF.CASH_FLOW_LINE ,CF.CASH_FLOW_LEG ,CF.SEQ_NBR ,CF.PAY_DOC_SEQ ,CF.CASH_TYPE ,%DecMult(CF.AMOUNT,-1) ,CF.CURRENCY_CD ,CF.BANK_SETID ,CF.BANK_CD_CUST ,CF.BANK_CD ,CF.BANK_ACCT_KEY ,CF.ACCT_BUS_UNIT_GL ,CF.RECONCILE_DT ,CF.RECONCILE_OPRID ,CF.RECON_TYPE ,CF.RECON_STATUS ,CF.RECON_CYCLE_NBR ,CF.STTLMNT_DT_ACTUAL ,CF.NET_STATUS ,CF.SELECTED_OPRID ,CF.APPROVAL_OPRID ,CF.CPTY_REFERENCE ,CF.NET_REF_ID ,CF.CF_SOURCE_REF_ID ,CF.CP_NETTOR ,CF.PYMNT_METHOD ,CF.SETTLEMENT_ID ,CF.PYMNT_SELCT_STATUS ,CF.APPROVAL_FLG_TR ,CF.APPROV_SUBMITTED ,CF.PYMNT_ID ,CF.CURRENCY_CD_BASE ,%DecMult(CF.BASE_AMT,-1) ,CF.BASE_CURRENCY_BNK ,CF.BNK_RATE_DIV ,CF.BNK_RATE_MULT ,CF.CUR_RT_TYPE_BNK ,CF.CURRENCY_PYMNT ,CF.PAID_AMT ,CF.PAID_AMT_BNK_BSE ,CF.PAID_AMT_BSE ,CF.PYMNT_RATE_DIV ,CF.PYMNT_RATE_MULT ,CF.PAY_CYCLE ,CF.PAY_CYCLE_SEQ_NUM ,S.BANK_ID_QUAL ,S.BNK_ID_NBR ,S.BRANCH_ID ,S.DFI_ID_QUAL ,%Substring(S.DFI_ID_NUM,1,10) ,S.BANK_ACCOUNT_NUM ,S.BANK_ACCT_QUAL ,S.EFT_PYMNT_FMT_CD ,S.EFT_RTNG_FLG ,S.EFT_RTNG_STATUS ,S.EFT_TRANS_HANDLING ,S.EFT_DOM_COSTS_CD ,S.EFT_CORR_COSTS_CD ,S.EFT_CROSSED_CHECK ,S.EFT_CHECK_FWRD_CD ,S.EFT_CHECK_DRAW_CD ,S.EFT_PAY_INST_CD1 ,S.EFT_PAY_INST_CD2 ,S.EFT_PAY_INST_CD3 ,S.EFT_PAY_INST_CD4 ,S.EFT_PAY_INST_REF1 ,S.EFT_PAY_INST_REF2 ,S.NAME1 ,S.NAME1_AC ,S.NAME2 ,S.NAME2_AC ,%subrec(ADDRESS_SBR,S) ,BU.TR_RVL_RT_TYPE ,RT.RATE_MULT ,RT.RATE_DIV ,CF.FORMAT_ID ,CF.STL_THROUGH ,CF.EVENT_TRACKING_ID , CF.REPETITVE_TRNFR_CD , CF.DRAWDOWN_FLG FROM PS_CASH_FLOW_TR CF ,PS_TR_WR_DETAIL S ,PS_BUS_UNIT_TBL_GL BU ,PS_RT_RATE_TBL RT WHERE CF.AMOUNT < 0 AND CF.TR_SOURCE_CD = 'W' AND CF.SOURCE_BUS_UNIT = S.BUSINESS_UNIT AND CF.TR_SOURCE_ID = S.TR_SOURCE_ID AND S.TR_SOURCE_CD ='W' AND CF.STL_THROUGH ='02' AND BU.BUSINESS_UNIT = CF.ACCT_BUS_UNIT_GL AND RT.RT_RATE_INDEX = BU.TR_RVL_RATE_INDEX AND RT.RT_TYPE = BU.TR_RVL_RT_TYPE AND RT.TERM = 0 AND RT.FROM_CUR = CF.CURRENCY_CD AND RT.TO_CUR = CF.CURRENCY_CD_BASE AND CF.PYMNT_METHOD NOT IN ('DD') AND CF.DRAWDOWN_FLG <> 'Y' AND RT.EFFDT = ( SELECT MAX(EFFDT) FROM PS_RT_RATE_TBL R1 WHERE R1.RT_RATE_INDEX = RT.RT_RATE_INDEX AND R1.TERM = RT.TERM AND R1.FROM_CUR = RT.FROM_CUR AND R1.TO_CUR = RT.TO_CUR AND R1.RT_TYPE = RT.RT_TYPE AND R1.EFFDT <= CF.BUSINESS_DATE)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 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
2 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit
3 TR_SOURCE_ID Character(12) VARCHAR2(12) NOT NULL An internal work field that represents a unique identifier for records depicting a given treasury po
4 BUSINESS_DATE Date(10) DATE Represents a date upon which business is conducted within a given company in a given country.
5 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.
6 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
7 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
8 PAY_DOC_SEQ Number(5,0) INTEGER NOT NULL Advice Sequence
9 CASH_TYPE Character(2) VARCHAR2(2) NOT NULL Represents the type of cash flow stored in the Treasury database.
01=Actual
02=Provisional
03=Sample
04=Deactivated
10 AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Amount
11 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
12 BANK_SETID Character(5) VARCHAR2(5) NOT NULL The PeopleSoft tableset ID associated with a given bank/counterparty.
13 BANK_CD_CUST Character(5) VARCHAR2(5) NOT NULL Represents the customer bank or counterparty in a relationship that pairs differing sets of b
14 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code
15 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
16 ACCT_BUS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL The general ledger business unit associated with a given bank/counterparty account.
17 RECONCILE_DT Date(10) DATE The transaction reconciliation date.
18 RECONCILE_OPRID Character(30) VARCHAR2(30) NOT NULL The user ID that performed the reconciliation for a given transaction.
19 RECON_TYPE Character(1) VARCHAR2(1) NOT NULL Represents a series of options as to how a treasury wishes to perform reconciliation for a given bank
A=Automatically Reconciled
B=Balance System(s) to BankTran
F=Forced to Reconcile
M=Manually Reconciled
S=Semi Manual
U=Unreconciled

Default Value: U

20 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

Default Value: UNR

21 RECON_CYCLE_NBR Number(10,0) DECIMAL(10) NOT NULL The bank statement ID.
22 STTLMNT_DT_ACTUAL Date(10) DATE Date in which a deal transaction is actually settled with a counterparty.
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

Default Value: O

24 SELECTED_OPRID Character(30) VARCHAR2(30) NOT NULL Selected Operator
25 APPROVAL_OPRID Character(30) VARCHAR2(30) NOT NULL A system generated value that reflects the operator that approved a given transaction.
26 CPTY_REFERENCE Character(15) VARCHAR2(15) NOT NULL A reference identifier associated with a dealing counterparty transaction.
27 NET_REF_ID Character(12) VARCHAR2(12) NOT NULL A reference identifier associated with a cash transaction subject to netting with a given bank/count
28 CF_SOURCE_REF_ID Character(40) VARCHAR2(40) NOT NULL Reference identifier for a treasury system cash flow.
29 CP_NETTOR Character(30) VARCHAR2(30) NOT NULL Allows the user to indicate whether a given dealing counterparty permits netting of inbound and outbou
30 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
31 SETTLEMENT_ID Character(5) VARCHAR2(5) NOT NULL A unique key identifier that represents the settlement instructions for a given bank/counterparty and acc
32 PYMNT_SELCT_STATUS Character(1) VARCHAR2(1) NOT NULL Payment Selection Status
C=Closed
D=Negative Voucher Sum
E=Externally Paid
F=Federal Sanctions Error
I=In Process - EFT
N=Not Selected for Payment
O=Financial Sanctions Review
P=Paid
R=Requested for Payment
S=Settlement Payment
V=Convert Error
X=Canceled
Y=Prepaid

Default Value: X

33 APPROVAL_FLG_TR Character(1) VARCHAR2(1) NOT NULL An internal work field that indicates that a given treasury transaction has been approved by
A=Approved
D=Denied
N=None Required
P=Pending Approval

Default Value: N

34 APPROV_SUBMITTED Character(1) VARCHAR2(1) NOT NULL An internal work field that indicates whether a treasury deal review and/or confirmation transac

Default Value: N

35 PYMNT_ID Character(10) VARCHAR2(10) NOT NULL Payment Number
36 CURRENCY_CD_BASE Character(3) VARCHAR2(3) NOT NULL Business Unit Base Currency
37 BASE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Represents a transaction amount calculated and stored in the base currency of its associated General Ledger bus
38 BASE_CURRENCY_BNK Character(3) VARCHAR2(3) NOT NULL The base currency of the subject bank general ledger business unit.
39 BNK_RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL An internal convention utilized for determining whether a currency exchange spot rate is store
40 BNK_RATE_MULT Number(16,8) DECIMAL(15,8) NOT NULL An internal convention utilized for determining whether a currency exchange spot rate is stored either as
41 CUR_RT_TYPE_BNK Character(5) VARCHAR2(5) NOT NULL Currency Rate Type
42 CURRENCY_PYMNT Character(3) VARCHAR2(3) NOT NULL Payment Currency
43 PAID_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Paid Amount
44 PAID_AMT_BNK_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Paid Amount - Base Bank Unit
45 PAID_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Base Paid Amount
46 PYMNT_RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL An internal convention utilized for determining whether a currency exchange rate is store
47 PYMNT_RATE_MULT Number(16,8) DECIMAL(15,8) NOT NULL An internal convention utilized for determining whether a currency exchange rate is stored
48 PAY_CYCLE Character(6) VARCHAR2(6) NOT NULL Pay Cycle
49 PAY_CYCLE_SEQ_NUM Number(6,0) INTEGER NOT NULL Pay Cycle Sequence Number
50 BANK_ID_QUAL Character(3) VARCHAR2(3) NOT NULL "A bank/counterparty attribute that determines
51 BNK_ID_NBR Character(20) VARCHAR2(20) NOT NULL A literal alphanumeric attribute that uniquely identifies a given bank or counterparty.
52 BRANCH_ID Character(10) VARCHAR2(10) NOT NULL The local branch office identifier associated with a given bank/counterparty.
53 DFI_ID_QUAL Character(2) VARCHAR2(2) NOT NULL A banking industry convention identifier utilized to drive data validation for a given bank/counterparty.
01=Transit Number
02=Swift ID/BIC
03=CHIPS Participant ID
04=Canadian Bank Branch/Institute
05=CHIPS Universal ID
ZZ=Mutually Defined
54 DFI_ID_NUM Character(12) VARCHAR2(12) NOT NULL A banking industry convention identifier utilized to drive electronic settlements processing for a given bank/coun
55 BANK_ACCOUNT_NUM Character(35) VARCHAR2(35) NOT NULL The literal unique identifier associated with a given bank/counterparty account.
56 BANK_ACCT_QUAL Character(1) VARCHAR2(1) NOT NULL "An account attribute that determines
C=Corporate Account
57 EFT_PYMNT_FMT_CD Character(3) VARCHAR2(3) NOT NULL Payment Format
00=Standard SWIFT transfer
10=Urgent SWIFT
15=Euro-Transfer
21=Check, w/ receipt confirmation
22=Check, Urgent
23=Check, urgent w/ receipt
40=Postal Order
CTX=Corp Trade Exchange
PBC=Check, standard
PPD=Prearranged Pay & Deposit
WRT=Wire Transfer
58 EFT_RTNG_FLG Character(1) VARCHAR2(1) NOT NULL Complex Routing
D=Use DFI ID
N=None
R=Use Complex Routing
59 EFT_RTNG_STATUS Character(1) VARCHAR2(1) NOT NULL Routing Status
C=Complete
I=Incomplete
60 EFT_TRANS_HANDLING Character(1) VARCHAR2(1) NOT NULL Transaction Handling
D=Payment Only
P=Prenotification
X=Payment and Advice
61 EFT_DOM_COSTS_CD Character(1) VARCHAR2(1) NOT NULL Domestic Costs
1=Payer's Domestic Account
2=Payer's Foreign Account
3=Payee's Account
4=Trans Exp to Pyr, other to Pye
62 EFT_CORR_COSTS_CD Character(1) VARCHAR2(1) NOT NULL Correspondent's Costs
1=Payer's Domestic Account
2=Payer's Foreign Account
3=Payee's Account
63 EFT_CROSSED_CHECK Character(1) VARCHAR2(1) NOT NULL Crossed Check
64 EFT_CHECK_FWRD_CD Character(1) VARCHAR2(1) NOT NULL Check Forwarding
1=Payer's Bank
2=Payer
3=Payee
4=Payee's Bank
65 EFT_CHECK_DRAW_CD Character(1) VARCHAR2(1) NOT NULL Bank Check Drawn On
1=Payer's Bank
2=Payee's Bank
66 EFT_PAY_INST_CD1 Character(3) VARCHAR2(3) NOT NULL Payment Instruction 1
ACC=/ACC/
BEN=/BENONLY/
CHK=/CHECK/
COR=/CORPTRAD/
HLD=/HOLD/
INT=/INT/
IRR=PAYMENT IRREVOCABLE
PHB=/PHONEBEN/
PHI=/PHONIBK/
PHN=/PHON/
RC1=ADV BEN W/CHARGES
RC2=ADV BEN W/O CHARGES
RCB=/RCB/
REC=/REC/
REJ=/REJT/
RET=BEN UNKNOWN RETURN
TEB=/TELEBEN/
TEI=/TELEIBK/
TEL=/TELE/
XFR=INTERCOMPANY TRANSFER
67 EFT_PAY_INST_CD2 Character(3) VARCHAR2(3) NOT NULL Payment Instruction 2
68 EFT_PAY_INST_CD3 Character(3) VARCHAR2(3) NOT NULL Payment Instruction 3
69 EFT_PAY_INST_CD4 Character(3) VARCHAR2(3) NOT NULL Payment Instruction 4
70 EFT_PAY_INST_REF1 Character(40) VARCHAR2(40) NOT NULL Payment Instruction Ref 1
71 EFT_PAY_INST_REF2 Character(40) VARCHAR2(40) NOT NULL Payment Instruction Ref 2
72 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
73 NAME1_AC Character(40) VARCHAR2(40) NOT NULL Name 1 Alternate Char Set
74 NAME2 Character(40) VARCHAR2(40) NOT NULL Name 2
75 NAME2_AC Character(40) VARCHAR2(40) NOT NULL Name 2 Alternate Char Set
76 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

77 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
78 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
79 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
80 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
81 CITY Character(30) VARCHAR2(30) NOT NULL City
82 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
83 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
84 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat
WW=Trailer
85 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
86 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
87 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
88 COUNTY Character(30) VARCHAR2(30) NOT NULL County
89 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: %EDIT_STATE

90 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
91 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
92 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

Y/N Table Edit

93 TR_RVL_RT_TYPE Character(5) VARCHAR2(5) NOT NULL The market rate type selected as applicable to mark-to-market revaluation events.
94 RATE_MULT Signed Number(17,8) DECIMAL(15,8) NOT NULL Rate Multiplier
95 RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Rate Divisor
96 EFT_LAYOUT_CD Character(10) VARCHAR2(10) NOT NULL EFT Layout Code
97 STL_THROUGH Character(2) VARCHAR2(2) NOT NULL Settle through
01=Financial Gateway
02=Pay Cycle
98 EVENT_TRACKING_ID Number(10,0) DECIMAL(10) NOT NULL The event tracking ID is used in order to correlate objects with an event. Each object (i.e. Payment) will store the tracking ID with a given payment. That way the system can obtain all the events for a given payment via the tracking ID.
99 REPETITVE_TRNFR_CD Character(15) VARCHAR2(15) NOT NULL Repetitive Transfer Code assigned by customers Bank
100 DRAWDOWN_FLG Character(1) VARCHAR2(1) NOT NULL Drawdown Transfer Flag, either yes or no.
N=No
Y=Yes