CNTRCT_SE_CT_VW

(SQL View)
Index Back

Contract Categories for PTSF

Contract Category Lines

SELECT C.SETID , C.CNTRCT_ID , C.VERSION_NBR , I2.CATEGORY_CD , I2.DESCR60 , I2.DESCRSHORT , R2.AMT_LINE_RELEASED FROM PS_CNTRCT_CATEGORY C , PS_ITM_CAT_TBL I2 , PS_CNTRCT_CAT_RLS R2 WHERE C.SETID = I2.SETID AND C.CATEGORY_ID = I2.CATEGORY_ID AND I2.EFFDT = ( SELECT MAX(I2_ED.EFFDT) FROM PS_ITM_CAT_TBL I2_ED WHERE I2.SETID = I2_ED.SETID AND I2.CATEGORY_TYPE = I2_ED.CATEGORY_TYPE AND I2.CATEGORY_CD = I2_ED.CATEGORY_CD AND I2.CATEGORY_ID = I2_ED.CATEGORY_ID AND I2_ED.EFFDT <= %CurrentDateIn) AND C.SETID = R2.SETID AND C.CNTRCT_ID = R2.CNTRCT_ID AND C.CAT_LINE_NBR = R2.CAT_LINE_NBR

  • Parent record: CNTRCT_HDR
  • # 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

    Default Value: 1

    4 CATEGORY_CD Character(18) VARCHAR2(18) NOT NULL Category Code
    5 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description
    6 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
    7 AMT_LINE_RELEASED Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Line Amt Released