WM_FTRK_TSK_PVW(SQL View) |
Index Back |
---|---|
WO Fail Trckg - Task Prmpt Vw |
SELECT A.BUSINESS_UNIT , A.WO_ID , A.WO_TASK_ID , A.DESCR254 , A.STATUS_CD , A.BUSINESS_UNIT_AM , A.ASSET_ID , A.PROBLEM_GROUP , A.PROBLEM_CD , A.CAUSE_CD , A.RESOLUTION_CD FROM PS_WM_WO_TSK A WHERE A.INTERNAL_STATUS NOT IN ('06','07') AND A.ASSET_ID <> ' ' AND NOT EXISTS ( SELECT 'X' FROM PS_WM_WO_FAILURE I WHERE I.BUSINESS_UNIT = A.BUSINESS_UNIT AND I.WO_ID = A.WO_ID AND I.WO_TASK_ID = A.WO_TASK_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_WM.BUSINESS_UNIT Prompt Table: SP_BU_WM_NONVW |
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 | DESCR254 | Character(254) | VARCHAR2(254) NOT NULL | Description of length 254 |
5 | STATUS_CD | Character(4) | VARCHAR2(4) NOT NULL |
User defined Status Code
Prompt Table: WM_STATUS_HDR |
6 | BUSINESS_UNIT_AM | Character(5) | VARCHAR2(5) NOT NULL |
AM Business Unit
Default Value: OPR_DEF_TBL_WM.BUSINESS_UNIT_AM Prompt Table: SP_BU_AM_NONVW |
7 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL |
Asset Identification
Prompt Table: WM_ASSET_VWA |
8 | PROBLEM_GROUP | Character(15) | VARCHAR2(15) NOT NULL |
Problem Group
Prompt Table: WM_PCR_CLSF_DVW |
9 | PROBLEM_CD | Character(15) | VARCHAR2(15) NOT NULL |
Problem code
Prompt Table: WM_PCR_PRBAC_VW |
10 | CAUSE_CD | Character(15) | VARCHAR2(15) NOT NULL |
Cause Code
Prompt Table: WM_PCR_CSEAC_VW |
11 | RESOLUTION_CD | Character(15) | VARCHAR2(15) NOT NULL |
Resolution code
Prompt Table: WM_PCR_RESAC_VW |