VCHR_LN_WTHD_V2(SQL View) |
Index Back |
---|---|
Voucher Line Withhold Record |
SELECT DISTINCT A.BUSINESS_UNIT , A.VOUCHER_ID , A.VENDOR_SETID , A.VENDOR_ID , A.VNDR_LOC , C.PYMNT_DT FROM PS_VOUCHER A , PS_PYMNT_VCHR_XREF B , PS_PAYMENT_TBL C WHERE A.ENTRY_STATUS <> 'X' AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.VOUCHER_ID = B.VOUCHER_ID AND B.BANK_SETID = C.BANK_SETID AND B.BANK_CD = C.BANK_CD AND B.BANK_ACCT_KEY = C.BANK_ACCT_KEY AND B.PYMNT_ID = C.PYMNT_ID AND NOT EXISTS ( SELECT 'X' FROM PS_VCHR_LINE_WTHD D WHERE B.BUSINESS_UNIT = D.BUSINESS_UNIT AND B.VOUCHER_ID = D.VOUCHER_ID) |
# | 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 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
4 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
5 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
6 | PYMNT_DT | Date(10) | DATE | Payment Date |