STL_DETAIL_VW2

(SQL View)
Index Back

Stl to FG Mapping

Mapping for cash transactions using STL Instructions.

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.TR_SOURCE_ID ,CF.SOURCE_BUS_UNIT ,CF.SOURCE_BUS_UNIT ,CF.PYMNT_METHOD ,CF.FORMAT_ID ,%Abs(CF.AMOUNT) ,CF.CURRENCY_CD ,CF.BANK_SETID ,CF.BANK_CD ,CF.BANK_ACCT_KEY ,CF.BUSINESS_DATE ,CF.BUSINESS_DATE , ' ' , ' ' , 'BENE' ,' ' ,S.NAME1 ,S.NAME1_AC ,S.NAME2 , ' ' , ' ' ,S.BANK_ID_QUAL ,S.BNK_ID_NBR ,S.BRANCH_ID ,S.BANK_ACCT_TYPE ,S.BANK_ACCOUNT_NUM ,S.CHECK_DIGIT ,S.DFI_ID_QUAL ,S.DFI_ID_NUM ,S.BENEFICIARY_BANK ,S.BENEFICIARY_BNK_AC ,S.BENEF_BRANCH ,S.BENEF_BRANCH_AC ,S.IBAN_CHECK_DIGIT ,S.IBAN_ID ,%subrec(ADDRESS_SBR,S) ,' ' ,' ' ,' ' ,' ' ,' ' ,S.EMAILID ,%subrec(BUS_PHONE_SBR,S) ,%subrec(EFT_OPT_SBR,S) ,' ' ,CF.REPETITVE_TRNFR_CD ,CF.DRAWDOWN_FLG ,CF.STL_THROUGH ,H.PRENOTE_FLAG ,S.EMAILID2 ,S.REPORT_DEFN_ID ,S.TMPLDEFN_ID ,S.LANGUAGE_CD ,S.MANDATE_BU ,S.PMT_MANDATE_ID ,S.SEQ_NUM , S.SEQUENCE_TYPE ,H.CD ,H.PRTRY FROM PS_CASH_FLOW_TR CF ,PS_TR_WR_DETAIL S ,PS_TR_WR_HEADER H WHERE H.BUSINESS_UNIT = S.BUSINESS_UNIT AND H.TR_SOURCE_ID = S.TR_SOURCE_ID AND S.TR_SOURCE_CD=CF.TR_SOURCE_CD AND S.BUSINESS_UNIT=CF.SOURCE_BUS_UNIT AND S.TR_SOURCE_ID=CF.TR_SOURCE_ID AND S.CASH_FLOW_LINE=CF.CASH_FLOW_LINE AND S.CASH_FLOW_LEG=CF.CASH_FLOW_LEG AND CF.TR_SOURCE_CD ='W'

# 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 PMT_SOURCE Character(10) VARCHAR2(10) NOT NULL Source System Name
9 SRC_REF_ID Character(20) VARCHAR2(20) NOT NULL Source ref id
10 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
11 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
12 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
13 FORMAT_ID Character(10) VARCHAR2(10) NOT NULL Format ID
14 AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Amount
15 AMOUNT_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
16 BANK_SETID Character(5) VARCHAR2(5) NOT NULL The PeopleSoft tableset ID associated with a given bank/counterparty.
17 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code
18 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
19 PYMNT_DT Date(10) DATE Payment Date
20 VALUE_DT Date(10) DATE Equivalent to a deal transaction's settlement date.
21 PMT_TYPE Character(4) VARCHAR2(4) NOT NULL Payment type
BAX=Bank Transfer
BON=Bonus
COLL=Collection
DEAL=Deal Cash Flow
EFTR=EFT Request
EXAD=Exp Advance
EXPN=Expense Sheet
FEE=Fee
GR=General Recipient Deduction
IR=Individual Recipient Deduction
NP=Net Pay Distribution
OTHR=Other
SAL=Salary
VCHR=Voucher
22 PAY_IMMEDIATELY Character(1) VARCHAR2(1) NOT NULL Pay Immediately
23 PARTY_ID_TYPE Character(4) VARCHAR2(4) NOT NULL Party Type
BENE=Beneficiary
CPTY=Counterparty
CUST=Customer
EMPL=Employee
VNDR=Supplier
24 PARTY_ID Character(30) VARCHAR2(30) NOT NULL Payee ID
25 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
26 NAME1_AC Character(40) VARCHAR2(40) NOT NULL Name 1 Alternate Char Set
27 NAME2 Character(40) VARCHAR2(40) NOT NULL Name 2
28 STD_ID_NUM Character(35) VARCHAR2(35) NOT NULL ID Number
29 STD_ID_NUM_QUAL Character(3) VARCHAR2(3) NOT NULL Standard ID Number
30 BANK_ID_QUAL Character(3) VARCHAR2(3) NOT NULL "A bank/counterparty attribute that determines

Prompt Table: BNK_ID_QUAL_VW

31 BNK_ID_NBR Character(20) VARCHAR2(20) NOT NULL A literal alphanumeric attribute that uniquely identifies a given bank or counterparty.
32 BRANCH_ID Character(10) VARCHAR2(10) NOT NULL The local branch office identifier associated with a given bank/counterparty.
33 BANK_ACCT_TYPE Character(2) VARCHAR2(2) NOT NULL An account attribute that describes the ostensible purposes of a given bank/counterparty account.
01=Time Deposit
03=Checking Account
05=Stock
06=Bond
07=Life Insurance Value
08=Retirement Account
10=Business Account
11=Trust Fund Account
12=Stock & Bond Account
13=Life Insurance Acct
CA=Current Account
CH=Charges Account
DA=Demand Deposit
LN=Loan
RD=Return Items on DDA
RS=Return Items-Savings
SA=Settlement Account
SV=Savings Account
Z=Mutually Defined
34 BANK_ACCOUNT_NUM Character(35) VARCHAR2(35) NOT NULL The literal unique identifier associated with a given bank/counterparty account.
35 CHECK_DIGIT Character(2) VARCHAR2(2) NOT NULL Check Digit
36 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
37 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
38 BANK_NAME Character(30) VARCHAR2(30) NOT NULL Bank Name
39 BANK_NAME_AC Character(30) VARCHAR2(30) NOT NULL Alternate Character Set field for BENEFICIARY_BANK
40 BRANCH_DESCR Character(30) VARCHAR2(30) NOT NULL Branch Description
41 BRANCH_NAME_AC Character(30) VARCHAR2(30) NOT NULL Branch Alternate Char
42 IBAN_CHECK_DIGIT Character(2) VARCHAR2(2) NOT NULL IBAN Check Digit
43 IBAN_ID Character(34) VARCHAR2(34) NOT NULL IBAN - Internation Bank Account Number is used in European countries to uniquely identify Bank accounts across borders
44 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

45 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
46 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
47 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
48 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
49 CITY Character(30) VARCHAR2(30) NOT NULL City
50 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
51 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
52 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat
WW=Trailer
53 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
54 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
55 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
56 COUNTY Character(30) VARCHAR2(30) NOT NULL County
57 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: %EDIT_STATE

58 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
59 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
60 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

Y/N Table Edit

61 CONTACT_NAME Character(50) VARCHAR2(50) NOT NULL The individual contact name associated with a given bank/counterparty.
62 CONTACT_TYPE Character(1) VARCHAR2(1) NOT NULL An attribute that describes the specific purpose of a given bank/counterparty contact person.
B=Billing Contact
C=Contract Collaborator
D=Commercial Paper Contact
E=External Contact
F=Cash Forecast
G=General
I=Internal Corporate Contact
L=Line of Credit Contact
M=Executive Management
O=Investment Pool Contact
P=Accounts Payable
R=Broker
S=Sales Contact
V=Service Contact
W=Warehousing/Shipping Contact
63 CONTACT_TITLE Character(35) VARCHAR2(35) NOT NULL The professional title for a given bank/counterparty contact person.
64 PREFERRED_LANGUAGE Character(3) VARCHAR2(3) NOT NULL Preferred Language
ARA=Arabic
CFR=Canadian French
CZE=Czech
DAN=Danish
DUT=Dutch
E=English
ENG=English
ESP=Spanish
F=French
FIN=Finnish
FRA=French
GER=German
HUN=Hungarian
INE=International English
ITA=Italian
JPN=Japanese
KOR=Korean
NOR=Norwegian
POL=Polish
POR=Portuguese
RUS=Russian
SVE=Swedish
THA=Thai
UKE=UK English
ZHS=Simplified Chinese
ZHT=Traditional Chinese
65 URL Character(254) VARCHAR2(254) NOT NULL Internet URL (Universal Resource Locator)
66 EMAILID Character(70) VARCHAR2(70) NOT NULL A user's E-mail address
67 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Int'l Prefix
68 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
69 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension
70 FAX Character(24) VARCHAR2(24) NOT NULL Fax Number
71 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
72 EFT_RTNG_FLG Character(1) VARCHAR2(1) NOT NULL Complex Routing
D=Use DFI ID
N=None
R=Use Complex Routing

Default Value: D

73 EFT_RTNG_STATUS Character(1) VARCHAR2(1) NOT NULL Routing Status
C=Complete
I=Incomplete

Default Value: I

74 EFT_TRANS_HANDLING Character(1) VARCHAR2(1) NOT NULL Transaction Handling
D=Payment Only
P=Prenotification
X=Payment and Advice

Default Value: X

75 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
76 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
77 EFT_CROSSED_CHECK Character(1) VARCHAR2(1) NOT NULL Crossed Check

Y/N Table Edit

Default Value: N

78 EFT_CHECK_FWRD_CD Character(1) VARCHAR2(1) NOT NULL Check Forwarding
1=Payer's Bank
2=Payer
3=Payee
4=Payee's Bank
79 EFT_CHECK_DRAW_CD Character(1) VARCHAR2(1) NOT NULL Bank Check Drawn On
1=Payer's Bank
2=Payee's Bank
80 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

Prompt Table: EFT_PAY_INST_VW

81 EFT_PAY_INST_CD2 Character(3) VARCHAR2(3) NOT NULL Payment Instruction 2

Prompt Table: EFT_PAY_INST_VW

82 EFT_PAY_INST_CD3 Character(3) VARCHAR2(3) NOT NULL Payment Instruction 3

Prompt Table: EFT_PAY_INST_VW

83 EFT_PAY_INST_CD4 Character(3) VARCHAR2(3) NOT NULL Payment Instruction 4

Prompt Table: EFT_PAY_INST_VW

84 EFT_PAY_INST_REF1 Character(40) VARCHAR2(40) NOT NULL Payment Instruction Ref 1
85 EFT_PAY_INST_REF2 Character(40) VARCHAR2(40) NOT NULL Payment Instruction Ref 2
86 ADDENDA_VALUE Character(254) VARCHAR2(254) NOT NULL Addend Value use for Bank Statement Accounting
87 REPETITVE_TRNFR_CD Character(15) VARCHAR2(15) NOT NULL Repetitive Transfer Code assigned by customers Bank
88 DRAWDOWN_FLG Character(1) VARCHAR2(1) NOT NULL Drawdown Transfer Flag, either yes or no.
N=No
Y=Yes
89 STL_THROUGH Character(2) VARCHAR2(2) NOT NULL Settle through
01=Financial Gateway
02=Pay Cycle
90 PRENOTE_FLAG Character(1) VARCHAR2(1) NOT NULL Prenotification Flag
91 EMAILID2 Character(70) VARCHAR2(70) NOT NULL Email ID 2
92 REPORT_DEFN_ID Character(12) VARCHAR2(12) NOT NULL Report Name (see PSXPRPTDEFN).
93 TMPLDEFN_ID Character(30) VARCHAR2(30) NOT NULL Template ID (see PSXPTMPLDEFN).
94 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
95 MANDATE_BU Character(5) VARCHAR2(5) NOT NULL Mandate Business Unit
96 PMT_MANDATE_ID Character(15) VARCHAR2(15) NOT NULL Mandate direct debit
97 SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence
98 SEQUENCE_TYPE Character(1) VARCHAR2(1) NOT NULL Identifies the direct debit sequence, eg, first, recurrent, final or one-off.
F=First Payment
N=Final Payment
O=OneOff Payment
R=Recurring Payment
99 CD Character(30) VARCHAR2(30) NOT NULL Code
100 PRTRY Character(30) VARCHAR2(30) NOT NULL Proprietary