CNTRCT_ITMS_SRC(SQL View) |
Index Back |
---|---|
Contract Items SearchSearch view for contract line items. |
SELECT A.VENDOR_SETID , A.VENDOR_ID , A.CNTRCT_ID , A.VERSION_NBR , 'L' , B.CNTRCT_LINE_NBR , B.ITM_SETID , B.INV_ITEM_ID , 0 , ' ' , ' ' , A.CNTRCT_BEGIN_DT , A.CNTRCT_EXPIRE_DT FROM PS_CNTRCT_HDR A , PS_CNTRCT_LINE B WHERE A.CNTRCT_STATUS = 'A' AND A.SETID = B.SETID AND A.CNTRCT_ID = B.CNTRCT_ID AND 0 = ( SELECT COUNT(*) FROM PS_CNTRCT_BPO_XREF C WHERE C.SETID = A.SETID AND C.CNTRCT_ID = A.CNTRCT_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
2 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
3 | CNTRCT_ID | Character(25) | VARCHAR2(25) NOT NULL | Buying Agreement ID |
4 | VERSION_NBR | Number(5,0) | INTEGER NOT NULL | Contract Version number |
5 | CNTR_LN_TYPE_ID | Character(30) | VARCHAR2(30) NOT NULL | Contract Line Type ID |
6 | CNTRCT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Buying Agreement Line Nbr |
7 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
8 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
9 | CAT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Contract Category Line Number |
10 | CATEGORY_SETID | Character(5) | VARCHAR2(5) NOT NULL | Category SetID |
11 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
12 | CNTRCT_BEGIN_DT | Date(10) | DATE | Contract Begin Date |
13 | CNTRCT_EXPIRE_DT | Date(10) | DATE | Expire Date |