QS_ALM_WF_VW

(SQL View)
Index Back

View for Alarm Review

This view uses QS_ALM_RVW_VW because it needs the exact structure the alarm review panel is based on. If that vw changes then this view also should be changed: Prasad Raju, 09/02/99 ======================================================== SELECT A.BUSINESS_UNIT , A.SESSN_ID , A.STREAM_ID , A.SESSN_SUBMIT_DTTM , A.SESSN_SGRP_SEQ , A.SESSN_SGRP_SIZE , A.QS_NVALUES , A.QS_VALUEREADING_1 , A.QS_VALUEREADING_2 , A.QS_VALUEREADING_3 , A.QS_VALUEREADING_4 , A.QS_VALUEREADING_5 , A.QS_VALUEREADING_6 , A.QS_VALUEREADING_7 , A.QS_VALUEREADING_8 , A.QS_VALUEREADING_9 , A.QS_VALUEREADING_10 , A.QS_VALUEREADING_11 , A.QS_VALUEREADING_12 , A.QS_VALUEREADING_13 , A.QS_VALUEREADING_14 , A.QS_VALUEREADING_15 , A.QS_VALUEREADING_16 , A.QS_VALUEREADING_17 , A.QS_VALUEREADING_18 , A.QS_VALUEREADING_19 , A.QS_VALUEREADING_20 , A.SPEC_VIO_SW , A.QS_ALARM_CNT , A.QS_ACTION_CNT , A.QS_CAUSE_CNT , A.QS_COMM_CNT , A.OPERATOR , C.MFDS_ID , D.QS_APP_CONTEXT , D.STREAM_ROOT_ID , D.INV_ITEM_ID , D.WORK_CENTER_CODE , D.MACHINE_CODE , D.STATION_CODE , D.CUST_ID , D.VENDOR_ID , D.TASK_CODE , D.PRDN_AREA_CODE , D.CREW_CODE , D.TOOL_CODE , D.COMPL_OP_SEQ , D.PRODUCTION_TYPE , D.QS_MFDS_PLAN_ID , D.DE_SETUP_NAME , D.QS_ATTRIB_SET_ID , E.MFDS_NAME , F.QS_MFDS_PLAN_NAME FROM PS_QS_SUBGROUP A , PS_QS_STREAM8 C , PS_QS_STREAM_ROOT D , PS_QS_MFDS_MST E , PS_QS_MFDS_PLAN F WHERE (A.QS_ALARM_CNT <> 0) AND (C.STREAM_ID = A.STREAM_ID AND D.STREAM_ROOT_ID = C.STREAM_ROOT_ID) AND (E.MFDS_ID = C.MFDS_ID) AND (F.QS_MFDS_PLAN_ID = D.QS_MFDS_PLAN_ID)

SELECT A.BUSINESS_UNIT , A.SESSN_ID , A.STREAM_ID , D.QS_APP_CONTEXT , D.STREAM_ROOT_ID , A.SESSN_SUBMIT_DTTM , A.SESSN_SGRP_SEQ , A.SESSN_SGRP_SIZE , A.QS_NVALUES , A.QS_VALUEREADING_1 , A.QS_VALUEREADING_2 , A.QS_VALUEREADING_3 , A.QS_VALUEREADING_4 , A.QS_VALUEREADING_5 , A.QS_VALUEREADING_6 , A.QS_VALUEREADING_7 , A.QS_VALUEREADING_8 , A.QS_VALUEREADING_9 , A.QS_VALUEREADING_10 , A.QS_VALUEREADING_11 , A.QS_VALUEREADING_12 , A.QS_VALUEREADING_13 , A.QS_VALUEREADING_14 , A.QS_VALUEREADING_15 , A.QS_VALUEREADING_16 , A.QS_VALUEREADING_17 , A.QS_VALUEREADING_18 , A.QS_VALUEREADING_19 , A.QS_VALUEREADING_20 , A.SPEC_VIO_SW , A.QS_ALARM_CNT , A.QS_ACTION_CNT , A.QS_CAUSE_CNT , A.QS_COMM_CNT , A.OPERATOR , C.MFDS_ID , %subrec(QS_HIER_SBR, D) , D.QS_MFDS_PLAN_ID , D.DE_SETUP_NAME , D.QS_ATTRIB_SET_ID , E.MFDS_NAME , F.QS_MFDS_PLAN_NAME FROM PS_QS_SUBGROUP A , PS_QS_STREAM8 C , PS_QS_STREAM_ROOT D , PS_QS_MFDS_MST E , PS_QS_MFDS_PLAN F WHERE (A.QS_ALARM_CNT <> 0 AND A.DISPATCH_FLAG = 'N') AND (C.STREAM_ID = A.STREAM_ID AND D.STREAM_ROOT_ID = C.STREAM_ROOT_ID) AND (E.MFDS_ID = C.MFDS_ID) AND (F.QS_MFDS_PLAN_ID = D.QS_MFDS_PLAN_ID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BUQS_NONVW

2 SESSN_ID Character(30) VARCHAR2(30) NOT NULL Session ID
3 STREAM_ID Number(8,0) INTEGER NOT NULL Stream ID- hierarchial structure plus characteristic. (or Stream Root ID plus characteristic).
4 QS_APP_CONTEXT Character(18) VARCHAR2(18) NOT NULL QC application context identifier
5 STREAM_ROOT_ID Number(8,0) INTEGER NOT NULL Stream Root ID - hierarchal structure
6 SESSN_SUBMIT_DTTM DateTime(26) TIMESTAMP Date Submitted
7 SESSN_SGRP_SEQ Number(6,0) INTEGER NOT NULL Subgroup ID
8 SESSN_SGRP_SIZE Number(13,5) DECIMAL(12,5) NOT NULL Subgroup Size
9 QS_NVALUES Number(3,0) SMALLINT NOT NULL number of values
10 QS_VALUEREADING_1 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
11 QS_VALUEREADING_2 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
12 QS_VALUEREADING_3 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
13 QS_VALUEREADING_4 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
14 QS_VALUEREADING_5 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
15 QS_VALUEREADING_6 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
16 QS_VALUEREADING_7 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
17 QS_VALUEREADING_8 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
18 QS_VALUEREADING_9 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
19 QS_VALUEREADING_10 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
20 QS_VALUEREADING_11 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
21 QS_VALUEREADING_12 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
22 QS_VALUEREADING_13 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
23 QS_VALUEREADING_14 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
24 QS_VALUEREADING_15 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
25 QS_VALUEREADING_16 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
26 QS_VALUEREADING_17 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
27 QS_VALUEREADING_18 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
28 QS_VALUEREADING_19 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
29 QS_VALUEREADING_20 Signed Number(15,6) DECIMAL(13,6) NOT NULL Value
30 SPEC_VIO_SW Character(1) VARCHAR2(1) NOT NULL Spec Violation
31 QS_ALARM_CNT Signed Number(4,0) DECIMAL(3) NOT NULL # control test violations occuring for a single subgroup
32 QS_ACTION_CNT Number(3,0) SMALLINT NOT NULL Corrective Actions
33 QS_CAUSE_CNT Number(3,0) SMALLINT NOT NULL Pobable Causes
34 QS_COMM_CNT Number(2,0) SMALLINT NOT NULL Comments
35 OPERATOR Character(30) VARCHAR2(30) NOT NULL User ID
36 MFDS_ID Number(6,0) INTEGER NOT NULL ID of the Characteristic.
37 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
38 WORK_CENTER_CODE Character(10) VARCHAR2(10) NOT NULL Work Center
39 MACHINE_CODE Character(10) VARCHAR2(10) NOT NULL Machine Code
40 STATION_CODE Character(10) VARCHAR2(10) NOT NULL Station Code
41 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
42 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
43 TASK_CODE Character(6) VARCHAR2(6) NOT NULL Task Code
44 PRDN_AREA_CODE Character(10) VARCHAR2(10) NOT NULL Production Area
45 CREW_CODE Character(10) VARCHAR2(10) NOT NULL Crew Name
46 TOOL_CODE Character(10) VARCHAR2(10) NOT NULL Tool ID
47 COMPL_OP_SEQ Number(4,0) SMALLINT NOT NULL Completion Operation Sequence
48 PRODUCTION_TYPE Character(2) VARCHAR2(2) NOT NULL JNW 11/1/98 (CN#SF800-13) activated teardown xlat
PR=Production
RW=Rework
SV=Service
TD=Teardown
49 QC_STEP_ID Character(18) VARCHAR2(18) NOT NULL QC Step Id
50 QS_MFDS_PLAN_ID Number(8,0) INTEGER NOT NULL ADDED label field name for display purposes
51 DE_SETUP_NAME Character(48) VARCHAR2(48) NOT NULL Inspection setup name
52 QS_ATTRIB_SET_ID Number(5,0) INTEGER NOT NULL Attribute set ident
53 MFDS_NAME Character(30) VARCHAR2(30) NOT NULL Characteristic
54 QS_MFDS_PLAN_NAME Character(38) VARCHAR2(38) NOT NULL Measurement plan identifier Note: replaces qc_step_id for release 8.