INST_SGI_SCT_LN(SQL View) |
Index Back |
---|---|
Student Group Inq Security VwPrompt view which enforces Student Group operator security for Groups by Institution for Oprids that have inquiry/read only access. |
SELECT A.INSTITUTION ,A.STDNT_GROUP ,B.OPRID ,C.LANGUAGE_CD ,A.EFFDT ,C.DESCR FROM PS_STDNT_GROUP_TBL A ,PS_SCRTY_TBL_STGP B ,PS_STDNT_GROUP_LNG C WHERE (B.INQUIRY_USE_IND = 'Y' OR B.ENTRY_USE_IND = 'Y') AND A.INSTITUTION = B.INSTITUTION AND A.STDNT_GROUP = B.STDNT_GROUP AND A.INSTITUTION = C.INSTITUTION AND A.STDNT_GROUP = C.STDNT_GROUP AND A.EFFDT = C.EFFDT AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_STDNT_GROUP_TBL A1 WHERE A1.INSTITUTION = A.INSTITUTION AND A1.STDNT_GROUP = A.STDNT_GROUP AND A1.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Default Value: OPR_DEF_TBL_CS.INSTITUTION Prompt Table: INSTITUTN_SCRTY |
2 | STDNT_GROUP | Character(4) | VARCHAR2(4) NOT NULL |
Student Group
Prompt Table: STDNT_GROUP_TBL |
3 | OPRID | Character(30) | VARCHAR2(30) NOT NULL |
A user's ID (see PSOPRDEFN).
Prompt Table: OPRDEFN2 |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |