CNTRCT_LNCCD_VW(SQL View) |
Index Back |
---|---|
Contract Lines and categoryShows the category code value for a contract line item. |
SELECT A.SETID , A.CNTRCT_ID , A.CNTRCT_LINE_NBR , A.ITM_SETID , A.INV_ITEM_ID , A.DESCR254_MIXED , A.CATEGORY_ID , C.CATEGORY_CD FROM PS_CNTRCT_LINE A , PS_CNTRCT_HDR H , PS_ITM_CAT_TBL C , PS_INSTALLATION_PO D WHERE (H.VERSION_STATUS = 'C' OR H.VERSION_STATUS = 'D' AND NOT EXISTS ( SELECT 'X' FROM PS_CNTRCT_HDR H2 WHERE H2.SETID = H.SETID AND H2.CNTRCT_ID = H.CNTRCT_ID AND H2.VERSION_STATUS = 'C') ) AND A.SETID = H.SETID AND A.CNTRCT_ID = H.CNTRCT_ID AND A.VERSION_NBR = H.VERSION_NBR AND A.ITM_SETID = C.SETID AND A.CATEGORY_ID = C.CATEGORY_ID AND C.CATEGORY_TYPE = D.CATEGORY_TYPE AND %EffdtCheck(ITM_CAT_TBL E, C, H.CNTRCT_BEGIN_DT) |
# | 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 | CNTRCT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Buying Agreement Line Nbr |
4 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
5 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
6 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
7 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
8 | CATEGORY_CD | Character(18) | VARCHAR2(18) NOT NULL | Category Code |