PO_CNT_EXPL_VW(SQL View) |
Index Back |
---|---|
PO Contract Expiry |
SELECT A.SETID , A.CNTRCT_ID , A.VERSION_NBR , B.LINE_STATUS , B.ITM_SETID , B.INV_ITEM_ID , B.CNTRCT_LINE_NBR FROM PS_CNTRCT_HDR A , PS_CNTRCT_LINE B WHERE A.SETID = B.SETID AND A.CNTRCT_ID = B.CNTRCT_ID AND A.VERSION_NBR = B.VERSION_NBR AND A.CNTRCT_STATUS = 'A' AND A.VERSION_STATUS = 'C' AND A.CNTRCT_EXPIRE_DT IS NOT NULL |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CNTRCT_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 | 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 |
7 | CNTRCT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Buying Agreement Line Nbr |