LM_ACT_INS_VW3(SQL View) |
Index Back |
---|---|
Activity SearchActivity Search View 05 MAR 2018: Created to show classes assosicated with non-primary Learning Environment. |
SELECT B.LM_LE_ID , C.LM_PERSON_ID , A.LM_ACT_CD , A.LM_ACT_ID , A.LM_ACT_STATUS , A.LM_START_DT FROM PS_LM_ACT A , PS_LM_ACT_LE B , PS_LM_PERS_NAME_VW C , PS_LM_SES_INSTR F WHERE a.LM_ACT_ID = B.LM_ACT_ID AND C.LM_LE_ID = B.LM_LE_ID AND A.LM_ACT_STATUS IN ('1', '3', '4', '5') AND F.LM_ACT_ID = A.LM_ACT_ID AND C.LM_PERSON_ID = F.LM_INSTR_ID UNION SELECT B.LM_LE_ID , C.LM_PERSON_ID , A.LM_ACT_CD , A.LM_ACT_ID , A.LM_ACT_STATUS , A.LM_START_DT FROM PS_LM_ACT A , PS_LM_ACT_LE B , PS_LM_PERS_NAME_VW C , PS_LM_INSTR E WHERE a.LM_ACT_ID = B.LM_ACT_ID AND C.LM_LE_ID = B.LM_LE_ID AND A.LM_ACT_STATUS IN ('1', '3', '4', '5') AND E.LM_PERSON_ID = C.LM_PERSON_ID AND a.LM_INSTR_ID = E.LM_PERSON_ID UNION SELECT B.LM_LE_ID , C.LM_PERSON_ID , A.LM_ACT_CD , A.LM_ACT_ID , A.LM_ACT_STATUS , A.LM_START_DT FROM PS_LM_ACT A , PS_LM_ACT_LE B , PS_LM_INSTR_LE C , PS_LM_SES_INSTR F WHERE a.LM_ACT_ID = B.LM_ACT_ID AND C.LM_LE_ID = B.LM_LE_ID AND A.LM_ACT_STATUS IN ('1', '3', '4', '5') AND F.LM_ACT_ID = A.LM_ACT_ID AND C.LM_PERSON_ID = F.LM_INSTR_ID UNION SELECT B.LM_LE_ID , C.LM_PERSON_ID , A.LM_ACT_CD , A.LM_ACT_ID , A.LM_ACT_STATUS , A.LM_START_DT FROM PS_LM_ACT A , PS_LM_ACT_LE B , PS_LM_INSTR_LE C , PS_LM_INSTR E WHERE a.LM_ACT_ID = B.LM_ACT_ID AND C.LM_LE_ID = B.LM_LE_ID AND A.LM_ACT_STATUS IN ('1', '3', '4', '5') AND E.LM_PERSON_ID = C.LM_PERSON_ID AND a.LM_INSTR_ID = E.LM_PERSON_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | LM_LE_ID | Number(10,0) | DECIMAL(10) NOT NULL | Learning Environment ID - System Generated number |
2 | LM_PERSON_ID | Number(15,0) | DECIMAL(15) NOT NULL | ELM Person ID |
3 | LM_ACT_CD | Character(30) | VARCHAR2(30) NOT NULL | Activity Code |
4 | LM_ACT_ID | Number(10,0) | DECIMAL(10) NOT NULL | Activity ID |
5 | LM_ACT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Activity Status
1=Active 2=Inactive 3=Closed 4=Pending 5=Concluded |
6 | LM_START_DT | Date(10) | DATE | Start Date |