CS_CT_LN_VND_IB(SQL View) |
Index Back |
---|---|
Supplier Contract Line View3/5/08 RMK F-AHAYT-S60K7 Added version_nbr and set default value to 1 |
SELECT A.EIP_CTL_ID , A.SUBNODE , A.SETID , A.CNTRCT_ID , B.CNTRCT_LINE_NBR , B.VERSION_NBR , A.VENDOR_SETID , A.VENDOR_ID , A.CNTRCT_BEGIN_DT , A.CNTRCT_TYPE , B.INV_ITEM_ID , B.DESCR254_MIXED , B.CATEGORY_ID , B.CNTR_LN_TYPE_ID FROM PS_CS_CT_HDR_IB A , PS_CS_CT_LINE_IB B WHERE A.EIP_CTL_ID = B.EIP_CTL_ID AND A.SUBNODE = B.SUBNODE AND A.SETID = B.SETID AND A.CNTRCT_ID = B.CNTRCT_ID AND A.CNTRCT_STATUS = 'A' AND B.AMT_ONLY_FLG = 'N' AND B.CATEGORY_ID <> ' ' AND B.UNIT_OF_MEASURE <> ' ' AND B.DESCR254_MIXED <> ' ' AND B.LINE_STATUS = 'O' AND EXISTS ( SELECT 'X' FROM PS_CS_CT_UOM_IB C , PS_CS_CT_LNSHIP_IB D WHERE C.EIP_CTL_ID = B.EIP_CTL_ID AND C.SUBNODE = B.SUBNODE AND C.SETID = B.SETID AND C.CNTRCT_ID = B.CNTRCT_ID AND C.CNTRCT_LINE_NBR = B.CNTRCT_LINE_NBR AND D.EIP_CTL_ID = B.EIP_CTL_ID AND D.SUBNODE = B.SUBNODE AND D.SETID = B.SETID AND D.CNTRCT_ID = B.CNTRCT_ID AND D.CNTRCT_LINE_NBR = B.CNTRCT_LINE_NBR AND C.VNDR_LOC <> ' ' AND C.PRICE_CNTRCT_BASE <> 0 AND D.QTY_SCHED <> 0) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EIP_CTL_ID | Character(25) | VARCHAR2(25) NOT NULL | Enterprise Components EIP (enterprise integration point) control field |
2 | SUBNODE | Character(30) | VARCHAR2(30) NOT NULL | Subscribing Node |
3 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID |
4 | CNTRCT_ID | Character(25) | VARCHAR2(25) NOT NULL |
Buying Agreement ID
Default Value: NEXT |
5 | CNTRCT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Buying Agreement Line Nbr |
6 | VERSION_NBR | Number(5,0) | INTEGER NOT NULL |
Contract Version number
Default Value: 1 |
7 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
8 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
9 | CNTRCT_BEGIN_DT | Date(10) | DATE | Contract Begin Date |
10 | CNTRCT_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
Contract Type
AP=Recurring Voucher GN=General Contract MS=Master Contract PO=Purchase Order |
11 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
12 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
13 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
14 | CNTR_LN_TYPE_ID | Character(30) | VARCHAR2(30) NOT NULL | Contract Line Type ID |