CS_CNTRCT_IDVW3

(SQL View)
Index Back

Contract ID View

12/2007 cel new view to show only contract id's that do NOT have a doc tied to them already

SELECT DISTINCT a.SETID , a.CNTRCT_ID , a.VERSION_NBR FROM PS_CNTRCT_HDR a WHERE a.VERSION_STATUS = 'C' AND A.CNTRCT_ID NOT IN ( SELECT B.CNTRCT_ID FROM PS_CS_DOC_PO_KEYS B WHERE B.SETID = A.SETID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID
3 VERSION_NBR Number(5,0) INTEGER NOT NULL Contract Version number