VNDR_LOC_PR_VW1

(SQL View)
Index Back

Item Supplier Loc View

02/21/2001 R-NFIELD-7R6V2

SELECT DISTINCT C.SETID ,C.INV_ITEM_ID ,A.SETID , A.VENDOR_ID , A.VNDR_LOC , A.CURRENCY_CD FROM PS_VENDOR_LOC A , PS_VENDOR_LOC B ,PS_ITM_VNDR_UOM C WHERE A.SETID = B.PRICE_SETID AND A.VENDOR_ID = B.PRICE_VENDOR AND A.VNDR_LOC = B.PRICE_LOC AND A.SETID = C.VENDOR_SETID AND A.VENDOR_ID = C.VENDOR_ID AND A.VNDR_LOC = C.VNDR_LOC AND A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_VENDOR_LOC C WHERE A.SETID = C.SETID AND A.VENDOR_ID = C.VENDOR_ID AND A.VNDR_LOC = C.VNDR_LOC AND C.EFFDT <=%CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
3 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
4 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier

Prompt Table: VNDR_VNDSET_VW

5 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
6 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code