INSTITUTION_VW3(SQL View) |
Index Back |
---|---|
Institution View 3Used as a search record by the HERA Weeks of INstruciton Set up. Selects max effdt that is active. |
SELECT A.INSTITUTION , A.EFFDT , A.EFF_STATUS , A.DESCR , A.DESCRSHORT FROM PS_INSTITUTION_TBL A WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_INSTITUTION_TBL A1 WHERE A1.INSTITUTION = A.INSTITUTION AND A1.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' |
# | 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: INSTITUTION_TBL |
2 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
3 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive Default Value: A |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL |
Short Description
Default Value: INSTITUTION_TBL.DESCR |