WTHD_VCHR_VNDR(SQL View) |
Index Back |
---|---|
Wthd Vouchers by Supplier View |
SELECT DISTINCT D.APPL_VENDOR_SETID , D.APPL_VENDOR_ID , D.APPL_VNDR_LOC , A.BUSINESS_UNIT , A.VOUCHER_ID , A.INVOICE_DT , A.INVOICE_ID , E.PYMNT_CNT , E.PYMNT_GROSS_AMT , D.WTHD_BASIS_AMT , D.WTHD_AMT , D.TXN_CURRENCY_CD , F.PYMNT_ID_REF , F.BANK_SETID , F.BANK_CD , F.BANK_ACCT_KEY , D.WTHD_ENTITY , D.WTHD_TYPE , D.WTHD_JUR_CD , D.WTHD_CLASS , F.PYMNT_DT FROM PS_VOUCHER A , PS_PYMNT_VCHR_WTHD D , PS_PYMNT_VCHR_XREF E , PS_PAYMENT_TBL F WHERE E.BUSINESS_UNIT = A.BUSINESS_UNIT AND E.VOUCHER_ID = A.VOUCHER_ID AND E.PYMNT_SELCT_STATUS ='P' AND D.BUSINESS_UNIT = E.BUSINESS_UNIT AND D.VOUCHER_ID = E.VOUCHER_ID AND (D.PYMNT_CNT = E.PYMNT_CNT OR D.PYMNT_CNT = 0) AND F.BANK_SETID = E.BANK_SETID AND F.BANK_CD = E.BANK_CD AND F.BANK_ACCT_KEY = E.BANK_ACCT_KEY AND F.PYMNT_ID = E.PYMNT_ID |
# | 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 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
4 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
5 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
6 | INVOICE_DT | Date(10) | DATE | Invoice Date |
7 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
8 | PYMNT_CNT | Number(5,0) | INTEGER NOT NULL | Payments |
9 | PYMNT_GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Payment Amount |
10 | WTHD_BASIS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Withholding Basis Amount |
11 | WTHD_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Withholding Amount |
12 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
13 | PYMNT_ID_REF | Character(20) | VARCHAR2(20) NOT NULL | Payment Reference |
14 | BANK_SETID | Character(5) | VARCHAR2(5) NOT NULL | The PeopleSoft tableset ID associated with a given bank/counterparty. |
15 | BANK_CD | Character(5) | VARCHAR2(5) NOT NULL | Bank Code |
16 | 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 |
17 | WTHD_ENTITY | Character(5) | VARCHAR2(5) NOT NULL | Withholding Entity |
18 | WTHD_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Withholding Type |
19 | WTHD_JUR_CD | Character(5) | VARCHAR2(5) NOT NULL | Withholding Jurisdiction |
20 | WTHD_CLASS | Character(5) | VARCHAR2(5) NOT NULL | Withholding Class |
21 | PYMNT_DT | Date(10) | DATE | Payment Date |