WM_RPT_EPL_HDR

(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.EPL_TMPL_ID , P.INV_ITEM_ID , P.SUPPLIER_REFERENCE , P.QTY_REQUIRED , P.UNIT_OF_MEASURE FROM PS_WM_WOE_RPT_REQ R , PS_WM_WOE_RPT_CRIT C , PS_WM_EPL_PART_VW2 P , PS_WM_EPL_SEL_VW2 S , PS_WM_WO_HDR H WHERE %Join(COMMON_KEYS, WM_WOE_RPT_REQ R , WM_WOE_RPT_CRIT C) AND %Join(COMMON_KEYS, WM_EPL_SEL_VW2 S , WM_EPL_PART_VW2 P) AND %Join(COMMON_KEYS, WM_WOE_RPT_REQ R ,WM_WO_HDR H) AND %Join(COMMON_KEYS, WM_EPL_SEL_VW2 S ,WM_WO_HDR H) AND %Join(COMMON_KEYS, WM_WOE_RPT_CRIT C ,WM_WO_HDR H) AND S.ASSET_ID = H.ASSET_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 EPL_TMPL_ID Character(15) VARCHAR2(15) NOT NULL Parts List Template
8 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
9 SUPPLIER_REFERENCE Character(20) VARCHAR2(20) NOT NULL Supplier Reference
10 QTY_REQUIRED Signed Number(17,4) DECIMAL(15,4) NOT NULL Work Order quantity required
11 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage