PPAY_INQ(SQL View) |
Index Back |
---|---|
PPAY Vw |
SELECT DISTINCT A.BUSINESS_UNIT , A.VOUCHER_ID , C.VENDOR_ID ,A.PYMNT_CNT , C.NAME1 , C.VENDOR_NAME_SHORT , A.BANK_SETID , A.BANK_CD , A.BANK_ACCT_KEY , A.PYMNT_ID , B.TXN_CURRENCY_CD FROM PS_PYMNT_VCHR_XREF A , PS_VOUCHER B , PS_VENDOR C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.VOUCHER_ID = B.VOUCHER_ID AND B.VOUCHER_STYLE = 'PPAY' AND C.VENDOR_ID = B.VENDOR_ID AND B.ENTRY_STATUS <> 'X' AND C.SETID = ( SELECT D.SETID FROM PS_SET_CNTRL_REC D WHERE D.SETCNTRLVALUE = A.BUSINESS_UNIT AND D.RECNAME = 'VENDOR') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BU_AP_NONVW |
2 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
3 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
4 | PYMNT_CNT | Number(5,0) | INTEGER NOT NULL | Payments |
5 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
6 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
7 | BANK_SETID | Character(5) | VARCHAR2(5) NOT NULL | The PeopleSoft tableset ID associated with a given bank/counterparty. |
8 | BANK_CD | Character(5) | VARCHAR2(5) NOT NULL | Bank Code |
9 | 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 |
10 | PYMNT_ID | Character(10) | VARCHAR2(10) NOT NULL | Payment Number |
11 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |