IN_WO_TSK_OCVW

(SQL View)
Index Back

Work Orders not Closed/Cancel

05/30/06 EGS: Created

SELECT BUSINESS_UNIT , WO_ID , WO_TASK_ID , SCHED_START_DT , SCHED_START_TIME , DESCR254 FROM PS_WM_WO_TSK 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_TSK.BUSINESS_UNIT AND B.WO_ID = PS_WM_WO_TSK.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 WO_TASK_ID Number(5,0) INTEGER NOT NULL Task Number
4 SCHED_START_DT Date(10) DATE Scheduled Start Date
5 SCHED_START_TIME Time(15) TIMESTAMP Schedule Start Time
6 DESCR254 Character(254) VARCHAR2(254) NOT NULL Description of length 254