TR_HV_DTL_WR_VW

(SQL View)
Index Back

SELECT CF.SOURCE_BUS_UNIT ,SC1.SETID ,S.TR_SOURCE_ID ,CF.BANK_SETID ,CF.BANK_CD ,CF.PYMNT_METHOD ,CF.FORMAT_ID ,CF.CURRENCY_CD ,%DecMult(CF.AMOUNT ,-1) ,S.NAME1 ,CF.TR_SOURCE_ID FROM PS_CASH_FLOW_TR CF ,PS_TR_WR_DETAIL S ,PS_TR_WR_HEADER H ,PS_SET_CNTRL_REC SC1 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 SC1.SETCNTRLVALUE=CF.SOURCE_BUS_UNIT AND SC1.RECNAME='STL_INSTRUCTION' AND CF.TR_SOURCE_CD ='W' AND CF.PYMNT_SELCT_STATUS IN ('N' ,'X') AND CF.BUSINESS_DATE = %CurrentDateIn AND CF.AMOUNT < 0 AND CF.PMT_ID NOT IN ( SELECT DTL.PMT_ID FROM PS_PMT_DETAIL_TBL DTL WHERE DTL.PMT_STATUS NOT IN ('C', 'CM', 'PC') AND DTL.PYMNT_DT = %CurrentDateIn AND DTL.PYMNT_METHOD <> 'DD')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PARTY_SETID Character(5) VARCHAR2(5) NOT NULL SetID
3 PARTY_ID Character(30) VARCHAR2(30) NOT NULL Payee ID
4 BANK_SETID Character(5) VARCHAR2(5) NOT NULL The PeopleSoft tableset ID associated with a given bank/counterparty.
5 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code
6 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
7 EFT_LAYOUT_CD Character(10) VARCHAR2(10) NOT NULL EFT Layout Code
8 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
9 AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Amount
10 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
11 DESCR30 Character(30) VARCHAR2(30) NOT NULL Description