REQ_LN_SHP_AUC

(SQL View)
Index Back

Req Line/Ship Combo for SS

Sourcing view for eligible Requisition lines.

SELECT DISTINCT A.BUSINESS_UNIT , A.REQ_ID , A.LINE_NBR , A.SCHED_NBR , C.QTY_OPEN , A.PRICE_REQ , A.DUE_DT , B.ITM_SETID , B.INV_ITEM_ID , B.DESCR254_MIXED , B.VENDOR_SETID , B.VENDOR_ID , B.ITM_ID_VNDR , B.VNDR_CATALOG_ID , B.BUYER_ID , B.CATEGORY_ID , B.UNIT_OF_MEASURE , B.MFG_ID , C.AMT_OPEN , B.SOURCE_STATUS , A.BAL_STATUS , B.RFQ_IND , A.SHIPTO_SETID , A.SHIPTO_ID , B.CURRENCY_CD , D.ORIGIN , B.MFG_ITM_ID , A.SHIP_TYPE_ID , B.PHYSICAL_NATURE , B.VAT_SVC_PERFRM_FLG , A.LIQUIDATE_METHOD , B.AMT_ONLY_FLG FROM PS_REQ_LINE_SHIP A , PS_REQ_LINE B , PS_AUC_REQ_DST_SUM C , PS_REQ_HDR D WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.REQ_ID = C.REQ_ID AND B.REQ_ID = A.REQ_ID AND C.REQ_ID = D.REQ_ID AND A.LINE_NBR = C.LINE_NBR AND B.LINE_NBR = A.LINE_NBR AND A.SCHED_NBR = C.SCHED_NBR AND A.BAL_STATUS = 'I' AND B.CURR_STATUS = 'A' AND B.SOURCE_STATUS = 'A' AND B.IN_PROCESS_FLG = 'N' AND B.PRICE_REQ >= 0 AND (C.QTY_OPEN > 0 OR C.AMT_OPEN > 0) AND D.IN_PROCESS_FLG = 'N' AND D.HOLD_STATUS = 'N' AND D.BUDGET_HDR_STATUS = 'V' AND B.ITM_SETID IN ( SELECT E.SETID FROM PS_AUC_SETID_VW E)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 REQ_ID Character(10) VARCHAR2(10) NOT NULL Requisition ID
3 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
4 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number
5 QTY_AUC Number(16,4) DECIMAL(15,4) NOT NULL Event Quantity
6 PRICE_AUC Number(17,5) DECIMAL(16,5) NOT NULL Event Price
7 DUE_DT Date(10) DATE Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received.
8 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
9 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
10 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
11 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
12 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
13 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
14 VNDR_CATALOG_ID Character(20) VARCHAR2(20) NOT NULL Vendor's Catalog Number
15 BUYER_ID Character(30) VARCHAR2(30) NOT NULL Buyer
16 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID
17 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
18 MFG_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer ID
19 AMT_OPEN Signed Number(28,3) DECIMAL(26,3) NOT NULL Open Amount
20 SOURCE_STATUS Character(1) VARCHAR2(1) NOT NULL AutoSource Status
A=Available
C=Sourcing Complete
E=Non-Price Error
I=Sourcing In Process
N=Non-Price Error
P=Pricing Error
21 BAL_STATUS Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not the control totals for a deposit match the entered totals. A deposit is considered "balanced" when the two sets of totals are equal.
I=Balanced
O=Not Balanced
22 RFQ_IND Character(1) VARCHAR2(1) NOT NULL RFQ Required
N=No
Y=Yes
23 SHIPTO_SETID Character(5) VARCHAR2(5) NOT NULL ShipTo SetID
24 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location
25 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
26 ORIGIN Character(3) VARCHAR2(3) NOT NULL Origin
27 MFG_ITM_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer's Item ID
28 SHIP_TYPE_ID Character(10) VARCHAR2(10) NOT NULL Ship Via Code
29 PHYSICAL_NATURE Character(1) VARCHAR2(1) NOT NULL Physical Nature
G=Goods
S=Services
30 VAT_SVC_PERFRM_FLG Character(1) VARCHAR2(1) NOT NULL Where VAT Services Physically Performed Flag
1=Ship To Location
2=Ship From Location
3=Buyer's Location
4=Supplier's Location
31 LIQUIDATE_METHOD Character(1) VARCHAR2(1) NOT NULL Liquidate by
A=Amount
Q=Quantity
32 AMT_ONLY_FLG Character(1) VARCHAR2(1) NOT NULL Amount Only
N=No
Y=Yes