WM_RPT_PO

(SQL View)
Index Back

SELECT R.OPRID , R.RUN_CNTL_ID , R.PROCESS_INSTANCE , R.BUSINESS_UNIT , C.WO_ID , C.WO_TASK_ID , P.RES_LN_NBR , P.RSRC_TYPE , P.BUSINESS_UNIT_IN , P.ITM_SETID , P.INV_ITEM_ID , P.QTY_REQUIRED , P.UNIT_OF_MEASURE , P.WO_DELIVERY_FLAG , P.WO_DELIVERY_INST , P.SUPPLIER_REFERENCE , P.CURRENCY_CD , T.DESCR60 , P.DUE_DT , P.WO_PO_STATUS , P.ON_HAND_STOCK , P.WO_REQ_STATUS FROM PS_WM_WOE_RPT_REQ R , PS_WM_WOE_RPT_CRIT C , PS_WM_WO_SCHED_PO P , PS_MASTER_ITEM_TBL T WHERE %Join(COMMON_KEYS, WM_WOE_RPT_REQ R , WM_WOE_RPT_CRIT C) AND %Join(COMMON_KEYS, WM_WOE_RPT_CRIT C , WM_WO_SCHED_PO P) AND T.SETID = P.ITM_SETID AND T.INV_ITEM_ID = P.INV_ITEM_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).

Default Value: WM_WOE_WB_VW.OPRID

Prompt Table: OPRID_VW

2 RUN_CNTL_ID Character(30) VARCHAR2(30) NOT NULL Run Control ID
3 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
4 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

Prompt Table: SP_BU_WM_NONVW

5 WO_ID Character(10) VARCHAR2(10) NOT NULL Work Order Identification
6 WO_TASK_ID Number(5,0) INTEGER NOT NULL Task Number
7 RES_LN_NBR Number(5,0) INTEGER NOT NULL Resource Line No.

Default Value: WM_WO_TSK.LAST_SCHEDLN_LBR

8 RSRC_TYPE Character(1) VARCHAR2(1) NOT NULL Work Order Management Resource Types
1=Labor
2=Tools
3=Material

Default Value: 3

9 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit
10 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
11 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

Prompt Table: %EDITTABLE3
Set Control Field: SETID

12 QTY_REQUIRED Signed Number(17,4) DECIMAL(15,4) NOT NULL Work Order quantity required
13 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage

Default Value: MASTER_ITEM_TBL.UNIT_MEASURE_STD

Prompt Table: %EDIT_UOM

14 WO_DELIVERY_FLAG Character(1) VARCHAR2(1) NOT NULL Flag used by Work Order parts list processing to signify special delivery instructions if needed

Y/N Table Edit

Default Value: N

15 WO_DELIVERY_INST Character(254) VARCHAR2(254) NOT NULL Delivery instructions for work order parts list
16 SUPPLIER_REFERENCE Character(20) VARCHAR2(20) NOT NULL Supplier Reference
17 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
18 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description
19 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.
20 WO_PO_STATUS Character(1) VARCHAR2(1) NOT NULL Work Order Management Purchase Order Status for staging WO procurements to PO Stage
1=New
2=Ready to stage
3=In Process
4=Error
5=Complete
21 ON_HAND_STOCK Character(1) VARCHAR2(1) NOT NULL Stock that is on hand, not maintained in inventory and not floor stock in nature. Used in Work Order Management primarily for ITAM type processing.

Y/N Table Edit

Default Value: N

22 WO_REQ_STATUS Character(1) VARCHAR2(1) NOT NULL Work order management requisition status for staging wo procurements to requisition load
1=New
2=Ready to stage
3=In Process
4=Error
5=Complete