VNDR_WTHD_LG_VW(SQL View) |
Index Back |
---|
SELECT a.setid , a.vendor_id , a.vndr_loc , d.language_cd , b.tin , d.vendor_name_short , c.ar_num , d.name1 FROM ps_vendor_loc a , PS_VENDOR_WTHD b , ps_vendor c , ps_vendor_lang d WHERE a.effdt = ( SELECT MAX(a1.effdt) FROM ps_vendor_loc a1 WHERE a1.setid = a.setid AND a1.vendor_id = a.vendor_id AND a1.vndr_loc = a.vndr_loc) AND b.setid = a.setid AND b.vendor_id = a.vendor_id AND b.vndr_loc = a.vndr_loc AND b.effdt = a.effdt AND c.setid = a.setid AND c.vendor_id = a.vendor_id AND c.wthd_sw = 'Y' AND c.vendor_status IN ('A','I') AND c.setid = d.setid AND c.vendor_id = d.vendor_id |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
2 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL |
Vendor Identifier
Prompt Table: VNDR_ACTIVE_VW |
3 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL |
Vendor Location
Prompt Table: VNDR_LOC_AP_VW |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | TIN | Character(20) | VARCHAR2(20) NOT NULL | Taxpayer Identification Number |
6 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL |
Short Vendor Name
Prompt Table: VENDOR_SHRT_VW1 |
7 | AR_NUM | Character(15) | VARCHAR2(15) NOT NULL |
Our Customer Number
Prompt Table: VNDR_AR_VW |
8 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL |
Name 1
Prompt Table: VNDR_NAME1_VW |