CNTRCT_LINE_CS(SQL View) |
Index Back |
---|
SELECT A.SETID , A.CNTRCT_ID , A.CNTRCT_LINE_NBR , A.LINE_STATUS , A.ITM_SETID , A.INV_ITEM_ID , A.DESCR254_MIXED , A.ITM_ID_VNDR FROM PS_CNTRCT_LINE A , PS_CNTRCT_HDR H WHERE H.VERSION_STATUS = 'C' AND A.SETID = H.SETID AND A.CNTRCT_ID = H.CNTRCT_ID AND A.VERSION_NBR = H.VERSION_NBR AND A.LINE_STATUS NOT IN ('C','I') AND EXISTS ( SELECT 'x' FROM PS_CS_CNT_AG B WHERE A.SETID = B.SETID AND A.CNTRCT_ID=B.CNTRCT_ID AND A.CNTRCT_LINE_NBR=B.CNTRCT_LINE_NBR AND A.VERSION_NBR=B.VERSION_NBR AND B.CAT_LINE_NBR = 0 ) |
# | 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 | LINE_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Line Status
A=Active C=Cancelled I=Inactive O=Open P=Pending |
5 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
6 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: %EDITTABLE13 |
7 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
8 | ITM_ID_VNDR | Character(50) | VARCHAR2(50) NOT NULL | Vendor Item ID |