LM_ENR_SELF_VW

(SQL View)
Index Back

Learning Component View

Basic Learning Component View

SELECT DISTINCT G.LM_ENRLMT_ID ,G.LM_PERSON_ID ,A.LM_CI_ID ,A.LM_ACT_ID ,B.LM_LC_ID ,A.LM_ACT_CD ,A.LM_DURN_DAYS ,A.LM_DURN_HRS ,A.LM_DURN_MINS ,A.LM_LST_ENRL_DT , A.LM_START_DT ,A.LM_LST_ENRL_START ,A.LM_LST_ENRL_DAYS ,A.LM_LST_ENRL_TYPE ,G.LM_STTS ,G.LM_REQUESTOR_ID ,G.LM_ACT_REQ , A.LM_DM_LONG_NM ,G.LM_MAND_ENRL_FLG FROM PS_LM_ACT_CI_VW A , PS_LM_LC_VW B , PS_LM_ENRLMT G WHERE A.LM_ACT_STATUS='1' AND A.LM_ACT_ID=B.LM_ACT_ID AND (A.LM_END_DT>=%CurrentDateIn OR A.LM_END_DT IS NULL) AND G.LM_ACT_ID=A.LM_ACT_ID AND G.LM_CI_ID=A.LM_CI_ID AND G.LM_STTS IN ('ENRL','INPO','PEAP','PEPA','PPYA','WTLT', 'COMP','INCO') AND NOT EXISTS( SELECT 'X' FROM PS_LM_LC_VW E WHERE E.LM_ACT_ID=B.LM_ACT_ID AND E.LM_BAS_LC_TYPE IN('20','30')) AND B.LM_LC_ID=( SELECT MAX(F.LM_LC_ID) FROM PS_LM_LC_VW F WHERE A.LM_ACT_ID=F.LM_ACT_ID)

  • Related Language Record: LM_ENR_SELF_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 LM_ENRLMT_ID Number(10,0) DECIMAL(10) NOT NULL Enrollment ID
    2 LM_PERSON_ID Number(15,0) DECIMAL(15) NOT NULL ELM Person ID
    3 LM_CI_ID Number(10,0) DECIMAL(10) NOT NULL Catalog Item ID - System Generated ID Number associated with each Catalog Item
    4 LM_ACT_ID Number(10,0) DECIMAL(10) NOT NULL Activity ID
    5 LM_LC_ID Number(10,0) DECIMAL(10) NOT NULL Learning Component ID - Blended Learning
    6 LM_ACT_CD Character(30) VARCHAR2(30) NOT NULL Activity Code
    7 LM_DURN_DAYS Number(4,0) SMALLINT NOT NULL Length of Activity in Days
    8 LM_DURN_HRS Number(3,0) SMALLINT NOT NULL Duration - Hours
    9 LM_DURN_MINS Number(3,0) SMALLINT NOT NULL Duration - Minutes
    10 LM_LST_ENRL_DT Date(10) DATE Last Enroll Date
    11 LM_START_DT Date(10) DATE Start Date
    12 LM_LST_ENRL_START Character(1) VARCHAR2(1) NOT NULL Last Enrollment Date = Activity Start Date
    13 LM_LST_ENRL_DAYS Number(3,0) SMALLINT NOT NULL Last Enroll Days
    14 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
    15 LM_STTS Character(4) VARCHAR2(4) NOT NULL Enrollment Status
    CANC=Dropped
    COMP=Completed
    DECL=Denied
    ENRL=Enrolled
    INCO=Not Completed
    INPO=In-Progress
    MACT=Moved to New Activity
    NOTS=Not Started
    PEAP=Pending Approval
    PEPA=Pending Payment
    PLAN=Planned
    PPYA=Payment Approval
    RQST=Learning Request
    WAIV=Waived
    WTLT=Waitlisted
    16 LM_REQUESTOR_ID Number(15,0) DECIMAL(15) NOT NULL Requestor
    17 LM_ACT_REQ Character(1) VARCHAR2(1) NOT NULL Activity Required
    N=No
    Y=Yes
    18 LM_DM_LONG_NM Character(200) VARCHAR2(200) NOT NULL Long Name - the long name of a Delivery Method Type
    19 LM_MAND_ENRL_FLG Character(1) VARCHAR2(1) NOT NULL Mandatory Learning Flag