SPB_VMS_TMID_VW

(SQL View)
Index Back

Team ID View

This view is used to fetch the most current Team IDs that are active

SELECT DISTINCT D.SETID , B.VENDOR_ID , A.TEAM_ID , D.DESCR FROM PS_SPB_MEM_BY_TEAM A , PS_SPB_SERVICE_COD B ,PS_SPB_PERSON_TBL C ,PS_SPB_TEAM D WHERE A.SETID = D.SETID AND A.TEAM_ID = D.TEAM_ID AND A.TEAM_TYPE = D.TEAM_TYPE AND A.PERSON_ID =B.PERSON_ID AND A.PERSON_ID =C.PERSON_ID AND C.PER_STATUS ='N' AND D.EFF_STATUS = 'A' AND %EffdtCheck(SPB_TEAM,D,%CurrentDateIn) AND %EffdtCheck(SPB_MEM_BY_TEAM,A,%CurrentDateIn) AND D.EFFDT = A.EFFDT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 VMS_SUPPLIER_ID Character(10) VARCHAR2(10) NOT NULL VMS Supplier ID
3 TEAM_ID Character(15) VARCHAR2(15) NOT NULL Team ID
4 DESCR Character(30) VARCHAR2(30) NOT NULL Description