SP_CHUVID_OPRVW

(SQL View)
Index Back

Chunk Supplier SetId VW

SELECT DISTINCT C.OPRID , A.SETID , A.SUPPLIER_ID , A.SUPP_LOC , A.DISP_METHOD FROM PS_SUPPLIER_LOC A , PS_SEC_SETID_OPR C WHERE A.SETID = C.SETID AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_SUPPLIER_LOC B WHERE A.SETID = B.SETID AND A.SUPPLIER_ID = B.SUPPLIER_ID AND A.SUPP_LOC = B.SUPP_LOC AND B.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A'

SELECT DISTINCT C.OPRID , A.SETID , A.VENDOR_ID , A.VNDR_LOC , A.DISP_METHOD FROM PS_VENDOR_LOC A , PS_SEC_SETID_OPR C WHERE A.SETID = C.SETID AND A.EFFDT = ( SELECT MAX(B.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 B.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
3 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier

Prompt Table: VNDR_VNDSET_VW

4 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
5 DISP_METHOD Character(3) VARCHAR2(3) NOT NULL Dispatch Method
EDX=Electronic Document Exchange
EML=Email Dispatch
FAX=Fax Transmission
PHN=Phone Dispatch
PRN=Print