CS_LN_CAT_VW

(SQL View)
Index Back

Contract Line Category Mapping

5/2007 CEL F-AHAYT-L64E0 Changed the sql for category_descr field to get the descr60 field.

SELECT A.SETID , A.CNTRCT_ID , A.VERSION_NBR , A.CNTRCT_LINE_NBR , A.CATEGORY_ID , B.CATEGORY_CD , B.DESCR60 FROM PS_CNTRCT_LINE A , PS_ITM_CAT_SET_VW B , PS_INSTALLATION_PO I WHERE A.LINE_STATUS NOT IN ('C' ,'I') AND B.SETID = A.ITM_SETID AND B.CATEGORY_TYPE = I.CATEGORY_TYPE AND B.CATEGORY_ID = A.CATEGORY_ID

# 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 CNTRCT_LINE_NBR Number(5,0) INTEGER NOT NULL Buying Agreement Line Nbr

Default Value: 1

5 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID

Prompt Table: %EDITTABLE14
Set Control Field: SETID

6 CATEGORY_CD Character(18) VARCHAR2(18) NOT NULL Category Code
7 CATEGORY_DESCR Character(60) VARCHAR2(60) NOT NULL Category Description