HCSC_CAL_EVT_V1

(SQL View)
Index Back

Calendar Events View

Calendar Events View

SELECT A.OPRID , A.HCSC_CAL_EVENT_ID , B.HCSC_CAL_EVT_NAME , B.HCSC_CAL_ORD_NUM , B.HCSC_CAL_STATUS , B.IMAGE_NAME , B.APPCLASS_PATH , B.APPCLASSID , CASE WHEN B.HCSC_CAL_OVRD_COLR = 'Y' THEN A.COLOR_RGB_VALUE ELSE B.COLOR_RGB_VALUE END , A.HCSC_CAL_BGRD_THEM , A.HCSC_CAL_BACKGRND , A.HCSC_CAL_COLOR , B.HCSC_ALLOW_HIDING , A.SHOW_IN_CAL , B.CAL_EMPL_DISPLAY , C.HCSC_CAL_TYPE FROM PS_HCSC_CAL_USPREF A , PS_HCSC_CAL_EVTDEF B , PS_HCSC_CAL_ROLES C WHERE A.HCSC_CAL_EVENT_ID = B.HCSC_CAL_EVENT_ID AND A.HCSC_CAL_EVENT_ID = C.HCSC_CAL_EVENT_ID AND B.HCSC_CAL_STATUS = 'A' AND EXISTS ( SELECT 'X' FROM PSROLEUSER X WHERE X.ROLEUSER = A.OPRID AND X.ROLENAME = C.ROLENAME) UNION SELECT OPR.OPRID , B.HCSC_CAL_EVENT_ID , B.HCSC_CAL_EVT_NAME , B.HCSC_CAL_ORD_NUM , B.HCSC_CAL_STATUS , B.IMAGE_NAME , B.APPCLASS_PATH , B.APPCLASSID , B.COLOR_RGB_VALUE , B.HCSC_CAL_BGRD_THEM , B.HCSC_CAL_BACKGRND , B.HCSC_CAL_COLOR , B.HCSC_ALLOW_HIDING , 'Y' , B.CAL_EMPL_DISPLAY ,C.HCSC_CAL_TYPE FROM PS_HCSC_CAL_EVTDEF B , PSOPRDEFN OPR , PS_HCSC_CAL_ROLES C WHERE B.HCSC_CAL_STATUS = 'A' AND B.HCSC_CAL_EVENT_ID = C.HCSC_CAL_EVENT_ID AND NOT EXISTS ( SELECT 'X' FROM PS_HCSC_CAL_USPREF X WHERE X.HCSC_CAL_EVENT_ID = B.HCSC_CAL_EVENT_ID AND OPR.OPRID = X.OPRID) AND EXISTS ( SELECT 'X' FROM PSROLEUSER X WHERE X.ROLEUSER = OPR.OPRID AND X.ROLENAME = C.ROLENAME)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 HCSC_CAL_EVENT_ID Character(12) VARCHAR2(12) NOT NULL Transaction or Event Type ID
3 HCSC_CAL_EVT_NAME Character(30) VARCHAR2(30) NOT NULL Transaction or Event Name
4 HCSC_CAL_ORD_NUM Number(3,0) SMALLINT NOT NULL Sequence or Order number
5 HCSC_CAL_STATUS Character(1) VARCHAR2(1) NOT NULL Transaction or Event Status
A=Active
I=Inactive
6 IMAGE_NAME Character(30) VARCHAR2(30) NOT NULL The name of images used in Personalizations explanations.
7 APPCLASS_PATH Character(254) VARCHAR2(254) NOT NULL Application Class Full Path
8 APPCLASSID Character(30) VARCHAR2(30) NOT NULL Application Class ID
9 COLOR_RGB_VALUE Character(30) VARCHAR2(30) NOT NULL Color RGB Value
10 HCSC_CAL_BGRD_THEM Character(1) VARCHAR2(1) NOT NULL background Theme
C=Color Code
S=Solid Color
11 HCSC_CAL_BACKGRND Character(30) VARCHAR2(30) NOT NULL Background Color
12 HCSC_CAL_COLOR Character(3) VARCHAR2(3) NOT NULL Display Colour
BLU=Blue
BRN=Brown
GRN=Green
GRY=Gray
LBL=Light blue
LGR=Light green
LGY=Light grey
LYL=Light yellow
ORN=Orange
PNK=Deep pink
RED=Red
RVL=Medium violetred
TAN=Tan
VLT=Violet
YEL=Yellow
13 HCSC_ALLOW_HIDING Character(1) VARCHAR2(1) NOT NULL Allow Hiding for Manager
14 SHOW_IN_CAL Character(1) VARCHAR2(1) NOT NULL Transaction or Event Status
15 CAL_EMPL_DISPLAY Character(1) VARCHAR2(1) NOT NULL Employee Peer View Option in Calendar
H=Hide Details
N=Don't Display
Y=Display Details
16 HCSC_CAL_TYPE Character(1) VARCHAR2(1) NOT NULL Calendar Type
A=Administrator
B=Business Partner
E=Peer
M=Manager
X=Matrix