LM_SURVEY_IN_VW

(SQL View)
Index Back

Activity look up view

View for selecting the Activity which have a Survey LC of type Internal.

SELECT DISTINCT B.LM_LE_ID ,C.LM_PERSON_ID ,A.LM_ACT_ID , A.LM_ACT_CD , J.LM_CS_LONG_NM FROM PS_LM_ACT A , PS_LM_ACT_LE B , PS_LM_GROUP_PERSON C , PS_LM_ACT_SEC D , PS_LM_INSTR E , PS_LM_SES_INSTR F ,PS_LM_ENRLMT G , PS_LM_LC H , PS_LM_SURVEY_DEFN I , PS_LM_CI_TBL J , PS_LM_LC_TYPE_TBL X1 WHERE G.LM_ACT_ID = H.LM_ACT_ID AND G.LM_ACT_ID = A.LM_ACT_ID AND G.LM_CI_ID = J.LM_CI_ID AND H.LM_SURVEY_ID = I.LM_SURVEY_ID AND H.LM_INTERNAL = 'Y' AND A.LM_ACT_ID = B.LM_ACT_ID AND D.LM_ACT_ID = A.LM_ACT_ID AND D.LM_ACT_ID = B.LM_ACT_ID AND C.LM_LRNR_GROUP_ID = D.LM_LRNR_GROUP_ID AND A.LM_ACT_STATUS IN ('1', '2', '3', '5') AND F.LM_ACT_ID = A.LM_ACT_ID AND C.LM_PERSON_ID = F.LM_INSTR_ID AND X1.LM_BAS_LC_TYPE = '60' AND X1.LM_LC_TYPE_ID = H.LM_LC_TYPE_ID UNION SELECT DISTINCT B.LM_LE_ID ,C.LM_PERSON_ID ,A.LM_ACT_ID , A.LM_ACT_CD , J.LM_CS_LONG_NM FROM PS_LM_ACT A , PS_LM_ACT_LE B , PS_LM_GROUP_PERSON C , PS_LM_ACT_SEC D , PS_LM_INSTR E , PS_LM_SES_INSTR F , PS_LM_ENRLMT G , PS_LM_LC H , PS_LM_SURVEY_DEFN I , PS_LM_CI_TBL J , PS_LM_LC_TYPE_TBL X1 WHERE G.LM_ACT_ID = H.LM_ACT_ID AND G.LM_ACT_ID = A.LM_ACT_ID AND G.LM_CI_ID = J.LM_CI_ID AND H.LM_SURVEY_ID = I.LM_SURVEY_ID AND H.LM_INTERNAL = 'Y' AND A.LM_ACT_ID = B.LM_ACT_ID AND D.LM_ACT_ID = A.LM_ACT_ID AND D.LM_ACT_ID = B.LM_ACT_ID AND C.LM_LRNR_GROUP_ID = D.LM_LRNR_GROUP_ID AND A.LM_ACT_STATUS IN ('1', '2', '3', '5') AND E.LM_PERSON_ID = C.LM_PERSON_ID AND A.LM_INSTR_ID = E.LM_PERSON_ID AND X1.LM_BAS_LC_TYPE = '60' AND X1.LM_LC_TYPE_ID = H.LM_LC_TYPE_ID

  • Related Language Record: LM_SURVEY_INLVW
  • # 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_ID Number(10,0) DECIMAL(10) NOT NULL Activity ID
    4 LM_ACT_CD Character(30) VARCHAR2(30) NOT NULL Activity Code
    5 LM_CS_LONG_NM Character(200) VARCHAR2(200) NOT NULL Long Name - Describes the long name of an object