AP_PN_PREPAY_VW

(SQL View)
Index Back

Voucher Amounts by Supplier


SELECT A.VENDOR_SETID , A.VENDOR_ID , A.BUSINESS_UNIT , A.VOUCHER_ID , A.INVOICE_ID , A.GROSS_AMT , B.AVAILABLE_AMT , A.TXN_CURRENCY_CD , A.INVOICE_DT , A.VOUCHER_STYLE FROM PS_VOUCHER A , PS_VCHR_PPAY_XREF B WHERE A.VOUCHER_STYLE = 'PPAY' AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.VOUCHER_ID = B.VOUCHER_ID AND B.AVAILABLE_AMT > 0 AND B.PREPAID_STATUS = 'P' AND B.PREPAID_APPLIED_BU = ' '

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID
5 INVOICE_ID Character(30) VARCHAR2(30) NOT NULL Invoice Number
6 GROSS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Gross Invoice Amount
7 AVAILABLE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Prepayment Available Amount
8 TXN_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Transaction Currency
9 INVOICE_DT Date(10) DATE Invoice Date
10 VOUCHER_STYLE Character(4) VARCHAR2(4) NOT NULL Voucher Style
ADJ=Adjustments
AMR=Amortization Voucher
CLBK=Claim Voucher
CORR=Reversal Voucher
JRNL=Journal Voucher
PPAY=Prepaid Voucher
REG=Regular Voucher
RGTR=Register Voucher
SGLP=Single Payment Voucher
THRD=Third Party Voucher
TMPL=Template Voucher