AP_VNDR_BAL_VW

(SQL View)
Index Back

SELECT C.SETID , C.VENDOR_ID , C.VENDOR_NAME_SHORT , A.BUSINESS_UNIT , 'REG' , A.TXN_CURRENCY_CD , COUNT(*) , SUM(B.PYMNT_GROSS_AMT) , 0 , 0 , B.VNDR_LOC FROM PS_VOUCHER A , PS_PYMNT_VCHR_XREF B , PS_VENDOR C WHERE A.ENTRY_STATUS = 'P' AND A.VENDOR_SETID = C.SETID AND A.VENDOR_ID = C.VENDOR_ID AND A.VOUCHER_ID = B.VOUCHER_ID AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND B.PYMNT_SELCT_STATUS NOT IN ('P', 'X') AND B.DUE_DT IS NOT NULL GROUP BY C.SETID, C.VENDOR_ID , C.VENDOR_NAME_SHORT, A.BUSINESS_UNIT, A.TXN_CURRENCY_CD , B.PYMNT_HOLD, B.VNDR_LOC

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
3 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
4 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_AP_NONVW

5 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
6 TXN_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Transaction Currency
7 NUM_OF_VOUCHERS Number(8,0) INTEGER NOT NULL Sched Pymnts
8 GROSS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Gross Invoice Amount
9 PREPAID_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Prepaid Amount
10 NET_BALANCE_AP Signed Number(28,3) DECIMAL(26,3) NOT NULL Work field to hold Payable Balance Amount in the Manual Adjustment panels.
11 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location