WM_NXTSTT_WRCLS(SQL View) |
Index Back |
---|---|
Allowed Status Descriptions |
SELECT D.BUSINESS_UNIT , B.SETID , B.STATUS_CD , B.NEXT_STATUS_CD , B.DFLT_STATUS_SW , A.INTERNAL_STATUS FROM PS_WM_STATUS A , PS_WM_NEXT_STATUS B , PS_BUS_UNIT_TBL_WR D WHERE A.SETID = B.SETID AND A.STATUS_CD = B.NEXT_STATUS_CD AND A.WO_STATUS_TYPE = B.WO_STATUS_TYPE AND A.WO_STATUS_TYPE = '3' AND A.INTERNAL_STATUS = '06' AND A.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC E WHERE E.RECNAME = 'WM_STATUS' AND D.BUSINESS_UNIT = E.SETCNTRLVALUE) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
3 | STATUS_CD | Character(4) | VARCHAR2(4) NOT NULL | User defined Status Code |
4 | NEXT_STATUS_CD | Character(4) | VARCHAR2(4) NOT NULL | Allowed Status Transition |
5 | DFLT_STATUS_SW | Character(1) | VARCHAR2(1) NOT NULL | Default Status Switch |
6 | 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 |