AUC_COPY_PLN_VW

(SQL View)
Index Back

Eligible planning orders


SELECT A.BUSINESS_UNIT_IN , A.SEQ_NBR , A.PLANNER_CD , A.DUE_DT , A.ORIG_DUE_DT , A.BUYER_ID , A.SETID , A.INV_ITEM_ID , C.DESCR254_MIXED , A.QTY_PO , A.PL_STATUS_CD , A.PL_PLAN_STATUS , A.CHANGE_FLAG , A.PL_SEQ_NBR FROM PS_PL_PO_PLAN_ORD A , PS_MASTER_ITEM_TBL B , PS_PURCH_ITEM_ATTR C WHERE A.PL_PO_TYPE = 'N' AND A.APPROVED_FLG = 'Y' AND A.SPOT_BUY_FLG = 'Y' AND A.PL_ORDER_TYPE = 'PSS' AND B.SETID = A.SETID AND B.INV_ITEM_ID = A.INV_ITEM_ID AND B.SETID = C.SETID AND B.INV_ITEM_ID = C.INV_ITEM_ID AND A.PROCESSED_FLG <> 'P' AND A.AUC_ID = ' '

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
3 PLANNER_CD Character(12) VARCHAR2(12) NOT NULL Planner Code
4 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.
5 START_DT Date(10) DATE Start Date
6 BUYER_ID Character(30) VARCHAR2(30) NOT NULL Buyer
7 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
8 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
9 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
10 QTY_AUC Number(16,4) DECIMAL(15,4) NOT NULL Event Quantity
11 PL_STATUS_CD Character(2) VARCHAR2(2) NOT NULL 08/07/98 SCC CN#APRD-R-SCHEW-8L1TB: Change description for value 10 'Before Planning Time Fence' to 'Expedite'
10=Expedite
20=Accepted Horizon
30=After Cutoff Fence
40=No Time Fence Defined
99=Error/Exception
12 PL_PLAN_STATUS Character(2) VARCHAR2(2) NOT NULL 11/01/01 PCL (CN#PL900-1): Added
05=Planned
15=Firmed
90=Canceled
13 CHANGE_FLAG Character(1) VARCHAR2(1) NOT NULL Yes/No indicator
14 PL_SEQ_NBR Number(9,0) DECIMAL(9) NOT NULL 01/09/02 EGS (CN#PL900-1): Added