SF_EMP_VNDR_VW

(SQL View)
Index Back

Prompt view for vendor inquiry


SELECT A.BUSINESS_UNIT , A.EMPLID , B.SETID , B.VENDOR_ID FROM PS_PERS_SF_VENDOR A , PS_SF_VENDOR B WHERE A.VENDOR_SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_PERS_SF_VENDOR C WHERE C.EMPLID = A.EMPLID AND C.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.VENDOR_SETID = A.VENDOR_SETID AND C.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Default Value: OPR_DEF_TBL_CS.BUSINESS_UNIT

Prompt Table: BUS_UNIT_TBL_SF

2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PERS_SF_VENDOR

3 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Prompt Table: SETID_TBL

4 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier