VNDR_ORDER_VWL(SQL View) |
Index Back |
---|---|
Remit Supplier address viewRemit Supplier address view |
SELECT VNDR.SETID , VNDR.VENDOR_ID , VNDR.LANGUAGE_CD , LOC.VNDR_LOC , VNDR.VENDOR_NAME_SHORT , ADDR.DESCR , ADDR.ADDRESS1 , ADDR.ADDRESS2 , ADDR.ADDRESS3 , ADDR.ADDRESS4 , ADDR.CITY , ADDR.STATE , ADDR.POSTAL , ADDR.DESCR60 FROM PS_VENDOR_LOC LOC , PS_VENDOR_LANG VNDR , PS_VENDOR VNDR1 , PS_VENDOR_ADD5_LVW ADDR WHERE VNDR.SETID = VNDR1.SETID AND VNDR.VENDOR_ID = VNDR1.VENDOR_ID AND VNDR.SETID = LOC.SETID AND VNDR.VENDOR_ID = LOC.VENDOR_ID AND VNDR.LANGUAGE_CD = ADDR.LANGUAGE_CD AND VNDR1.DEFAULT_LOC = LOC.VNDR_LOC AND LOC.EFFDT = ( SELECT MAX(Z.EFFDT) FROM PS_VENDOR_LOC Z WHERE LOC.SETID = Z.SETID AND LOC.VENDOR_ID = Z.VENDOR_ID AND LOC.VNDR_LOC = Z.VNDR_LOC AND Z.EFFDT <=%CurrentDateIn) AND LOC.SETID = ADDR.SETID AND LOC.VENDOR_ID = ADDR.VENDOR_ID AND LOC.ADDR_SEQ_NUM_ORDR = ADDR.ADDRESS_SEQ_NUM |
# | 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
5 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
8 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
9 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
10 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
11 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
12 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
13 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
14 | DESCR60 | Character(60) | VARCHAR2(60) NOT NULL | Description |