AP_WC_APAR_VW

(SQL View)
Index Back

Vchr Prompt for AP/AR Interfc


SELECT DISTINCT A.BUSINESS_UNIT , A.VOUCHER_ID , A.VENDOR_SETID , A.VENDOR_ID , B.VENDOR_NAME_SHORT , B.NAME1 , A.INVOICE_ID , A.INVOICE_DT , A.ORIGIN , A.GRP_AP_ID , A.OPRID , A.ENTERED_DT FROM PS_VOUCHER A , PS_VENDOR B , PS_PYMNT_ADVICE C , PS_PAYMENT_TBL D WHERE A.VENDOR_SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.INVOICE_ID = C.INVOICE_ID AND C.BANK_SETID = D.BANK_SETID AND C.BANK_CD = D.BANK_CD AND C.BANK_ACCT_KEY = D.BANK_ACCT_KEY AND C.PYMNT_ID = D.PYMNT_ID AND D.PYMNT_METHOD = 'CHK' AND D.PYMNT_STATUS = 'P' AND D.POST_STATUS_AP = 'P' AND D.CANCEL_ACTION = 'N' AND D.AR_STG_LOADED = 'N' AND D.INTERUNIT_PYMT_FLG = 'Y' AND D.IN_PROCESS_FLG = 'N'

  • Related Language Record: AP_WC_APAR_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    2 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID
    3 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    4 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
    5 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
    6 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    7 INVOICE_ID Character(30) VARCHAR2(30) NOT NULL Invoice Number
    8 INVOICE_DT Date(10) DATE Invoice Date
    9 ORIGIN Character(3) VARCHAR2(3) NOT NULL Origin
    10 GRP_AP_ID Character(10) VARCHAR2(10) NOT NULL Control Group ID
    11 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    12 ENTERED_DT Date(10) DATE Entered on