SCD_MANEVLTR_VW

(SQL View)
Index Back

Evaluation Header

Evaluation Header

SELECT DISTINCT a.SCD_EVALUATION_ID , a.SCD_EVALUATOR_ID , a.SCD_EVALTEE_SETID , a.SCD_EVALUATEE_ID , a.SCD_EVAL_NAME , a.SCD_RESP_STATUS , a.SCD_OWNER_ID , a.SCD_CAL_SETID , a.CALENDAR_ID , a.SCD_EVAL_YEAR , a.SCD_EVAL_PERIOD , a.SCD_FROM_DATE , a.SCD_TO_DATE , a.SCD_TEMPLATE_ID , a.SCD_VERSION_NBR , a.SCD_TEMPLATE_NAME , a.SCD_TEMPLATE_TYPE , a.SCD_DUE_DATE , a.SCD_ALLOW_DECLINES , a.SCD_TARGET_PCT , a.SCD_TARGET_QTY , a.SCD_ACCEPT_FLG , B.VENDOR_NAME_SHORT , B.NAME1 , ' ' , C.DESCR , D.XLATLONGNAME , f.oprdefndesc , a.scd_sent_date , a.scd_submitted_date , a.scd_declined_date , a.scd_omitted_date , a.scd_last_remind_dt ,%DatePart(a.scd_status_dttm) , a.scd_status_dttm , e.scd_section_name , e.scd_section_id FROM PS_SCD_USREV_HD_VW A INNER JOIN PS_VENDOR B ON A.SCD_EVALTEE_SETID = B.SETID AND A.SCD_EVALUATEE_ID = B.VENDOR_ID INNER JOIN PSXLATITEM D ON A.SCD_RESP_STATUS = D.FIELDVALUE LEFT JOIN PS_SCD_ASSGNCNT_VW E ON A.SCD_EVALUATION_ID = E.SCD_EVALUATION_ID AND A.SCD_EVALUATOR_ID = E.SCD_EVALUATOR_ID INNER JOIN PSOPRDEFN F ON A.SCD_EVALUATOR_ID = F.OPRID LEFT JOIN PS_CAL_DEFN_TBL C ON A.SCD_CAL_SETID = C.SETID AND A.CALENDAR_ID = C.CALENDAR_ID WHERE D.FIELDNAME = 'SCD_RESP_STATUS' AND D.EFFDT = ( SELECT MAX(EFFDT) FROM PSXLATITEM XL WHERE D.FIELDNAME = XL.FIELDNAME AND D.FIELDVALUE = XL.FIELDVALUE) AND D.EFF_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SCD_EVALUATION_ID Character(10) VARCHAR2(10) NOT NULL Evaluation ID
2 SCD_EVALUATOR_ID Character(30) VARCHAR2(30) NOT NULL Evaluator ID

Prompt Table: %EDITTABLE2

3 SCD_EVALTEE_SETID Character(5) VARCHAR2(5) NOT NULL Evaluatee Set ID
4 SCD_EVALUATEE_ID Character(30) VARCHAR2(30) NOT NULL Evaluatee ID
5 SCD_EVAL_NAME Character(30) VARCHAR2(30) NOT NULL Evaluation Name
6 SCD_RESP_STATUS Character(2) VARCHAR2(2) NOT NULL Evaluation Build Status
AL=All
DE=Declined
IP=In Process
NE=New
OM=Omitted
PE=Pending
SU=Submitted

Default Value: NE

7 SCD_OWNER_ID Character(30) VARCHAR2(30) NOT NULL Owner ID

Prompt Table: PSOPRDEFN_SRCH

8 SCD_CAL_SETID Character(5) VARCHAR2(5) NOT NULL Calendar Set ID

Prompt Table: SP_SETID_NONVW

9 CALENDAR_ID Character(2) VARCHAR2(2) NOT NULL Calendar ID

Prompt Table: CAL_DEFN_TBL

10 SCD_EVAL_YEAR Number(4,0) SMALLINT NOT NULL Evaluation Year
11 SCD_EVAL_PERIOD Number(3,0) SMALLINT NOT NULL Evaluation Period.
12 SCD_FROM_DATE Date(10) DATE From Date
13 SCD_TO_DATE Date(10) DATE To Date
14 SCD_TEMPLATE_ID Character(10) VARCHAR2(10) NOT NULL Template ID

Prompt Table: SCD_TEMPLATE_HD

15 SCD_VERSION_NBR Number(5,0) INTEGER NOT NULL Version Number
16 SCD_TEMPLATE_NAME Character(30) VARCHAR2(30) NOT NULL Template Name
17 SCD_TEMPLATE_TYPE Character(15) VARCHAR2(15) NOT NULL Template Type

Prompt Table: SCD_TMPL_TYPES

18 SCD_DUE_DATE Date(10) DATE Due Date
19 SCD_ALLOW_DECLINES Character(1) VARCHAR2(1) NOT NULL Allow Declines Flag

Y/N Table Edit

Default Value: Y

20 SCD_TARGET_PCT Number(10,6) DECIMAL(9,6) NOT NULL Target Percent
21 SCD_TARGET_QTY Number(3,0) SMALLINT NOT NULL Target Quantity
22 SCD_ACCEPT_FLG Character(1) VARCHAR2(1) NOT NULL Accept Flag

Y/N Table Edit

Default Value: Y

23 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
24 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
25 SCD_VIEW_TYPE Character(1) VARCHAR2(1) NOT NULL View Evaluation Type
R=Read Only
26 CALENDAR_ID_DESCR Character(30) VARCHAR2(30) NOT NULL Description
27 STATUS_DESCR Character(30) VARCHAR2(30) NOT NULL Status Description
28 OPRDEFNDESC Character(30) VARCHAR2(30) NOT NULL Description field for a user
29 SCD_SENT_DATE Date(10) DATE Sent Date
30 SCD_SUBMITTED_DATE Date(10) DATE Submitted Date
31 SCD_DECLINED_DATE Date(10) DATE Declined Date
32 SCD_OMITTED_DATE Date(10) DATE Omitted Date
33 SCD_LAST_REMIND_DT Date(10) DATE Last Reminded Date
34 SCD_STATUS_DATE Date(10) DATE Status Date
35 SCD_STATUS_DTTM DateTime(26) TIMESTAMP Status Date Time
36 SCD_SECTION_NAME Character(30) VARCHAR2(30) NOT NULL Section Name
37 SCD_SECTION_ID Character(10) VARCHAR2(10) NOT NULL Section ID