CS_CNT_ID_VW(SQL View) |
Index Back |
---|
SELECT A.SETID , A.CNTRCT_ID , A.VENDOR_SETID , A.VENDOR_ID , A.VNDR_CNTRCT_REF , A.CNTRCT_STATUS , A.CNTRCT_BEGIN_DT , A.CNTRCT_EXPIRE_DT , A.DESCR FROM PS_CNTRCT_HDR A WHERE A.VERSION_STATUS = 'C' AND EXISTS ( SELECT 'x' FROM PS_CS_CNT_AG B WHERE A.SETID = B.SETID AND A.CNTRCT_ID=B.CNTRCT_ID AND A.VERSION_NBR=B.VERSION_NBR) |
# | 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 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
4 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
5 | VNDR_CNTRCT_REF | Character(30) | VARCHAR2(30) NOT NULL | Supplier Contract Ref |
6 | CNTRCT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Contract Status
A=Approved C=Closed H=On-Hold O=Open P=Pre-Approved X=Canceled |
7 | CNTRCT_BEGIN_DT | Date(10) | DATE | Contract Begin Date |
8 | CNTRCT_EXPIRE_DT | Date(10) | DATE | Expire Date |
9 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |