WM_TSK_INSPC_VW

(SQL View)
Index Back

WO Task Inspection View


SELECT A.BUSINESS_UNIT , A.WO_ID , A.WO_TASK_ID , A.SEQ_NBR_5 , A.WO_INSPL_TMPLT_ID , A.INSPECTION_ID FROM PS_WM_TSK_INSPECT A WHERE A.SEQ_NBR_5 = ( SELECT MAX(B.SEQ_NBR_5) FROM PS_WM_TSK_INSPECT B WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.WO_ID = A.WO_ID AND B.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
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 SEQ_NBR_5 Number(5,0) INTEGER NOT NULL Sequence number five digits long
5 WO_INSPL_TMPLT_ID Character(25) VARCHAR2(25) NOT NULL Inspection Plan

Prompt Table: WM_WO_IPSRCH_DV
Set Control Field: BUSINESS_UNIT

6 INSPECTION_ID Character(10) VARCHAR2(10) NOT NULL Inspection ID