WM_INSP_TSK_PVW

(SQL View)
Index Back

WO Inspection - 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 , B.WO_INSPL_TMPLT_ID FROM PS_WM_WO_TSK A , PS_WM_TSK_INSPECT B WHERE A.INTERNAL_STATUS NOT IN ('06','07') AND A.ASSET_ID <> ' ' AND B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.WO_ID = A.WO_ID AND B.WO_TASK_ID = A.WO_TASK_ID AND B.WO_INSPL_TMPLT_ID <> ' ' AND B.INSPECTION_ID IN ('NEXT',' ')

# 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 WO_INSPL_TMPLT_ID Character(25) VARCHAR2(25) NOT NULL Inspection Plan

Prompt Table: WM_WO_IPSRCH_VW
Set Control Field: BUSINESS_UNIT