SCP_RCTLOC_VW

(SQL View)
Index Back

Receipt Location


SELECT DISTINCT A.VNDR_LOC , C.DESCR , A.VENDOR_ID , A.SETID FROM PS_VENDOR_LOC A , PS_VENDOR B , PS_VNDR_LOC_SCROL C WHERE A.SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.SETID = C.SETID AND A.VENDOR_ID = C.VENDOR_ID AND A.VNDR_LOC = C.VNDR_LOC AND A.EFFDT = ( SELECT MAX(F.EFFDT) FROM PS_VENDOR_LOC F WHERE A.SETID = F.SETID AND A.VENDOR_ID = F.VENDOR_ID AND A.VNDR_LOC = F.VNDR_LOC AND F.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
2 DESCR Character(30) VARCHAR2(30) NOT NULL Description
3 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
4 SETID Character(5) VARCHAR2(5) NOT NULL SetID