AP_PYMNT_VCH_VW

(SQL View)
Index Back

SELECT DISTINCT E.BANK_SETID , E.BANK_CD , E.BANK_ACCT_KEY , E.PYMNT_ID_REF , E.PYMNT_ID , E.PYMNT_METHOD , A.BUSINESS_UNIT , A.VOUCHER_ID , C.BUSINESS_UNIT_PO , C.PO_ID , B.VENDOR_SETID , B.VENDOR_ID FROM PS_PYMNT_VCHR_XREF A , PS_PAYMENT_TBL E , PS_VOUCHER B ,PS_VOUCHER_LINE C WHERE E.BANK_SETID = A.BANK_SETID AND E.BANK_CD = A.BANK_CD AND E.BANK_ACCT_KEY = A.BANK_ACCT_KEY AND E.PYMNT_ID = A.PYMNT_ID AND B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.VOUCHER_ID = A.VOUCHER_ID AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.VOUCHER_ID = A.VOUCHER_ID AND C.BUSINESS_UNIT_PO <> ' '

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BANK_SETID Character(5) VARCHAR2(5) NOT NULL The PeopleSoft tableset ID associated with a given bank/counterparty.

Default Value: OPR_BANK_VW_AP.BANK_SETID

2 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code
3 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
4 PYMNT_ID_REF Character(20) VARCHAR2(20) NOT NULL Payment Reference
5 PYMNT_ID Character(10) VARCHAR2(10) NOT NULL Payment Number
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 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
8 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID
9 BUSINESS_UNIT_PO Character(5) VARCHAR2(5) NOT NULL PO Business Unit
10 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
11 SETID Character(5) VARCHAR2(5) NOT NULL SetID
12 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier