PO_LN_PAY_VW

(SQL View)
Index Back

Docstatus PO Voucher view

View used by DOC Status for PO Voucher access.

SELECT DISTINCT VL.BUSINESS_UNIT_PO , VL.PO_ID , PV.BANK_SETID , PV.BANK_CD , PV.BANK_ACCT_KEY , PT.PYMNT_ID FROM PS_PYMNT_VCHR_XREF PV , PS_VOUCHER_LINE VL ,PS_PAYMENT_TBL PT WHERE PV.PYMNT_SELCT_STATUS IN ('P' , 'X') AND PV.BUSINESS_UNIT = VL.BUSINESS_UNIT AND PV.VOUCHER_ID = VL.VOUCHER_ID AND PV.BANK_SETID = PT.BANK_SETID AND PV.BANK_CD = PT.BANK_CD AND PV.BANK_ACCT_KEY = PT.BANK_ACCT_KEY AND PV.PYMNT_ID = PT.PYMNT_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
3 BANK_SETID Character(5) VARCHAR2(5) NOT NULL The PeopleSoft tableset ID associated with a given bank/counterparty.
4 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code
5 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
6 PYMNT_ID Character(10) VARCHAR2(10) NOT NULL Payment Number