VNDRN_LOC_AP_VW(SQL View) |
Index Back |
---|---|
Supplier Location View |
SELECT DISTINCT A.SETID , C.VENDOR_NAME_SHORT , A.VNDR_LOC , A.EFFDT , B.DESCR FROM PS_VENDOR_LOC A , PS_VNDR_LOC_SCROL B , PS_VENDOR C WHERE A.SETID = C.SETID AND A.VENDOR_ID = C.VENDOR_ID AND A.EFFDT = ( SELECT MAX(I.EFFDT) FROM PS_VENDOR_LOC I WHERE I.SETID = A.SETID AND I.VENDOR_ID = A.VENDOR_ID AND I.VNDR_LOC = A.VNDR_LOC AND I.EFFDT <= %CurrentDateIn AND I.EFF_STATUS = 'A') AND B.SETID = A.SETID AND B.VENDOR_ID = A.VENDOR_ID AND B.VNDR_LOC = A.VNDR_LOC |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
3 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |