PRCR_LGH_PO_VW(SQL View) |
Index Back |
---|---|
Procurement Line Grp POProcurement Line Group PO Header view for use on spend inquiry. |
SELECT DISTINCT AL.BIDDER_SETID , AD.BUSINESS_UNIT_PO , AD.PO_ID , 'PO' , AL.BUSINESS_UNIT , AL.AUC_ID , AL.AUC_ROUND , AL.AUC_VERSION , PH.BUYER_ID , %DatePart(AH.AUC_POST_DTTM) , PL.AUC_GROUP_ID , PH.VENDOR_ID , PH.VENDOR_SETID , V.VENDOR_NAME_SHORT FROM PS_AUC_AWARD_DSTRB AD , PS_AUC_AWARD_LN AL , PS_AUC_AWARD_HDR AH , PS_PO_HDR PH , PS_PO_LINE PL , 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.BUSINESS_UNIT_PO = PL.BUSINESS_UNIT AND AD.PO_ID = PL.PO_ID AND AD.PO_LINE_NBR = PL.LINE_NBR AND PL.AUC_GROUP_ID <> ' ' AND AD.BUSINESS_UNIT_PO = PH.BUSINESS_UNIT AND AD.PO_ID = PH.PO_ID AND PH.VENDOR_SETID = V.SETID AND PH.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 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL | Buyer |
10 | DOCSTAT_DATE | Date(10) | DATE | Document Date |
11 | AUC_GROUP_ID | Character(18) | VARCHAR2(18) NOT NULL | GroupID |
12 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
13 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
14 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |