LM_ACT_CI_VW6(SQL View) |
Index Back |
---|---|
Activity CI ViewActivity and Catalog Item View for Enrollment |
SELECT ACT.LM_ACT_ID , ACT.LM_ACT_CD , ACT.LM_ACT_STATUS , ACT.LM_CI_ID , CI.LM_CS_LONG_NM , CI.LM_CS_SHRT_NM , D.LM_PERSON_ID , ACT.LM_NFRC_PRQ FROM PS_LM_ACT ACT , PS_LM_CI_TBL CI , PS_LM_DMTHD_TBL DM ,PS_LM_ACT_SEC C , PS_LM_PERS_LGRP_VW D WHERE ACT.LM_CI_ID = CI.LM_CI_ID AND ACT.LM_RESTRICT_TO_PRG ='N' AND CI.EFFDT <= %CurrentDateIn AND CI.LM_END_EFFDT >= %CurrentDateIn AND CI.LM_CI_STATUS = '10' AND CI.LM_CI_ID = DM.LM_CI_ID AND DM.EFFDT <= %CurrentDateIn AND DM.LM_END_EFFDT >= %CurrentDateIn AND DM.LM_DM_STATUS = '10' AND DM.LM_DMTHD_TYPE_ID = ACT.LM_DMTHD_TYPE_ID AND ACT.LM_ACT_ID = C.LM_ACT_ID AND ACT.LM_ACT_STATUS = '1' AND C.LM_LRNR_GROUP_ID=D.LM_LRNR_GROUP_ID AND (ACT.LM_END_DT>=%CurrentDateIn OR ACT.LM_END_DT IS NULL) AND (ACT.LM_LST_ENRL_DT IS NULL OR (ACT.LM_LST_ENRL_DT IS NOT NULL AND %CurrentDateIn <= ACT.LM_LST_ENRL_DT )) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | LM_ACT_ID | Number(10,0) | DECIMAL(10) NOT NULL | Activity ID |
2 | LM_ACT_CD | Character(30) | VARCHAR2(30) NOT NULL | Activity Code |
3 | LM_ACT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Activity Status
1=Active 2=Inactive 3=Closed 4=Pending 5=Concluded |
4 | LM_CI_ID | Number(10,0) | DECIMAL(10) NOT NULL | Catalog Item ID - System Generated ID Number associated with each Catalog Item |
5 | LM_CS_LONG_NM | Character(200) | VARCHAR2(200) NOT NULL | Long Name - Describes the long name of an object |
6 | LM_CS_SHRT_NM | Character(10) | VARCHAR2(10) NOT NULL | Short Name - Describes the short name of an object |
7 | LM_PERSON_ID | Number(15,0) | DECIMAL(15) NOT NULL | ELM Person ID |
8 | LM_NFRC_PRQ | Character(1) | VARCHAR2(1) NOT NULL | Enforce Prerequisites |