PV_CP_VNDR_L_VW(SQL View) |
Index Back |
---|---|
Supplier Location View |
SELECT DISTINCT A.SETID , A.VENDOR_ID , A.VNDR_LOC FROM PS_VENDOR_LOC A WHERE EFFDT = ( SELECT MAX(EFFDT) FROM PS_VENDOR_LOC B WHERE A.SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.VNDR_LOC = B.VNDR_LOC AND EFFDT <= %CurrentDateIn) AND EFF_STATUS = 'A' AND NOT EXISTS ( SELECT 'X' FROM PS_PV_MS_SUPPLIER B WHERE A.SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.VNDR_LOC = B.VNDR_LOC) |
# | 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 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |