WM_WOE_ST_VW

(SQL View)
Index Back

Technician Workbench Status


SELECT W.OPRID , T.BUSINESS_UNIT , T.WO_ID , T.WO_TASK_ID , W.WORKBENCH_CD , T.DESCR254 , T.STATUS_CD , T.STATUS_DTTM , T.STATUS_CD , S.INTERNAL_STATUS , S.DESCR , T.ACTL_START_DT , T.ACTL_START_TIME , T.ACTL_END_DT , T.ACTL_END_TIME , T.PROCESS_MAN_CLOSE FROM PS_WM_WOE_WB W , PS_WM_WO_TSK T , PS_WM_STATUS_TSK S WHERE %Join(COMMON_KEYS, WM_WOE_WB W, WM_WO_TSK T) AND W.CHECKED = 'Y' AND S.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE RECNAME = 'WM_STATUS_TSK' AND SETCNTRLVALUE = T.BUSINESS_UNIT) AND S.STATUS_CD = T.STATUS_CD

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 WO_ID Character(10) VARCHAR2(10) NOT NULL Work Order Identification
4 WO_TASK_ID Number(5,0) INTEGER NOT NULL Task Number
5 WORKBENCH_CD Character(1) VARCHAR2(1) NOT NULL Workbench Code
C=Crew Scheduling Workbench
I=My Inspections
S=Scheduler Task Workbench
T=Technician Workbench
6 DESCR254 Character(254) VARCHAR2(254) NOT NULL Description of length 254
7 STATUS_CD Character(4) VARCHAR2(4) NOT NULL User defined Status Code

Prompt Table: WM_STATUS_TSK

8 STATUS_DTTM DateTime(26) TIMESTAMP 05/13/02 EGS (CN#PL900-1): Added
9 ORIG_STATUS_CD Character(4) VARCHAR2(4) NOT NULL Task Status

Prompt Table: WM_STATUS_TSK

10 INTERNAL_STATUS Character(2) VARCHAR2(2) NOT NULL Internal Status
01=Open
02=Awaiting Schedule
03=Scheduled
04=Work In Progress
05=Complete
06=Closed
07=Canceled
08=On Hold
09=Work Order Created
11 DESCR Character(30) VARCHAR2(30) NOT NULL Description
12 ACTL_START_DT Date(10) DATE Actual Start Date
13 ACTL_START_TIME Time(15) TIMESTAMP Actual Start Time
14 ACTL_END_DT Date(10) DATE Actual End Date
15 ACTL_END_TIME Time(15) TIMESTAMP Actual End Time
16 PROCESS_MAN_CLOSE Character(1) VARCHAR2(1) NOT NULL Process Manual Close
N=No
P=Processed
Y=Yes