CNTRCTLNCAT_VW

(SQL View)
Index Back

Contract Line Categories

Distinct Categories on Contract Lines

SELECT DISTINCT L.SETID , L.CNTRCT_ID , L.VERSION_NBR , C.CATEGORY_CD , C.DESCR60 FROM PS_CNTRCT_LINE L , PS_ITM_CAT_TBL C , PS_SET_CNTRL_REC S WHERE L.SETID = C.SETID AND L.CATEGORY_ID = C.CATEGORY_ID AND L.CATEGORY_ID <> ' ' AND C.SETID = S.SETID AND L.SETID = S.SETCNTRLVALUE AND S.RECNAME = 'ITM_CAT_TBL'

# 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
4 CATEGORY_CD Character(18) VARCHAR2(18) NOT NULL Category Code
5 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description