VCHR_WTHD_LN_VW(SQL View) |
Index Back |
---|---|
Voucher Line Withhold View |
SELECT DISTINCT VCHR.VENDOR_SETID , VNDR.VENDOR_ID , VCHR.VNDR_LOC , VCHR.BUSINESS_UNIT , VCHR.VOUCHER_ID , VCHR.INVOICE_ID , VCHR.GROSS_AMT , PYMNT.PYMNT_DT , LINE.VOUCHER_LINE_NUM , LINE.MERCHANDISE_AMT , LINE.WTHD_SW , ' ' , ' ' , ' ' , ' ' , ' ' , LINE.TXN_CURRENCY_CD FROM PS_VENDOR VNDR , PS_VOUCHER VCHR , PS_VOUCHER_LINE LINE , PS_PAYMENT_TBL PYMNT , PS_PYMNT_VCHR_XREF XREF WHERE VCHR.GROSS_AMT <> 0 AND XREF.PYMNT_SELCT_STATUS = 'P' AND XREF.PYMNT_TYPE IN ('E','M','R') AND VNDR.VENDOR_ID = VCHR.VENDOR_ID AND VNDR.SETID = VCHR.VENDOR_SETID AND VCHR.BUSINESS_UNIT = LINE.BUSINESS_UNIT AND VCHR.VOUCHER_ID = LINE.VOUCHER_ID AND VCHR.BUSINESS_UNIT = XREF.BUSINESS_UNIT AND VCHR.VOUCHER_ID = XREF.VOUCHER_ID AND XREF.BANK_SETID = PYMNT.BANK_SETID AND XREF.BANK_CD = PYMNT.BANK_CD AND XREF.BANK_ACCT_KEY = PYMNT.BANK_ACCT_KEY AND XREF.PYMNT_ID = PYMNT.PYMNT_ID |
# | 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 | 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_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
7 | GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Invoice Amount |
8 | PYMNT_DT | Date(10) | DATE | Payment Date |
9 | VOUCHER_LINE_NUM | Number(5,0) | INTEGER NOT NULL | Voucher Line Number |
10 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |
11 | CURRENT_WTHD_SW | Character(1) | VARCHAR2(1) NOT NULL |
Withholding applicable flag
Y/N Table Edit |
12 | NEW_WTHD_SW | Character(1) | VARCHAR2(1) NOT NULL |
Withholding applicable flag
N=No Y=Yes |
13 | NEW_WTHD_CLASS | Character(5) | VARCHAR2(5) NOT NULL |
Withhold class
Prompt Table: VWTHD_CLASS_VW |
14 | WTHD_ENTITY | Character(5) | VARCHAR2(5) NOT NULL |
Withholding Entity
Prompt Table: VWTHD_ENTITY_VW |
15 | WTHD_TYPE | Character(5) | VARCHAR2(5) NOT NULL |
Withholding Type
Prompt Table: VWTHD_TYPE_VW |
16 | WTHD_JUR_CD | Character(5) | VARCHAR2(5) NOT NULL |
Withholding Jurisdiction
Prompt Table: VWTHD_JUR_VW |
17 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |