IN_WO_HDR_OCVW

(SQL View)
Index Back

Work Orders not Closed/Cancel

05/30/06 EGS: Created

SELECT BUSINESS_UNIT , WO_ID , DESCR254 FROM PS_WM_WO_HDR WHERE INTERNAL_STATUS NOT IN ('05', '06', '07') OR EXISTS ( SELECT 'X' FROM PS_WM_WO_SCHED_MAT B WHERE B.BUSINESS_UNIT = PS_WM_WO_HDR.BUSINESS_UNIT AND B.WO_ID = PS_WM_WO_HDR.WO_ID AND B.PEG_STATUS IN ('10', '20'))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 WO_ID Character(10) VARCHAR2(10) NOT NULL Work Order Identification
3 DESCR254 Character(254) VARCHAR2(254) NOT NULL Description of length 254