SSR_AC_CRDVWLNG(SQL View) |
Index Back |
---|---|
Activity Xref Delete View |
SELECT X.CRSE_ID ,X.CRSE_OFFER_NBR ,X.CRS_TOPIC_ID ,C.OPRID ,X.EFFDT , L.LANGUAGE_CD , L.DESCR FROM PS_SSR_AC_CRSEREF X ,PS_CRSE_CATALOG A ,PS_CRSE_OFFER B ,PS_CRSE_CATLG_LNG L ,PS_SCRTY_TBL_ACAD C WHERE X.CRSE_ID = A.CRSE_ID AND X.CRSE_OFFER_NBR = B.CRSE_OFFER_NBR AND A.CRSE_ID = B.CRSE_ID AND A.EFFDT = B.EFFDT AND L.CRSE_ID = A.CRSE_ID AND L.EFFDT = A.EFFDT AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_CRSE_CATALOG A1 WHERE A1.CRSE_ID = A.CRSE_ID AND A1.EFFDT <= X.EFFDT) AND C.ACCESS_CD='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=B.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 | CRSE_ID | Character(6) | VARCHAR2(6) NOT NULL |
Course ID
Prompt Table: SSR_AC_OFFVW |
2 | CRSE_OFFER_NBR | Number(2,0) | SMALLINT NOT NULL |
Course Offering Nbr
Prompt Table: CRSE_OFFER |
3 | CRS_TOPIC_ID | Number(3,0) | SMALLINT NOT NULL |
Course Topic ID
Prompt Table: CRSE_TOPICS_VW2 |
4 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
5 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
6 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |