VNDR_ADDR_VWLNG(SQL View) |
Index Back |
---|---|
Supplier Address |
SELECT DISTINCT A.SETID , A.VENDOR_ID , A.ADDRESS_SEQ_NUM , C.LANGUAGE_CD , C.DESCR FROM PS_VENDOR_ADDR A , PS_VNDR_ADDRSCR_LG C WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_VENDOR_ADDR B WHERE A.SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.ADDRESS_SEQ_NUM = B.ADDRESS_SEQ_NUM AND B.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' AND A.SETID = C.SETID AND A.VENDOR_ID = C.VENDOR_ID AND A.ADDRESS_SEQ_NUM = C.ADDRESS_SEQ_NUM |
# | 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 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |