LM_SCHD_LC_VW

(SQL View)
Index Back

Scheduled View

Scheduled View

SELECT DISTINCT A.LM_CI_ID , A.LM_ACT_ID , D.LM_PERSON_ID , B.LM_LC_ID , A.LM_ACT_CD , A.LM_LST_ENRL_DT , A.LM_START_DT , A.LM_LST_ENRL_START , A.LM_LST_ENRL_DAYS , A.LM_LST_ENRL_TYPE , B.LM_SES_DT , B.LM_START_TM , B.LM_END_TM , B.TIMEZONE , B.LM_BAS_LC_TYPE , B.LM_SES_ID , A.LM_DM_LONG_NM FROM PS_LM_ACT_CI_VW A , PS_LM_LC_SES_FL_VW B , PS_LM_ACT_SEC C , PS_LM_PERS_LGRP_VW D WHERE A.LM_ACT_ID=B.LM_ACT_ID AND A.LM_ACT_STATUS='1' AND A.LM_ACT_ID = C.LM_ACT_ID AND C.LM_LRNR_GROUP_ID=D.LM_LRNR_GROUP_ID AND A.LM_RESTRICT_TO_PRG ='N' AND (A.LM_END_DT>=%CurrentDateIn OR A.LM_END_DT IS NULL) AND ( (A.LM_LST_ENRL_START = 'Y' AND ((A.LM_START_DT IS NOT NULL AND %CurrentDateIn <= A.LM_START_DT) OR (A.LM_START_DT IS NULL AND ((A.LM_END_DT IS NOT NULL AND %CurrentDateIn <= A.LM_END_DT) OR A.LM_END_DT IS NULL)))) OR (A.LM_LST_ENRL_START <> 'Y' AND ((A.LM_LST_ENRL_DT IS NOT NULL AND %CurrentDateIn <= A.LM_LST_ENRL_DT) OR (A.LM_LST_ENRL_DT IS NULL AND ((A.LM_LST_ENRL_DAYS > 0 AND (A.LM_LST_ENRL_TYPE = '1' AND ((A.LM_START_DT IS NOT NULL AND %CurrentDateIn <= %DateAdd(A.LM_START_DT,A.LM_LST_ENRL_DAYS * -1)) OR (A.LM_START_DT IS NULL AND ((A.LM_END_DT IS NOT NULL AND %CurrentDateIn <= A.LM_END_DT) OR A.LM_END_DT IS NULL))) ) OR (A.LM_LST_ENRL_TYPE <> '1' AND ((A.LM_START_DT IS NOT NULL AND %CurrentDateIn <= %DateAdd(A.LM_START_DT,A.LM_LST_ENRL_DAYS)) OR (A.LM_START_DT IS NULL AND ((A.LM_END_DT IS NOT NULL AND %CurrentDateIn <= A.LM_END_DT) OR A.LM_END_DT IS NULL))) ) ) OR (A.LM_LST_ENRL_DAYS = 0 AND (((A.LM_END_DT IS NOT NULL AND %CurrentDateIn <= A.LM_END_DT) OR A.LM_END_DT IS NULL))) ) ) ) ))

  • Related Language Record: LM_SCHD_LC_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 LM_CI_ID Number(10,0) DECIMAL(10) NOT NULL Catalog Item ID - System Generated ID Number associated with each Catalog Item
    2 LM_ACT_ID Number(10,0) DECIMAL(10) NOT NULL Activity ID
    3 LM_PERSON_ID Number(15,0) DECIMAL(15) NOT NULL ELM Person ID
    4 LM_LC_ID Number(10,0) DECIMAL(10) NOT NULL Learning Component ID - Blended Learning
    5 LM_ACT_CD Character(30) VARCHAR2(30) NOT NULL Activity Code
    6 LM_LST_ENRL_DT Date(10) DATE Last Enroll Date
    7 LM_START_DT Date(10) DATE Start Date
    8 LM_LST_ENRL_START Character(1) VARCHAR2(1) NOT NULL Last Enrollment Date = Activity Start Date
    9 LM_LST_ENRL_DAYS Number(3,0) SMALLINT NOT NULL Last Enroll Days
    10 LM_LST_ENRL_TYPE Character(1) VARCHAR2(1) NOT NULL Last Enroll Type: Before or After the start date
    1=Before the Start Date
    2=After the Start Date
    11 LM_SES_DT Date(10) DATE Session Date
    12 LM_START_TM Time(15) TIMESTAMP Start Time
    13 LM_END_TM Time(15) TIMESTAMP End Time
    14 TIMEZONE Character(9) VARCHAR2(9) NOT NULL Time Zone

    Prompt Table: PSTIMEZONE

    15 LM_BAS_LC_TYPE Character(3) VARCHAR2(3) NOT NULL Base Learning Component Type
    10=Web-based
    20=Sessions
    30=Webcast
    40=Assignment
    50=Test
    60=Survey
    16 LM_SES_ID Number(10,0) DECIMAL(10) NOT NULL Session ID
    17 LM_DM_LONG_NM Character(200) VARCHAR2(200) NOT NULL Long Name - the long name of a Delivery Method Type