VNDR_ADDRS2_LVW(SQL View) |
Index Back |
---|---|
Vndr Addr EffDt Search View |
SELECT DISTINCT a.setid , a.vendor_id , a.address_seq_num , L.LANGUAGE_CD , a.effdt , L1.name1 , L1.name2 , a.emailid , l.country , l.address1 , l.address2 , l.address3 , l.address4 , l.CITY , a.num1 , a.num2 , a.addr_field2 , a.addr_field3 , l.county , l.state , l.postal , l.geo_code , l.name1_wthd , l.name2_wthd , B.DESCR FROM PS_VENDOR_LANG L1 , PS_VENDOR_ADDR A , PS_VENDOR_ADDR_LNG L LEFT OUTER JOIN PS_VNDR_ADDRSCR_LG b ON b.setid =L.setid AND b.vendor_id = L.vendor_id AND b.address_seq_num = L.address_seq_num AND L.language_cd = b.language_cd WHERE A.SETID = L.SETID AND A.VENDOR_ID = L.VENDOR_ID AND A.ADDRESS_SEQ_NUM = L.ADDRESS_SEQ_NUM AND a.effdt = ( SELECT MAX(i.effdt) FROM PS_VENDOR_ADDR i WHERE i.setid = a.setid AND i.vendor_id = a.vendor_id AND i.address_seq_num = a.address_seq_num AND i.eff_status = 'A' AND i.effdt <= %CurrentDateIn) AND L.EFFDT = ( SELECT MAX(i1.effdt) FROM PS_VENDOR_ADDR_LNG i1 WHERE i1.setid = L.setid AND i1.vendor_id = L.vendor_id AND i1.address_seq_num = L.address_seq_num AND i1.effdt <= %CurrentDateIn) AND L1.SETID = L.SETID AND L1.VENDOR_ID = L.VENDOR_ID AND L1.LANGUAGE_CD = L.LANGUAGE_CD |
# | 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 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
6 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
7 | NAME2 | Character(40) | VARCHAR2(40) NOT NULL | Name 2 |
8 | EMAILID | Character(70) | VARCHAR2(70) NOT NULL | A user's E-mail address |
9 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
10 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
11 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
12 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
13 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
14 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
15 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
16 | NUM2 | Character(6) | VARCHAR2(6) NOT NULL | Number 2 |
17 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
18 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
19 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
20 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: %EDIT_STATE |
21 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
22 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
23 | NAME1_WTHD | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
24 | NAME2_WTHD | Character(40) | VARCHAR2(40) NOT NULL | Name 2 |
25 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |