SAD_AOHS_NLD_VW(SQL View) |
Index Back |
---|---|
Security view on SAD_AOHS_TBLSecurity view on non default (DEFAULT_LBL <> 'Y') AOHS appendixes. |
SELECT A.INSTITUTION , A.ACAD_ORG , A.SAD_APPENDIX_NLD , C.OPRID , A.EFFDT , A.EFF_STATUS , A.DEFAULT_LBL , A.DESCR , A.DESCRLONG FROM PS_SAD_AOHS_NLD A , PS_SCRTY_TBL_ACAD C WHERE C.ACCESS_CD='Y' AND A.DEFAULT_LBL <> 'Y' AND EXISTS ( SELECT 'X' FROM PSTREENODE E WHERE E.SETID=' ' AND E.TREE_NAME='ACAD_ORGANIZATION' AND E.EFFDT=C.TREE_EFFDT AND E.TREE_NODE=A.ACAD_ORG AND E.TREE_NODE_NUM BETWEEN C.TREE_NODE_NUM AND C.TREE_NODE_NUM_END AND NOT EXISTS ( SELECT 'X' FROM PS_SCRTY_TBL_ACAD G WHERE C.OPRID=G.OPRID AND C.TREE_NODE_NUM<>G.TREE_NODE_NUM AND E.TREE_NODE_NUM BETWEEN G.TREE_NODE_NUM AND G.TREE_NODE_NUM_END AND G.TREE_NODE_NUM BETWEEN C.TREE_NODE_NUM AND C.TREE_NODE_NUM_END)) |
# | 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 | ACAD_ORG | Character(10) | VARCHAR2(10) NOT NULL | Academic Organization |
3 | SAD_APPENDIX_NLD | Character(12) | VARCHAR2(12) NOT NULL | Appendix reference id (name of appendix) |
4 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
5 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
6 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive Default Value: A |
7 | DEFAULT_LBL | Character(1) | VARCHAR2(1) NOT NULL |
Default
Y/N Table Edit Default Value: N |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
9 | DESCRLONG | Long Character | CLOB | Long Description |