PRCR_LG_CNT_VW(SQL View) |
Index Back |
---|---|
Procurement Line Grp ContractProcurement Line Group contract view for use on spend inquiry. |
SELECT DISTINCT AD.CNTRCT_SETID , AD.BUSINESS_UNIT_PO , AD.CNTRCT_ID , 'CNT' , AL.BUSINESS_UNIT , AL.AUC_ID , AL.AUC_ROUND , AL.AUC_VERSION , AL.LINE_NBR , %DatePart(AH.AUC_POST_DTTM) , CL.AUC_GROUP_ID , AL.INV_ITEM_ID , AL.DESCR254_MIXED , CH.VENDOR_ID , CH.VENDOR_SETID , V.VENDOR_NAME_SHORT FROM PS_AUC_AWARD_DSTRB AD , PS_AUC_AWARD_LN AL , PS_AUC_AWARD_HDR AH , PS_CNTRCT_HDR CH , PS_CNTRCT_LINE CL , PS_VENDOR V WHERE AD.BUSINESS_UNIT = AL.BUSINESS_UNIT AND AD.AUC_ID = AL.AUC_ID AND AD.AUC_ROUND = AL.AUC_ROUND AND AD.AUC_VERSION = AL.AUC_VERSION AND AD.BIDNUM = AL.BIDNUM AND AD.BIDDER_SETID = AL.BIDDER_SETID AND AD.BIDDER_ID = AL.BIDDER_ID AND AD.BIDDER_TYPE = AL.BIDDER_TYPE AND AD.BIDDER_LOC = AL.BIDDER_LOC AND AD.AUC_AWARD_NBR = AL.AUC_AWARD_NBR AND AD.LINE_NBR = AL.LINE_NBR AND AD.BUSINESS_UNIT = AH.BUSINESS_UNIT AND AD.AUC_ID = AH.AUC_ID AND AD.AUC_ROUND = AH.AUC_ROUND AND AD.AUC_VERSION = AH.AUC_VERSION AND AD.BIDNUM = AH.BIDNUM AND AD.BIDDER_SETID = AH.BIDDER_SETID AND AD.BIDDER_ID = AH.BIDDER_ID AND AD.BIDDER_TYPE = AH.BIDDER_TYPE AND AD.BIDDER_LOC = AH.BIDDER_LOC AND AD.AUC_AWARD_NBR = AH.AUC_AWARD_NBR AND AD.CNTRCT_SETID = CH.SETID AND AD.CNTRCT_ID = CH.CNTRCT_ID AND CH.VERSION_STATUS = 'C' AND AL.BIDDER_SETID = CL.SETID AND AD.CNTRCT_ID = CL.CNTRCT_ID AND AD.CNTRCT_LINE_NBR = CL.CNTRCT_LINE_NBR AND CH.VERSION_NBR = CL.VERSION_NBR AND CL.AUC_GROUP_ID <> ' ' AND CH.VENDOR_SETID = V.SETID AND CH.VENDOR_ID = V.VENDOR_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | BUSINESS_UNIT_PO | Character(5) | VARCHAR2(5) NOT NULL | PO Business Unit |
3 | PRCR_DOC_ID | Character(25) | VARCHAR2(25) NOT NULL | Go to this doc's inquiry page |
4 | PRCR_DOC_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Document Type
CNT=Contract IUR=Inter Unit Receipt MSR=MSR PMT=Payment PO=Purchase Order RCV=Receipt REQ=Requisition RFQ=Request For Quote RTV=Return To Vendor (Supplier) SSE=Strategic Sourcing Event VOU=Voucher WO=Work Order |
5 | BUSINESS_UNIT_SS | Character(5) | VARCHAR2(5) NOT NULL | Strategic Sourcing BU |
6 | AUC_ID | Character(10) | VARCHAR2(10) NOT NULL | Event ID |
7 | AUC_ROUND | Number(5,0) | INTEGER NOT NULL | Event Round |
8 | AUC_VERSION | Number(5,0) | INTEGER NOT NULL | Event Version |
9 | AUC_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Strategic Sourcing Line Number |
10 | DOCSTAT_DATE | Date(10) | DATE | Document Date |
11 | AUC_GROUP_ID | Character(18) | VARCHAR2(18) NOT NULL | GroupID |
12 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
13 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
14 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
15 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
16 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |