SRV_IND_RS_SCTY(SQL View) |
Index Back |
---|---|
Service Indicator RS SecurityService Indicator Reason Security. |
SELECT b.oprid , a.institution , a.srvc_ind_cd , a.srvc_ind_reason , a.effdt , a.descr FROM ps_srvc_in_rsn_tbl a , ps_scrty_tbl_srvc b , ps_dept_tbl_vw d WHERE a.institution = b.institution AND b.srvc_ind_cd = a.srvc_ind_cd AND b.srvc_ind_reason = a.srvc_ind_reason AND a.effdt = ( SELECT MAX(c.effdt) FROM PS_SRVC_IND_CD_TBL c WHERE c.srvc_ind_cd = a.srvc_ind_cd AND c.institution = a.institution AND c.effdt <= %CurrentDateIn) AND b.hold_placement = 'Y' AND d.deptid = a.deptid AND d.EFF_STATUS = 'A' AND d.effdt = ( SELECT MAX(d1.effdt) FROM ps_dept_tbl_vw d1 WHERE d.setid = d1.setid AND d.deptid = d1.deptid AND d1.effdt <= %CurrentDateIn) AND d.SETID = ( SELECT E2.SETID FROM PS_SET_CNTRL_GROUP E2 WHERE E2.SETCNTRLVALUE = A.INSTITUTION AND E2.REC_GROUP_ID = ( SELECT E3.REC_GROUP_ID FROM PS_REC_GROUP_REC E3 WHERE E3.RECNAME = 'DEPT_TBL_VW')) |
# | 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 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Default Value: OPR_DEF_TBL_CS.INSTITUTION Prompt Table: INSTITUTION_TBL |
3 | SRVC_IND_CD | Character(3) | VARCHAR2(3) NOT NULL |
Service Indicator Cd
Prompt Table: SRVC_IND_CD_TBL |
4 | SRVC_IND_REASON | Character(5) | VARCHAR2(5) NOT NULL | Service Indicator Reason |
5 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |