ACADORGTREEVWLN(SQL View) |
Index Back |
---|---|
Rel Acad Org Tbl & PSTREENODEThis view lists maximum effdt of Academic Organizations within a given institution "WHERE ACAD_TBL.ACAD_ORG =PSTREENODE.TREE_NODE" . Outside of the ACAD_ORG_TBL panel user can only choose ORGs that have nodes on the trees. |
SELECT DISTINCT A.INSTITUTION , A.ACAD_ORG , A.EFFDT , D.LANGUAGE_CD , D.DESCR FROM PS_ACAD_ORG_TBL A ,PSTREENODE B , PS_ACAD_ORG_LANG D WHERE A.ACAD_ORG=B.TREE_NODE AND A.ACAD_ORG = D.ACAD_ORG AND A.ACAD_ORG = D.ACAD_ORG AND D.EFFDT =( SELECT MAX(EFFDT) FROM PS_ACAD_ORG_LANG C WHERE D.ACAD_ORG = C.ACAD_ORG AND D.EFFDT = C.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Prompt Table: INSTITUTION_TBL |
2 | ACAD_ORG | Character(10) | VARCHAR2(10) NOT NULL |
Academic Organization
Prompt Table: ACAD_ORG_TBL |
3 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |